Skip to content

Commit

Permalink
Fix TriggerAuthentication - webhook configuration added
Browse files Browse the repository at this point in the history
Signed-off-by: radekfojtik <[email protected]>
  • Loading branch information
radekfojtik committed Oct 25, 2023
1 parent f384d4f commit a6aff7b
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions keda/templates/webhooks/validatingconfiguration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,52 @@ webhooks:
- scaledobjects
sideEffects: None
timeoutSeconds: 10
- admissionReviewVersions:
- v1
clientConfig:
service:
name: {{ .Values.webhooks.name }}
namespace: {{ .Release.Namespace }}
path: /validate-keda-sh-v1alpha1-triggerauthentication
failurePolicy: {{ .Values.webhooks.failurePolicy }}
matchPolicy: Equivalent
name: vstriggerauthentication.kb.io
namespaceSelector: {}
objectSelector: {}
rules:
- apiGroups:
- keda.sh
apiVersions:
- v1alpha1
operations:
- CREATE
- UPDATE
resources:
- triggerauthentications
sideEffects: None
timeoutSeconds: 10
- admissionReviewVersions:
- v1
clientConfig:
service:
name: {{ .Values.webhooks.name }}
namespace: {{ .Release.Namespace }}
path: /validate-keda-sh-v1alpha1-clustertriggerauthentication
failurePolicy: {{ .Values.webhooks.failurePolicy }}
matchPolicy: Equivalent
name: vsclustertriggerauthentication.kb.io
namespaceSelector: {}
objectSelector: {}
rules:
- apiGroups:
- keda.sh
apiVersions:
- v1alpha1
operations:
- CREATE
- UPDATE
resources:
- clustertriggerauthentications
sideEffects: None
timeoutSeconds: 10
{{- end }}

0 comments on commit a6aff7b

Please sign in to comment.