[node operator] Read azure config from k8s secret

Signed-off-by: Malte Poll <mp@edgeless.systems>
This commit is contained in:
Malte Poll 2022-07-22 16:28:09 +02:00 committed by Malte Poll
parent 3495ec1c07
commit 50ed6777c8
8 changed files with 134 additions and 5 deletions

View file

@ -50,6 +50,9 @@ spec:
volumeMounts:
- mountPath: /etc/kubernetes/pki/etcd
name: etcd-certs
- mountPath: /etc/azure
name: azureconfig
readOnly: true
# TODO(user): Configure the resources accordingly based on the project requirements.
# More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
resources:
@ -64,6 +67,10 @@ spec:
hostPath:
path: /etc/kubernetes/pki/etcd
type: Directory
- name: azureconfig
secret:
secretName: azureconfig
optional: true
nodeSelector:
node-role.kubernetes.io/control-plane: ""
tolerations: