mirror of
https://github.com/dredx/prole.git
synced 2026-09-23 10:13:58 +00:00
26 lines
705 B
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
|