diff --git a/charts/vngcloud-ingress-controller/Chart.yaml b/charts/vngcloud-ingress-controller/Chart.yaml index e62fe0a..2572b46 100644 --- a/charts/vngcloud-ingress-controller/Chart.yaml +++ b/charts/vngcloud-ingress-controller/Chart.yaml @@ -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 diff --git a/charts/vngcloud-ingress-controller/templates/secret.yaml b/charts/vngcloud-ingress-controller/templates/secret.yaml index 842310a..bb0e48a 100644 --- a/charts/vngcloud-ingress-controller/templates/secret.yaml +++ b/charts/vngcloud-ingress-controller/templates/secret.yaml @@ -10,4 +10,7 @@ stringData: {{- end }} metadata: chartVersion: {{ .Chart.Version }} - clusterName: {{ .Values.cluster.clusterName }} + cluster: + {{- with .Values.cluster }} + {{- toYaml . | nindent 6 }} + {{- end }} diff --git a/charts/vngcloud-ingress-controller/values.yaml b/charts/vngcloud-ingress-controller/values.yaml index e32ca4f..1f8e1fc 100644 --- a/charts/vngcloud-ingress-controller/values.yaml +++ b/charts/vngcloud-ingress-controller/values.yaml @@ -42,4 +42,5 @@ cloudConfig: clientSecret: "" cluster: - clusterName: "clusterA" + clusterName: "cluster-1" + clusterID: ""