mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-03 02:25:48 +00:00
add envs to frontend k8
This commit is contained in:
@@ -7,7 +7,7 @@ type: application
|
|||||||
# This is the chart version. This version number should be incremented each time you make changes
|
# This is the chart version. This version number should be incremented each time you make changes
|
||||||
# to the chart and its templates, including the app version.
|
# to the chart and its templates, including the app version.
|
||||||
# Versions are expected to follow Semantic Versioning (https://semver.org/)
|
# Versions are expected to follow Semantic Versioning (https://semver.org/)
|
||||||
version: 0.1.1
|
version: 0.1.2
|
||||||
|
|
||||||
# This is the version number of the application being deployed. This version number should be
|
# This is the version number of the application being deployed. This version number should be
|
||||||
# incremented each time you make changes to the application. Versions are not expected to
|
# incremented each time you make changes to the application. Versions are not expected to
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ spec:
|
|||||||
ports:
|
ports:
|
||||||
- containerPort: 4000
|
- containerPort: 4000
|
||||||
env:
|
env:
|
||||||
{{- range $key, $value := .Values.secrets }}
|
{{- range $key, $value := .Values.backendEnvironmentVariables }}
|
||||||
{{- if eq $value "MUST_REPLACE" }}
|
{{- if eq $value "MUST_REPLACE" }}
|
||||||
{{ fail "Environment variables are not set. Please set all environment variables to continue." }}
|
{{ fail "Environment variables are not set. Please set all environment variables to continue." }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|||||||
@@ -18,6 +18,11 @@ spec:
|
|||||||
- name: frontend
|
- name: frontend
|
||||||
image: infisical/frontend
|
image: infisical/frontend
|
||||||
imagePullPolicy: {{ .Values.frontend.image.pullPolicy }}
|
imagePullPolicy: {{ .Values.frontend.image.pullPolicy }}
|
||||||
|
env:
|
||||||
|
{{- range $key, $value := .Values.frontendEnvironmentVariables }}
|
||||||
|
- name: {{ $key }}
|
||||||
|
value: {{ quote $value }}
|
||||||
|
{{- end }}
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 4000
|
- containerPort: 4000
|
||||||
---
|
---
|
||||||
|
|||||||
Reference in New Issue
Block a user