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 5a6e982 commit ddfc324
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 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.certificate-authority-data }}
server: https://{{ .Values.secret.kube-address }}:6443
certificate-authority-data: {{ .Values.secret.certificateauthoritydata }}
server: https://{{ .Values.secret.kubeaddress }}:6443
name: kubernetes
contexts:
- context:
Expand All @@ -23,6 +23,6 @@ data:
users:
- name: kubernetes-admin
user:
client-certificate-data: {{ .Values.secret.client-certificate-data }}
client-key-data: {{ .Values.secret.client-key-data }}
client-certificate-data: {{ .Values.secret.clientcertificatedata }}
client-key-data: {{ .Values.secret.clientkeydata }}
8 changes: 4 additions & 4 deletions helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ tolerations: []
affinity: {}

secrets:
certificate-authority-data:
client-certificate-data:
client-key-data:
kube-address: 149.202.55.61
certificateauthoritydata:
clientcertificatedata:
clientkeydata:
kubeaddress: 149.202.55.61

0 comments on commit ddfc324

Please sign in to comment.