prole/infrastructure/deployments/svc-check-helm/templates/kong-configmap.yaml
chrisfu 765aa0b926 Checkpoint: cluster env UI layout + k3s common services
- Tighten Cluster Environment screen layout; switch Service/Prod to kubectx context selection; keep namespace and key controls on one line; ensure Repair button remains reachable.

- Add UI layout regression test to render with large mock data and assert key widgets remain visible and console is scrollable.

- Make kubeconfig generation deterministic under tests by avoiding overwriting cert-based kubeconfigs; write token sidecar kubeconfig when needed.

- Update common-services init scripts and add k3s/Helm deployment bits (svc-check, Kong/CertMgr tasks).
2026-02-27 14:35:14 -08:00

26 lines
706 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.prole-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