Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores committed Oct 31, 2024
1 parent 4c5bd8e commit 01e3ac7
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion charts/cryostat/tests/cryostat_deployment_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,19 @@ tests:
asserts:
- equal:
path: spec.template.spec.containers[?(@.name=='cryostat')].env[?(@.name=='QUARKUS_REST_CLIENT_REPORTS_URL')].value
value: http://RELEASE-NAME-cryostat-reports:10001
value: http://cryostat:$(REPORTS_PASS_SECRET_KEY)@RELEASE-NAME-cryostat-reports.NAMESPACE.svc:10001

- it: should set environment variable if sidecar report generator is enabled in OpenShift with HTTPS
set:
reports:
replicas: 1
authentication:
openshift:
enabled: true
asserts:
- equal:
path: spec.template.spec.containers[?(@.name=='cryostat')].env[?(@.name=='QUARKUS_REST_CLIENT_REPORTS_URL')].value
value: https://cryostat:$(REPORTS_PASS_SECRET_KEY)@RELEASE-NAME-cryostat-reports.NAMESPACE.svc:10001

- it: should set oauth2proxy resource overrides
set:
Expand Down

0 comments on commit 01e3ac7

Please sign in to comment.