add objectSelector for VWH so that it only looks at OSM labelled configmaps and overlooks other configmaps in the osm-system namespace
@@ -18,6 +18,11 @@ webhooks:
namespaceSelector:
matchLabels:
name: {{ include "osm.namespace" . }}
+ objectSelector:
+ matchLabels:
+ app.kubernetes.io/name: openservicemesh.io
+ app.kubernetes.io/instance: {{ .Values.OpenServiceMesh.meshName }}
+ app.kubernetes.io/version: {{ .Chart.AppVersion }}
rules:
- apiGroups:
- ""
