Skip to content

Commit

Permalink
build(helm): providing webhook for Pod Priority Class
Browse files Browse the repository at this point in the history
  • Loading branch information
prometherion committed May 28, 2021
1 parent 5649283 commit 9ef64d0
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions charts/capsule/templates/validatingwebhookconfiguration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,32 @@ webhooks:
scope: '*'
sideEffects: NoneOnDryRun
timeoutSeconds: {{ .Values.validatingWebhooksTimeoutSeconds }}
- admissionReviewVersions:
- v1beta1
clientConfig:
caBundle: Cg==
service:
name: {{ include "capsule.fullname" . }}-webhook-service
namespace: system
path: /validating-v1-podpriority
failurePolicy: Ignore
name: podpriority.capsule.clastix.io
namespaceSelector:
matchExpressions:
- key: capsule.clastix.io/tenant
operator: Exists
objectSelector: {}
rules:
- apiGroups:
- ""
apiVersions:
- v1
operations:
- CREATE
resources:
- pods
sideEffects: NoneOnDryRun
timeoutSeconds: {{ .Values.validatingWebhooksTimeoutSeconds }}
- admissionReviewVersions:
- v1beta1
clientConfig:
Expand Down

0 comments on commit 9ef64d0

Please sign in to comment.