Update the Helm Chart for Virtual-Kubelet

Add the aciOsType into the chart values
This commit is contained in:
Robbie Zhang
2017-12-05 09:54:57 -08:00
committed by Erik St. Martin
parent 88a0d4844f
commit 3a0b627892
5 changed files with 4 additions and 3 deletions

Binary file not shown.

Binary file not shown.

View File

@@ -16,6 +16,6 @@ This deployment will be incomplete until all the required fields in the values.y
To update, run:
helm upgrade {{ .Release.Name }} \
--set env.azureClientId=<YOUR-AZURECLIENTID-HERE>,env.azureClientKey=<YOUR-AZURECLIENTKEY-HERE>,env.azureTenantId=<YOUR-AZURETENANTID-HERE>,env.azureSubscriptionId=<YOUR-AZURESUBSCRIPTIONID-HERE>,env.aciResourceGroup=<YOUR-ACIRESOURCEGROUP-HERE>
--set env.azureClientId=<YOUR-AZURECLIENTID-HERE>,env.azureClientKey=<YOUR-AZURECLIENTKEY-HERE>,env.azureTenantId=<YOUR-AZURETENANTID-HERE>,env.azureSubscriptionId=<YOUR-AZURESUBSCRIPTIONID-HERE>,env.aciResourceGroup=<YOUR-ACIRESOURCEGROUP-HERE>,ev.aciOsType=<Linux|Windows>
{{- end }}

View File

@@ -24,8 +24,8 @@ spec:
- name: credentials
mountPath: "/etc/virtual-kubelet"
readOnly: true
command: ["virtual-kubelet/"]
args: ["--provider", "azure"]
command: ["virtual-kubelet"]
args: ["--provider", "azure", "--os", {{ default "Linux" .Values.env.aciOsType | quote }}]
volumes:
- name: credentials
secret:

View File

@@ -9,3 +9,4 @@ env:
azureSubscriptionId:
aciResourceGroup:
aciRegion:
aciOsType: