fixing: kubernetes

This commit is contained in:
rheiga19 2025-03-27 15:20:54 +07:00
parent f7cabbe480
commit 8abed63508
1 changed files with 27 additions and 19 deletions

View File

@ -142,12 +142,11 @@ spec:
- name: web - name: web
image: git.winteraccess.id/winter-access/frontend-nam:dev image: git.winteraccess.id/winter-access/frontend-nam:dev
imagePullPolicy: Always imagePullPolicy: Always
env: envFrom:
- name: DB_PASSWORD - configMapRef:
valueFrom: name: nam-frontend-dev-config
secretKeyRef: - secretRef:
name: nam-frontend-dev-secret name: nam-frontend-dev-secret
key: DB_PASSWORD
resources: resources:
limits: limits:
cpu: "250m" cpu: "250m"
@ -168,8 +167,12 @@ spec:
terminationMessagePath: /dev/termination-log terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File terminationMessagePolicy: File
volumeMounts: volumeMounts:
- mountPath: /app - mountPath: /public
name: app name: public
- mountPath: /storage
name: storage
- mountPath: /tmp
name: tmp
initContainers: initContainers:
- name: init - name: init
image: git.winteraccess.id/winter-access/frontend-nam:dev image: git.winteraccess.id/winter-access/frontend-nam:dev
@ -197,8 +200,12 @@ spec:
terminationMessagePath: /dev/termination-log terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File terminationMessagePolicy: File
volumeMounts: volumeMounts:
- mountPath: /app - mountPath: /public
name: app name: public
- mountPath: /storage
name: storage
- mountPath: /tmp
name: tmp
imagePullSecrets: imagePullSecrets:
- name: winter-registry - name: winter-registry
dnsPolicy: ClusterFirst dnsPolicy: ClusterFirst
@ -231,6 +238,7 @@ spec:
persistentVolumeClaim: persistentVolumeClaim:
claimName: nam-frontend-dev-storage claimName: nam-frontend-dev-storage
--- ---
apiVersion: v1 apiVersion: v1