Skip to content

Commit

Permalink
Added BASE_PATH environment to values
Browse files Browse the repository at this point in the history
  • Loading branch information
DoctorFTB authored Nov 27, 2023
1 parent a1006a1 commit c00aa80
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/sorry-cypress/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: sorry-cypress
description: A Helm chart for Sorry Cypress
type: application
version: 1.20.0
version: 1.20.1
appVersion: 2.5.11
home: https://sorry-cypress.dev/
sources:
Expand Down
3 changes: 3 additions & 0 deletions charts/sorry-cypress/changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 1.20.1
- Added BASE_PATH environment to values

# 1.20
- Update app to version `2.5.11`

Expand Down
2 changes: 2 additions & 0 deletions charts/sorry-cypress/templates/deployment-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ spec:
value: "mongodb://{{ include "mongodb.hostname" . }}:{{ .Values.mongodb.service.port }}"
{{- end }}
{{- end }}
- name: BASE_PATH
value: {{ .Values.api.basePath | quote }}
{{- with .Values.api.extraEnv }}
{{- toYaml . | nindent 8 }}
{{- end }}
Expand Down
2 changes: 2 additions & 0 deletions charts/sorry-cypress/templates/deployment-dashboard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ spec:
{{- end }}
- name: PORT
value: "{{ .Values.dashboard.service.port }}"
- name: BASE_PATH
value: {{ .Values.dashboard.environmentVariables.basePath | quote }}
{{- with .Values.dashboard.extraEnv }}
{{- toYaml . | nindent 8 }}
{{- end }}
Expand Down
4 changes: 4 additions & 0 deletions charts/sorry-cypress/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ api:
# set PAGE_ITEMS_LIMIT
pageItemsLimit: 10

# set BASE_PATH
basePath: 10

This comment has been minimized.

Copy link
@noskiddie

noskiddie Jul 14, 2024

For what?


ingress:
ingressClassName: nginx
labels: {}
Expand Down Expand Up @@ -166,6 +169,7 @@ dashboard:
graphQlClientCredentials: ""
graphQlSchemaUrl: ""
ciUrl: ""
basePath: "/"

service:
port: 8080
Expand Down

0 comments on commit c00aa80

Please sign in to comment.