Skip to content

Commit b465257

Browse files
hontarenkomonotek
andauthored
Fixes #224 (#227)
* feat(vrt): add support for extraEnv in api container Signed-off-by: Serhii Hontarenko <serhii.hontarenko@amo.tech> * refactor(vrt): remove extraEnv global Signed-off-by: Serhii Hontarenko <serhii.hontarenko@amo.tech> * chore: bump version to 5.0.2 in Chart.yaml Signed-off-by: Serhii Hontarenko <serhii.hontarenko@amo.tech> * Update charts/visual-regression-tracker/Chart.yaml Co-authored-by: André Bauer <monotek@users.noreply.github.com> Signed-off-by: Serhii Hontarenko <94844601+hontarenko@users.noreply.github.com> * chore: update VRT image tags to 5.1.x versions Signed-off-by: Serhii Hontarenko <serhii.hontarenko@amo.tech> * feat(vrt): add PostgreSQL image repository configuration Signed-off-by: Serhii Hontarenko <serhii.hontarenko@amo.tech> * feat: update VRT image versions Signed-off-by: Serhii Hontarenko <serhii.hontarenko@amo.tech> --------- Signed-off-by: Serhii Hontarenko <serhii.hontarenko@amo.tech> Signed-off-by: Serhii Hontarenko <94844601+hontarenko@users.noreply.github.com> Co-authored-by: André Bauer <monotek@users.noreply.github.com>
1 parent a130f22 commit b465257

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

charts/visual-regression-tracker/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ sources:
66
- https://github.com/Visual-Regression-Tracker/Visual-Regression-Tracker
77
- https://github.com/kokuwaio/helm-charts/tree/main/charts/visual-regression-tracker
88
type: application
9-
version: 5.0.1
9+
version: 5.1.0
1010
appVersion: "5.0.11"
1111
maintainers:
1212
- name: monotek

charts/visual-regression-tracker/templates/statefulset.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,9 @@ spec:
9797
value: "{{ .Values.vrtConfig.postgresql.user }}"
9898
- name: DATABASE_URL
9999
value: "postgresql://$(POSTGRES_USER):$(POSTGRES_PASSWORD)@$(POSTGRES_HOST):$(POSTGRES_PORT)/$(POSTGRES_DB)"
100+
{{- with .Values.vrtComponents.api.extraEnv }}
101+
{{- toYaml . | nindent 12 }}
102+
{{- end }}
100103
image: "{{ .Values.vrtComponents.api.image.repository }}:{{ .Values.vrtComponents.api.image.tag }}"
101104
imagePullPolicy: {{ .Values.vrtComponents.api.image.pullPolicy }}
102105
ports:
@@ -170,7 +173,7 @@ spec:
170173
{{- toYaml . | nindent 8 }}
171174
{{- end }}
172175
{{- if .Values.topologySpreadConstraints }}
173-
topologySpreadConstraints:
176+
topologySpreadConstraints:
174177
{{- toYaml .Values.topologySpreadConstraints | nindent 8 }}
175178
{{- end }}
176179
volumes:

charts/visual-regression-tracker/values.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ vrtComponents:
4141
pullPolicy: IfNotPresent
4242
tag: "5.0.11"
4343

44+
# Additional environment variables for the API container
45+
extraEnv: []
46+
# - name: STATIC_SERVICE
47+
# value: "s3"
48+
4449
ingress:
4550
enabled: false
4651
className: ""
@@ -229,6 +234,8 @@ serviceAccount:
229234

230235
# dependency chart config
231236
postgresql:
237+
image:
238+
repository: bitnamilegacy/postgresql
232239
auth:
233240
database: vrt
234241
username: vrt

0 commit comments

Comments
 (0)