Skip to content

Commit

Permalink
Merge pull request openservicemesh#4243 from snehachhabria/fixCleanup…
Browse files Browse the repository at this point in the history
…Script

fix(cleanuphook): Delete mwhc and vwhc in all scenarios
  • Loading branch information
snehachhabria authored Oct 12, 2021
2 parents 11af38e + 3ce755c commit 2119c5e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions charts/osm/templates/cleanup-hook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,8 @@ spec:
- >
kubectl delete --ignore-not-found meshconfig -n '{{ include "osm.namespace" . }}' osm-mesh-config;
kubectl apply -f /osm-crds;
{{- if .Values.OpenServiceMesh.enableReconciler }}
kubectl delete mutatingwebhookconfiguration -l app.kubernetes.io/name=openservicemesh.io,app.kubernetes.io/instance={{ .Values.OpenServiceMesh.meshName }},app.kubernetes.io/version={{ .Chart.AppVersion }},app=osm-injector --ignore-not-found;
kubectl delete validatingwebhookconfiguration -l app.kubernetes.io/name=openservicemesh.io,app.kubernetes.io/instance={{ .Values.OpenServiceMesh.meshName }},app.kubernetes.io/version={{ .Chart.AppVersion }},app=osm-controller --ignore-not-found;
{{- end }}
nodeSelector:
kubernetes.io/arch: amd64
kubernetes.io/os: linux
Expand Down

0 comments on commit 2119c5e

Please sign in to comment.