-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update vrt to 5.0 Signed-off-by: André Bauer <andre.bauer@staffbase.com> * change env setup to configmap Signed-off-by: André Bauer <andre.bauer@staffbase.com> * remove hardcoding Signed-off-by: André Bauer <andre.bauer@staffbase.com> * adjust comment Signed-off-by: André Bauer <andre.bauer@staffbase.com> * fix var and add labels Signed-off-by: André Bauer <andre.bauer@staffbase.com> * fix volume Signed-off-by: André Bauer <andre.bauer@staffbase.com> * fix volumemounts Signed-off-by: André Bauer <andre.bauer@staffbase.com> * fix permissions Signed-off-by: André Bauer <andre.bauer@staffbase.com> * add tmp mount Signed-off-by: André Bauer <andre.bauer@staffbase.com> * test Signed-off-by: André Bauer <andre.bauer@staffbase.com> * make tmpdir configurable Signed-off-by: André Bauer <andre.bauer@staffbase.com> --------- Signed-off-by: André Bauer <andre.bauer@staffbase.com>
- Loading branch information
Showing
5 changed files
with
50 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: env-config | ||
labels: | ||
{{- include "visual-regression-tracker.labels" . | nindent 4 }} | ||
data: | ||
env.sh: | | ||
#!/bin/sh | ||
# dummy file which replaces env-config.js creation to be able to use rofs | ||
cat env-config.js | ||
env-config.js: | | ||
window._env_ = { | ||
REACT_APP_API_URL: "{{ .Values.vrtConfig.reactAppApiUrl }}", | ||
PORT: "{{ .Values.vrtComponents.ui.service.port }}", | ||
VRT_VERSION: "{{ .Chart.AppVersion }}", | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters