helm: remove non-existent field in operator

This commit is contained in:
Leonard Cohnen 2022-11-26 21:13:35 +01:00 committed by 3u13r
parent 18fe34c58b
commit 865cd53856
5 changed files with 66 additions and 76 deletions

View File

@ -110,12 +110,10 @@ spec:
- hostPath: - hostPath:
path: /usr/lib/os-release path: /usr/lib/os-release
type: File type: File
optional: true
name: usr-lib-os-release name: usr-lib-os-release
- hostPath: - hostPath:
path: /etc/os-release path: /etc/os-release
type: File type: File
optional: true
name: etc-os-release name: etc-os-release
- name: azureconfig - name: azureconfig
secret: secret:

View File

@ -128,12 +128,10 @@ spec:
- hostPath: - hostPath:
path: /usr/lib/os-release path: /usr/lib/os-release
type: File type: File
optional: true
name: usr-lib-os-release name: usr-lib-os-release
- hostPath: - hostPath:
path: /etc/os-release path: /etc/os-release
type: File type: File
optional: true
name: etc-os-release name: etc-os-release
- name: azureconfig - name: azureconfig
secret: secret:

View File

@ -128,12 +128,10 @@ spec:
- hostPath: - hostPath:
path: /usr/lib/os-release path: /usr/lib/os-release
type: File type: File
optional: true
name: usr-lib-os-release name: usr-lib-os-release
- hostPath: - hostPath:
path: /etc/os-release path: /etc/os-release
type: File type: File
optional: true
name: etc-os-release name: etc-os-release
- name: azureconfig - name: azureconfig
secret: secret:

View File

@ -128,12 +128,10 @@ spec:
- hostPath: - hostPath:
path: /usr/lib/os-release path: /usr/lib/os-release
type: File type: File
optional: true
name: usr-lib-os-release name: usr-lib-os-release
- hostPath: - hostPath:
path: /etc/os-release path: /etc/os-release
type: File type: File
optional: true
name: etc-os-release name: etc-os-release
- name: azureconfig - name: azureconfig
secret: secret:

View File

@ -27,77 +27,75 @@ spec:
securityContext: securityContext:
runAsUser: 0 # required to read etcd certs and keys from /etc/kubernetes/pki runAsUser: 0 # required to read etcd certs and keys from /etc/kubernetes/pki
containers: containers:
- command: - command:
- /manager - /manager
args: args:
- --leader-elect - --leader-elect
image: controller:latest image: controller:latest
name: manager name: manager
securityContext: securityContext:
allowPrivilegeEscalation: false allowPrivilegeEscalation: false
livenessProbe: livenessProbe:
httpGet: httpGet:
path: /healthz path: /healthz
port: 8081 port: 8081
initialDelaySeconds: 15 initialDelaySeconds: 15
periodSeconds: 20 periodSeconds: 20
readinessProbe: readinessProbe:
httpGet: httpGet:
path: /readyz path: /readyz
port: 8081 port: 8081
initialDelaySeconds: 5 initialDelaySeconds: 5
periodSeconds: 10 periodSeconds: 10
volumeMounts: volumeMounts:
- mountPath: /etc/kubernetes/pki/etcd - mountPath: /etc/kubernetes/pki/etcd
name: etcd-certs name: etcd-certs
- mountPath: /host/usr/lib/os-release - mountPath: /host/usr/lib/os-release
name: usr-lib-os-release name: usr-lib-os-release
- mountPath: /etc/os-release - mountPath: /etc/os-release
name: etc-os-release name: etc-os-release
- mountPath: /etc/azure - mountPath: /etc/azure
name: azureconfig name: azureconfig
readOnly: true readOnly: true
- mountPath: /etc/gce - mountPath: /etc/gce
name: gceconf name: gceconf
readOnly: true readOnly: true
resources: resources:
limits: limits:
cpu: 500m cpu: 500m
memory: 128Mi memory: 128Mi
requests: requests:
cpu: 10m cpu: 10m
memory: 64Mi memory: 64Mi
volumes: volumes:
- name: etcd-certs - name: etcd-certs
hostPath: hostPath:
path: /etc/kubernetes/pki/etcd path: /etc/kubernetes/pki/etcd
type: Directory type: Directory
- hostPath: - hostPath:
path: /usr/lib/os-release path: /usr/lib/os-release
type: File type: File
optional: true name: usr-lib-os-release
name: usr-lib-os-release - hostPath:
- hostPath: path: /etc/os-release
path: /etc/os-release type: File
type: File name: etc-os-release
optional: true - name: azureconfig
name: etc-os-release secret:
- name: azureconfig secretName: azureconfig
secret: optional: true
secretName: azureconfig - name: gceconf
optional: true configMap:
- name: gceconf name: gceconf
configMap: optional: true
name: gceconf
optional: true
nodeSelector: nodeSelector:
node-role.kubernetes.io/control-plane: "" node-role.kubernetes.io/control-plane: ""
tolerations: tolerations:
- effect: NoSchedule - effect: NoSchedule
key: node-role.kubernetes.io/control-plane key: node-role.kubernetes.io/control-plane
operator: Exists operator: Exists
- effect: NoSchedule - effect: NoSchedule
key: node-role.kubernetes.io/master key: node-role.kubernetes.io/master
operator: Exists operator: Exists
serviceAccountName: controller-manager serviceAccountName: controller-manager
terminationGracePeriodSeconds: 10 terminationGracePeriodSeconds: 10