prole/infrastructure/deployments/svc-check-helm/templates/kong-configmap.yaml

26 lines
705 B
YAML

apiVersion: v1
kind: ConfigMap
metadata:
name: {{ .Values.kong.configMapName }}
namespace: {{ .Values.kong.namespace }}
data:
kong.yml: |
_format_version: "3.0"
_transform: true
services:
- name: kubeconfig
url: http://prole-svc.knoe-db.svc.cluster.local:8080
routes:
- name: kubeconfig
paths:
- /k3s/kube_config.sh
- name: svc-check
url: http://svc-check-web.{{ .Values.namespace | default .Release.Namespace }}.svc.cluster.local:80
routes:
- name: svc-check-root
hosts:
- {{ .Values.svcCheck.domain }}
paths:
- /
strip_path: false