Skip to content

Commit

Permalink
fix(helm): remove matchExpressions selector from ingresses webhook
Browse files Browse the repository at this point in the history
  • Loading branch information
Maksim Fedotov authored and prometherion committed Sep 29, 2021
1 parent 7db263b commit 0f7284d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion charts/capsule/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ sources:

# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 0.1.1
version: 0.1.2

# This is the version number of the application being deployed.
# This version number should be incremented each time you make changes to the application.
Expand Down
7 changes: 2 additions & 5 deletions charts/capsule/templates/validatingwebhookconfiguration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ webhooks:
matchPolicy: Equivalent
name: cordoning.tenant.capsule.clastix.io
namespaceSelector:
{{- toYaml .Values.webhooks.cordoning.namespaceSelector | nindent 4}}
{{- toYaml .Values.webhooks.cordoning.namespaceSelector | nindent 4}}
objectSelector: {}
rules:
- apiGroups:
Expand Down Expand Up @@ -53,10 +53,7 @@ webhooks:
matchPolicy: Equivalent
name: ingress.capsule.clastix.io
namespaceSelector:
{{- toYaml .Values.webhooks.ingresses.namespaceSelector | nindent 4}}
matchExpressions:
- key: capsule.clastix.io/tenant
operator: Exists
{{- toYaml .Values.webhooks.ingresses.namespaceSelector | nindent 4}}
objectSelector: {}
rules:
- apiGroups:
Expand Down

0 comments on commit 0f7284d

Please sign in to comment.