Skip to content

Commit

Permalink
don't use hardcoded service names
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores committed Sep 18, 2024
1 parent fdbc6b9 commit 8cb9660
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions charts/cryostat/templates/cryostat_deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,11 @@ spec:
key: CONNECTION_KEY
optional: false
- name: QUARKUS_DATASOURCE_JDBC_URL
value: jdbc:postgresql://cryostat-db:5432/cryostat
value: jdbc:postgresql://{{ $fullName }}-db:5432/cryostat
- name: STORAGE_BUCKETS_ARCHIVES_NAME
value: archivedrecordings
- name: QUARKUS_S3_ENDPOINT_OVERRIDE
value: http://cryostat-storage:8333
value: http://{{ $fullName }}-storage:8333
- name: QUARKUS_S3_PATH_STYLE_ACCESS
value: "true"
- name: QUARKUS_S3_AWS_REGION
Expand Down
4 changes: 2 additions & 2 deletions charts/cryostat/tests/cryostat_deployment_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,13 @@ tests:
optional: false
- equal:
path: spec.template.spec.containers[?(@.name=='cryostat')].env[?(@.name=='QUARKUS_DATASOURCE_JDBC_URL')].value
value: "jdbc:postgresql://cryostat-db:5432/cryostat"
value: "jdbc:postgresql://RELEASE-NAME-cryostat-db:5432/cryostat"
- equal:
path: spec.template.spec.containers[?(@.name=='cryostat')].env[?(@.name=='STORAGE_BUCKETS_ARCHIVES_NAME')].value
value: "archivedrecordings"
- equal:
path: spec.template.spec.containers[?(@.name=='cryostat')].env[?(@.name=='QUARKUS_S3_ENDPOINT_OVERRIDE')].value
value: "http://cryostat-storage:8333"
value: "http://RELEASE-NAME-cryostat-storage:8333"
- equal:
path: spec.template.spec.containers[?(@.name=='cryostat')].env[?(@.name=='QUARKUS_S3_PATH_STYLE_ACCESS')].value
value: "true"
Expand Down

0 comments on commit 8cb9660

Please sign in to comment.