Skip to content

Commit

Permalink
Fix config YAML
Browse files Browse the repository at this point in the history
  • Loading branch information
davidvonthenen committed Jul 21, 2020
1 parent 66a0e1d commit 4372a8f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,14 @@ metadata:
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: vsphere-cloud-controller-manager
namespace: kube-system
annotations:
scheduler.alpha.kubernetes.io/critical-pod: ""
labels:
component: cloud-controller-manager
tier: control-plane
k8s-app: vsphere-cloud-controller-manager
name: vsphere-cloud-controller-manager
namespace: kube-system
spec:
selector:
matchLabels:
Expand All @@ -26,7 +30,7 @@ spec:
nodeSelector:
node-role.kubernetes.io/master: ""
securityContext:
runAsUser: 0
runAsUser: 1001
tolerations:
- key: node.cloudprovider.kubernetes.io/uninitialized
value: "true"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ metadata:
labels:
component: cloud-controller-manager
tier: control-plane
k8s-app: vsphere-cloud-controller-manager
name: vsphere-cloud-controller-manager
namespace: kube-system
spec:
Expand All @@ -25,7 +26,7 @@ spec:
- --cloud-provider=vsphere
volumeMounts:
- mountPath: /etc/cloud
name: cloud-config-volume
name: vsphere-config-volume
readOnly: true
resources:
requests:
Expand All @@ -42,7 +43,7 @@ spec:
runAsUser: 1001
serviceAccountName: cloud-controller-manager
volumes:
- name: cloud-config-volume
- name: vsphere-config-volume
configMap:
name: cloud-config
---
Expand Down

0 comments on commit 4372a8f

Please sign in to comment.