Skip to content

Commit

Permalink
fix: remove node driver registrar lifecycle hook (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
vadasambar authored Feb 3, 2024
1 parent 9498bb6 commit 98d1b98
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions charts/warm-metal-csi-driver/templates/nodeplugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,6 @@ spec:
fieldPath: spec.nodeName
image: "{{ .Values.csiNodeDriverRegistrar.image.repository }}:{{ .Values.csiNodeDriverRegistrar.image.tag }}"
imagePullPolicy: {{ .Values.csiNodeDriverRegistrar.image.pullPolicy }}
lifecycle:
preStop:
exec:
command:
- /bin/sh
- -c
- rm -rf /registration/csi-image.warm-metal.tech /registration/csi-image.warm-metal.tech-reg.sock
{{- with .Values.csiNodeDriverRegistrar.resources }}
resources:
{{- toYaml . | nindent 12 }}
Expand Down

0 comments on commit 98d1b98

Please sign in to comment.