From db1f3a4465f945bdea59d5773f3b07a61ef153ae Mon Sep 17 00:00:00 2001 From: andrew Date: Thu, 28 Mar 2024 17:38:24 +0700 Subject: [PATCH] =?UTF-8?q?=E2=9A=A1=20update:=20vks=20version?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- charts/vngcloud-ingress-controller/Chart.yaml | 2 +- charts/vngcloud-ingress-controller/README.md | 2 +- charts/vngcloud-ingress-controller/templates/secret.yaml | 1 + charts/vngcloud-ingress-controller/values.yaml | 6 ++++-- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/charts/vngcloud-ingress-controller/Chart.yaml b/charts/vngcloud-ingress-controller/Chart.yaml index 7b78a1e..e62fe0a 100644 --- a/charts/vngcloud-ingress-controller/Chart.yaml +++ b/charts/vngcloud-ingress-controller/Chart.yaml @@ -1,5 +1,5 @@ apiVersion: v2 -version: 0.1.2 +version: 0.2.0 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/README.md b/charts/vngcloud-ingress-controller/README.md index d3771c5..75300ea 100644 --- a/charts/vngcloud-ingress-controller/README.md +++ b/charts/vngcloud-ingress-controller/README.md @@ -30,5 +30,5 @@ --namespace kube-system \ --set cloudConfig.global.clientID=__________________________ \ --set cloudConfig.global.clientSecret=__________________________ \ - --set cluster.clusterID=__________________________ + --set cluster.clusterName=__________________________ ``` diff --git a/charts/vngcloud-ingress-controller/templates/secret.yaml b/charts/vngcloud-ingress-controller/templates/secret.yaml index 2b3b49b..842310a 100644 --- a/charts/vngcloud-ingress-controller/templates/secret.yaml +++ b/charts/vngcloud-ingress-controller/templates/secret.yaml @@ -10,3 +10,4 @@ stringData: {{- end }} metadata: chartVersion: {{ .Chart.Version }} + clusterName: {{ .Values.cluster.clusterName }} diff --git a/charts/vngcloud-ingress-controller/values.yaml b/charts/vngcloud-ingress-controller/values.yaml index 596656b..e32ca4f 100644 --- a/charts/vngcloud-ingress-controller/values.yaml +++ b/charts/vngcloud-ingress-controller/values.yaml @@ -10,7 +10,7 @@ imagePullSecrets: [] # Image repository name and tag image: repository: vcr.vngcloud.vn/81-vks-public/vngcloud-ingress-controller - tag: "v0.1.0" + tag: "v0.2.0" pullPolicy: Always # Set nodeSelector where the controller should run, i.e. controlplane nodes @@ -35,9 +35,11 @@ replicaCount: 1 # # These will be used to create loadbalancer, listener, pool, monitor and member resources cloudConfig: - clusterID: "" global: identityURL: https://iamapis.vngcloud.vn/accounts-api/v2 vserverURL: https://hcm-3.api.vngcloud.vn/vserver/vlb-gateway/v2 clientID: "" clientSecret: "" + +cluster: + clusterName: "clusterA"