Skip to content

Commit

Permalink
Merge pull request #366 from aramase/update-prestop-hook
Browse files Browse the repository at this point in the history
chore: remove lifecycle prestop command
  • Loading branch information
k8s-ci-robot authored Oct 30, 2020
2 parents a7458eb + cf7b617 commit 69c2fd5
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 36 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,6 @@ spec:
- --v=5
- "--csi-address=unix://C:\\csi\\csi.sock"
- --kubelet-registration-path={{ .Values.windows.kubeletRootDir }}\plugins\csi-secrets-store\csi.sock
lifecycle:
preStop:
exec:
command:
[
"cmd",
"/c",
"del /f C:\\registration\\secrets-store.csi.k8s.io-reg.sock",
]
env:
- name: KUBE_NODE_NAME
valueFrom:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,6 @@ spec:
- --v=5
- --csi-address=/csi/csi.sock
- --kubelet-registration-path={{ .Values.linux.kubeletRootDir }}/plugins/csi-secrets-store/csi.sock
lifecycle:
preStop:
exec:
command:
[
"/bin/sh",
"-c",
"rm -rf /registration/secrets-store.csi.k8s.io-reg.sock",
]
env:
- name: KUBE_NODE_NAME
valueFrom:
Expand Down
9 changes: 0 additions & 9 deletions manifest_staging/deploy/secrets-store-csi-driver-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,6 @@ spec:
- --v=5
- "--csi-address=unix://C:\\csi\\csi.sock"
- "--kubelet-registration-path=C:\\var\\lib\\kubelet\\plugins\\csi-secrets-store\\csi.sock"
lifecycle:
preStop:
exec:
command:
[
"cmd",
"/c",
"del /f C:\\registration\\secrets-store.csi.k8s.io-reg.sock",
]
env:
- name: KUBE_NODE_NAME
valueFrom:
Expand Down
9 changes: 0 additions & 9 deletions manifest_staging/deploy/secrets-store-csi-driver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,6 @@ spec:
- --v=5
- --csi-address=/csi/csi.sock
- --kubelet-registration-path=/var/lib/kubelet/plugins/csi-secrets-store/csi.sock
lifecycle:
preStop:
exec:
command:
[
"/bin/sh",
"-c",
"rm -rf /registration/secrets-store.csi.k8s.io-reg.sock",
]
env:
- name: KUBE_NODE_NAME
valueFrom:
Expand Down

0 comments on commit 69c2fd5

Please sign in to comment.