Skip to content
Snippets Groups Projects
Commit 7c412904 authored by OZGCloud's avatar OZGCloud
Browse files

add profile as env

parent e3b45a99
No related branches found
No related tags found
No related merge requests found
......@@ -85,6 +85,8 @@ spec:
value: {{ include "app.baseUrl" . }}
- name: KOP_KEYCLOAK_SYNC_CRON
value: {{ .Values.kop.keycloak.sync.cron }}
- name: QUARKUS_PROFILE
value: {{ include "app.kopEnvironment" . }}
{{- with (.Values.env).customList }}
{{ toYaml . | indent 8 }}
{{- end }}
......
......@@ -46,3 +46,13 @@ tests:
content:
name: my_test_environment_name
value: "A test value"
- it: should set quarkus profile
template: deployment.yaml
release:
namespace: sh-helm-dev
asserts:
- contains:
path: spec.template.spec.containers[0].env
content:
name: QUARKUS_PROFILE
value: dev
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment