summaryrefslogtreecommitdiffstats
path: root/kud
diff options
context:
space:
mode:
authorLe Yao <le.yao@intel.com>2020-11-12 09:24:24 +0000
committerLe Yao <le.yao@intel.com>2020-11-23 01:22:24 +0000
commit1057576ef3bb011b1a6811722f097c93a7f783fb (patch)
tree9b1d3010efc59b392f197d4c5f7f32b3a24be764 /kud
parent0c352ef0d74d4b51a0fce5123b34a6753e8ab6a4 (diff)
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 <le.yao@intel.com> Change-Id: Ic55744914266278f1c344c10af587d41f4426918
Diffstat (limited to 'kud')
-rw-r--r--kud/deployment_infra/helm/sdewan_controllers/Chart.yaml4
-rw-r--r--kud/deployment_infra/helm/sdewan_controllers/templates/deployment.yaml4
-rw-r--r--kud/deployment_infra/helm/sdewan_controllers/values.yaml2
3 files changed, 5 insertions, 5 deletions
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: