Skip to content

Commit

Permalink
Add fix for "hetznercloud/csi-driver" #232
Browse files Browse the repository at this point in the history
  • Loading branch information
NotTheEvilOne committed Oct 5, 2021
1 parent 3707136 commit 2ddbbd2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,8 @@ spec:
allowPrivilegeEscalation: true
- name: liveness-probe
image: {{ index .Values.images "liveness-probe" }}
args:
- --csi-address=/run/csi/socket
{{- if .Values.resources.liveness }}
resources:
{{ toYaml .Values.resources.liveness | indent 12 }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,6 @@ spec:
operator: Exists
- key: CriticalAddonsOnly
operator: Exists
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: "instance.hetzner.cloud/is-root-server"
operator: NotIn
values:
- "true"
containers:
- name: csi-node-driver-registrar
image: {{ index .Values.images "csi-node-driver-registrar" }}
Expand Down Expand Up @@ -103,6 +94,8 @@ spec:
periodSeconds: 2
- name: liveness-probe
image: {{ index .Values.images "liveness-probe" }}
args:
- --csi-address=/run/csi/socket
volumeMounts:
- mountPath: /run/csi
name: plugin-dir
Expand Down

0 comments on commit 2ddbbd2

Please sign in to comment.