Fix deployment

This commit is contained in:
dvirlabs 2025-07-03 09:41:14 +03:00
parent e30e4cf23e
commit 17b8bd79f7
2 changed files with 2 additions and 15 deletions

View File

@ -12,16 +12,6 @@ spec:
labels:
app: navix-frontend
spec:
initContainers:
- name: copy-env
image: busybox
command: ["sh", "-c", "cp /config/env.js /env/env.js"]
volumeMounts:
- name: env-config
mountPath: /config
- name: env-volume
mountPath: /env
containers:
- name: frontend
image: "{{ .Values.frontend.image.repository }}:{{ .Values.frontend.tag }}"
@ -29,13 +19,10 @@ spec:
ports:
- containerPort: 80
volumeMounts:
- name: env-volume
- name: env-config
mountPath: /usr/share/nginx/html/env.js
subPath: env.js
volumes:
- name: env-volume
emptyDir: {}
- name: env-config
configMap:
name: navix-frontend-env

View File

@ -2,7 +2,7 @@ frontend:
image:
repository: harbor.dvirlabs.com/my-apps/navix-frontend
pullPolicy: IfNotPresent
tag: master-4fc5494 # ✅ Move tag here under image
tag: master-4fc5494
service:
type: ClusterIP
port: 80