feat: Add PUBLIC_BACKEND_HOST environment variable to Helm chart

This commit is contained in:
log101 (aider) 2025-03-18 21:01:11 +03:00
parent 73e019913a
commit d8724ef952
2 changed files with 11 additions and 0 deletions

View File

@ -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 }}

View File

@ -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