Skip to content

Commit

Permalink
Update deployment.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
barrfalk committed Oct 8, 2024
1 parent 35278ab commit f0752bd
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions charts/app/templates/frontend/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,28 @@ spec:
add: [ "NET_BIND_SERVICE" ]
image: "{{.Values.global.registry}}/{{.Values.global.repository}}/frontend:{{ .Values.global.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ default "Always" .Values.frontend.imagePullPolicy }}
envFrom:
- secretRef:
name: {{ .Release.Name }}-frontend
env:
- name: BACKEND_URL
value: "http://{{ .Release.Name }}-backend"
- name: LOG_LEVEL
value: "info"
- name: NODE_TLS_REJECT_UNAUTHORIZED
value: "0"
- name: VITE_APP_KEYCLOAK_URL
valueFrom:
secretKeyRef:
name: {{ .Release.Name }}-frontend
key: VITE_APP_KEYCLOAK_URL
- name: VITE_APP_KEYCLOAK_REALM
valueFrom:
secretKeyRef:
name: {{ .Release.Name }}-frontend
key: VITE_APP_KEYCLOAK_REALM
- name: VITE_APP_KEYCLOAK_CLIENT_ID
valueFrom:
secretKeyRef:
name: {{ .Release.Name }}-frontend
key: VITE_APP_KEYCLOAK_CLIENT_ID
ports:
- name: http
containerPort: 3000
Expand Down

0 comments on commit f0752bd

Please sign in to comment.