From 1057576ef3bb011b1a6811722f097c93a7f783fb Mon Sep 17 00:00:00 2001 From: Le Yao Date: Thu, 12 Nov 2020 09:24:24 +0000 Subject: Fix the nodeSelector indent and define name Deploy the sdewan controller on master node Change sdewan-contoller-manager to sdewan-crd-controller Issue-ID: MULTICLOUD-1253 Signed-off-by: Le Yao Change-Id: Ic55744914266278f1c344c10af587d41f4426918 --- kud/deployment_infra/helm/sdewan_controllers/Chart.yaml | 4 ++-- .../helm/sdewan_controllers/templates/deployment.yaml | 4 ++-- kud/deployment_infra/helm/sdewan_controllers/values.yaml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'kud/deployment_infra/helm') diff --git a/kud/deployment_infra/helm/sdewan_controllers/Chart.yaml b/kud/deployment_infra/helm/sdewan_controllers/Chart.yaml index 3331b561..89f1c1f3 100644 --- a/kud/deployment_infra/helm/sdewan_controllers/Chart.yaml +++ b/kud/deployment_infra/helm/sdewan_controllers/Chart.yaml @@ -15,7 +15,7 @@ # */ apiVersion: v1 -name: controllers -description: A Helm chart for Kubernetes +name: sdewan_controllers +description: A Helm chart for Kubernetes - SDEWAN CRD controller version: 0.1.0 appVersion: "1.0" diff --git a/kud/deployment_infra/helm/sdewan_controllers/templates/deployment.yaml b/kud/deployment_infra/helm/sdewan_controllers/templates/deployment.yaml index 038b7c37..31b70e5b 100644 --- a/kud/deployment_infra/helm/sdewan_controllers/templates/deployment.yaml +++ b/kud/deployment_infra/helm/sdewan_controllers/templates/deployment.yaml @@ -49,8 +49,6 @@ spec: - /manager image: {{ .Values.spec.sdewan.image }} name: {{ .Values.spec.sdewan.name }} - nodeSelector: - node-role.kubernetes.io/master: "" ports: - containerPort: 9443 name: webhook-server @@ -66,6 +64,8 @@ spec: - mountPath: /tmp/k8s-webhook-server/serving-certs name: cert readOnly: true + nodeSelector: + node-role.kubernetes.io/master: "" terminationGracePeriodSeconds: 10 volumes: - name: cert diff --git a/kud/deployment_infra/helm/sdewan_controllers/values.yaml b/kud/deployment_infra/helm/sdewan_controllers/values.yaml index 8472735e..d6887f8b 100644 --- a/kud/deployment_infra/helm/sdewan_controllers/values.yaml +++ b/kud/deployment_infra/helm/sdewan_controllers/values.yaml @@ -5,7 +5,7 @@ namespace: "sdewan-system" spec: - name: "sdewan-controller-manager" + name: "sdewan-crd-controller" label: "controller-manager" replicas: 1 proxy: -- cgit 1.2.3-korg