diff --git a/charts/templates/DaemonSet.yaml b/charts/templates/DaemonSet.yaml index 182c929..b405d44 100644 --- a/charts/templates/DaemonSet.yaml +++ b/charts/templates/DaemonSet.yaml @@ -66,7 +66,7 @@ spec: fieldRef: fieldPath: status.podIP - name: KUBE_NETWORK - value: Calico + value: {{ .Values.cni.kubeNetwork }} volumeMounts: - mountPath: /kubeconfig.conf name: kube-proxy diff --git a/charts/values.yaml b/charts/values.yaml index 808a849..38278ee 100644 --- a/charts/values.yaml +++ b/charts/values.yaml @@ -11,14 +11,16 @@ image: namespace: kube-system serviceAccount: kube-proxy -securityContext: +securityContext: runAsUserName: NT AUTHORITY\\system loglevel: 4 cni: WinOverlay: true - + # Adjust this value to match Network name created by CNI provider + kubeNetwork: "Calico" + sourcevipImage: repository: gcr.io/k8s-staging-win-svc-proxy/kube-proxy:sourcevip-latest pullPolicy: Always