Skip to content

Commit

Permalink
Pass the kube config
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasHerve committed Mar 28, 2024
1 parent ddfc324 commit ea93dba
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions helm/templates/cm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ data:
apiVersion: v1
clusters:
- cluster:
certificate-authority-data: {{ .Values.secret.certificateauthoritydata }}
server: https://{{ .Values.secret.kubeaddress }}:6443
certificate-authority-data: {{ .Values.secrets.certificateauthoritydata }}
server: https://{{ .Values.secrets.kubeaddress }}:6443
name: kubernetes
contexts:
- context:
Expand All @@ -23,6 +23,6 @@ data:
users:
- name: kubernetes-admin
user:
client-certificate-data: {{ .Values.secret.clientcertificatedata }}
client-key-data: {{ .Values.secret.clientkeydata }}
client-certificate-data: {{ .Values.secrets.clientcertificatedata }}
client-key-data: {{ .Values.secrets.clientkeydata }}

0 comments on commit ea93dba

Please sign in to comment.