Update the Helm Chart to Mount Directory from Host (#126)

* Update the Helm Chart to Mount Directory from Host

This is a workaround for the mounting file regression k8s 1.8.x

* Change to mount file
This commit is contained in:
Robbie Zhang
2018-04-12 10:22:45 -07:00
committed by GitHub
parent e1b9475511
commit f6bdcad085
2 changed files with 3 additions and 2 deletions

View File

@@ -17,7 +17,7 @@ spec:
- name: KUBELET_PORT
value: "10250"
- name: ACS_CREDENTIAL_LOCATION
value: /etc/virtual-kubelet/acs.json
value: /etc/acs/azure.json
- name: AZURE_TENANT_ID
value: {{ .Values.env.azureTenantId }}
- name: AZURE_SUBSCRIPTION_ID
@@ -45,7 +45,7 @@ spec:
- name: credentials
mountPath: "/etc/virtual-kubelet"
- name: acs-credential
mountPath: "/etc/virtual-kubelet/acs.json"
mountPath: "/etc/acs/azure.json"
command: ["virtual-kubelet"]
args: ["--provider", "azure", "--namespace", "default", "--nodename", {{ default "virtual-kubelet" .Values.env.nodeName | quote }} , "--os", {{ default "Linux" .Values.env.nodeOsType | quote }}, "--taint", {{ default "azure.com/aci" .Values.env.nodeTaint | quote }}]
volumes:
@@ -55,3 +55,4 @@ spec:
- name: acs-credential
hostPath:
path: /etc/kubernetes/azure.json
type: File