Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions charts/cryostat/templates/cryostat_deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,8 @@ spec:
value: localhost
- name: QUARKUS_HTTP_PORT
value: "8800"
- name: CRYOSTAT_STORAGE_BASE_URI
value: http://{{ $fullName }}-storage:{{ .Values.storage.service.port }}
{{- with (.Values.datasource.config).extra.envVars }}
{{- toYaml . | nindent 10 }}
{{- end }}
Expand Down
3 changes: 3 additions & 0 deletions charts/cryostat/tests/cryostat_deployment_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,9 @@ tests:
- equal:
path: spec.template.spec.containers[?(@.name=='cryostat-jfr-datasource')].env[?(@.name=='QUARKUS_HTTP_PORT')].value
value: "8800"
- equal:
path: spec.template.spec.containers[?(@.name=='cryostat-jfr-datasource')].env[?(@.name=='CRYOSTAT_STORAGE_BASE_URI')].value
value: http://RELEASE-NAME-cryostat-storage:8333
- equal:
path: spec.template.spec.containers[?(@.name=='cryostat-jfr-datasource')].ports[0].containerPort
value: 8800
Expand Down