Skip to content

Commit

Permalink
🌱 add clusterName and clusterID together
Browse files Browse the repository at this point in the history
  • Loading branch information
anngdinh committed Apr 4, 2024
1 parent db1f3a4 commit bffa3c3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/vngcloud-ingress-controller/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v2
version: 0.2.0
version: 0.2.1
icon: https://avatars.githubusercontent.com/u/56472256?s=280&v=4
name: vngcloud-ingress-controller
description: VngCloud Ingress Controller plugin for Kubernetes
Expand Down
5 changes: 4 additions & 1 deletion charts/vngcloud-ingress-controller/templates/secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,7 @@ stringData:
{{- end }}
metadata:
chartVersion: {{ .Chart.Version }}
clusterName: {{ .Values.cluster.clusterName }}
cluster:
{{- with .Values.cluster }}
{{- toYaml . | nindent 6 }}
{{- end }}
3 changes: 2 additions & 1 deletion charts/vngcloud-ingress-controller/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,5 @@ cloudConfig:
clientSecret: "<PUT_YOUR_CLIENT_SECRET>"

cluster:
clusterName: "clusterA"
clusterName: "cluster-1"
clusterID: ""

0 comments on commit bffa3c3

Please sign in to comment.