19 lines
587 B
YAML
19 lines
587 B
YAML
{{- /*
|
|
Federation registry (multi mode only). Mounted at /etc/k8s-rca-mcp and read
|
|
by the hub at startup. The hub stores no kubeconfigs — only endpoints and the
|
|
names of the env vars holding each backend's bearer token.
|
|
*/ -}}
|
|
{{- if eq .Values.mcp.mode "multi" -}}
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: {{ include "kubectl-mcp-server.name" . }}-registry
|
|
namespace: {{ .Release.Namespace }}
|
|
labels:
|
|
{{- include "kubectl-mcp-server.labels" . | nindent 4 }}
|
|
data:
|
|
clusters.yaml: |
|
|
clusters:
|
|
{{- toYaml .Values.federation.clusters | nindent 6 }}
|
|
{{- end }}
|