Skip to content

Commit

Permalink
K8s tests (#832)
Browse files Browse the repository at this point in the history
* New database for tests
  • Loading branch information
Skyere authored Jul 16, 2022
1 parent 5149fef commit 377b92b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions chart-test/k8s_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ var options *helm.Options = &helm.Options{
ValuesFiles: []string{"valuesTest.yaml"},
SetValues: map[string]string{
"deployment.image": image,
"environment": "test",
},
}

Expand Down
2 changes: 1 addition & 1 deletion greencity-ubs-chart/templates/greencity-ubs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ spec:
valueFrom:
secretKeyRef:
name: {{ .Values.externalSecret.secretName }}
key: JAWSDB-URL-UBS
key: {{ if eq .Values.environment "prod" }}JAWSDB-URL-UBS{{ else }}JAWSDB-URL-UBS-TEST{{ end }}

- name: JDBC_LOB
valueFrom:
Expand Down

0 comments on commit 377b92b

Please sign in to comment.