Skip to content

Commit

Permalink
fixup: helm tests
Browse files Browse the repository at this point in the history
  • Loading branch information
andriisoldatenko committed Jul 15, 2024
1 parent 38d79f1 commit 33c56f2
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ webhooks:
clientConfig:
service:
name: dynatrace-webhook
namespace: {{ .Release.Namespace } }
namespace: {{ .Release.Namespace }}
path: /validate-dynatrace-com-v1beta3-dynakube
rules:
- operations:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,28 @@ tests:
- equal:
path: webhooks
value:
- admissionReviewVersions:
- v1
- v1beta1
- v1alpha1
clientConfig:
service:
name: dynatrace-webhook
namespace: NAMESPACE
path: /validate-dynatrace-com-v1beta2-dynakube
rules:
- operations:
- CREATE
- UPDATE
apiGroups:
- dynatrace.com
apiVersions:
- v1beta2
resources:
- dynakubes
name: webhook.dynatrace.com
timeoutSeconds: 10
sideEffects: None
- admissionReviewVersions:
- v1
- v1beta1
Expand Down

0 comments on commit 33c56f2

Please sign in to comment.