feat: Add PUBLIC_BACKEND_HOST environment variable to Helm chart
This commit is contained in:
parent
73e019913a
commit
d8724ef952
|
@ -45,6 +45,13 @@ spec:
|
||||||
- name: http
|
- name: http
|
||||||
containerPort: {{ .Values.containerPort | default 8080 }} # ← Now points to 8080
|
containerPort: {{ .Values.containerPort | default 8080 }} # ← Now points to 8080
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
{{- if .Values.env }}
|
||||||
|
env:
|
||||||
|
{{- range $key, $value := .Values.env }}
|
||||||
|
- name: {{ $key }}
|
||||||
|
value: {{ $value | quote }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
{{- with .Values.livenessProbe }}
|
{{- with .Values.livenessProbe }}
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
{{- toYaml . | nindent 12 }}
|
{{- toYaml . | nindent 12 }}
|
||||||
|
|
|
@ -62,6 +62,10 @@ service:
|
||||||
|
|
||||||
containerPort: 8080
|
containerPort: 8080
|
||||||
|
|
||||||
|
# Environment variables to be passed to the container
|
||||||
|
env:
|
||||||
|
PUBLIC_BACKEND_HOST: "https://api.acayip.dev"
|
||||||
|
|
||||||
# This block is for setting up the ingress for more information can be found here: https://kubernetes.io/docs/concepts/services-networking/ingress/
|
# This block is for setting up the ingress for more information can be found here: https://kubernetes.io/docs/concepts/services-networking/ingress/
|
||||||
ingress:
|
ingress:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
Loading…
Reference in New Issue
Block a user