fix the dev yaml file
This commit is contained in:
parent
cd1c78a0ae
commit
17af307bf3
|
|
@ -115,6 +115,8 @@ spec:
|
|||
sh '''
|
||||
set -e
|
||||
kubectl apply -f deploy/kubernetes/dev.yaml --validate=true
|
||||
|
||||
kubectl rollout restart deployment nam-backend-dev -n nam-backend-dev
|
||||
'''
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -178,39 +178,6 @@ spec:
|
|||
volumeMounts:
|
||||
- mountPath: /app
|
||||
name: app
|
||||
|
||||
- mountPath: /tmp
|
||||
name: tmp
|
||||
initContainers:
|
||||
- name: init
|
||||
image: git.winteraccess.id/winter-access/backend_nam:dev
|
||||
imagePullPolicy: Always
|
||||
# command: ["/scripts/initialize"]
|
||||
env:
|
||||
- name: DB_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: nam-backend-dev-secret
|
||||
key: DB_PASSWORD
|
||||
resources:
|
||||
limits:
|
||||
cpu: "250m"
|
||||
memory: 1024M
|
||||
requests:
|
||||
cpu: "100m"
|
||||
memory: 512M
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
capabilities:
|
||||
drop: ["ALL"]
|
||||
add: ["NET_ADMIN", "SYS_TIME"]
|
||||
readOnlyRootFilesystem: true
|
||||
terminationMessagePath: /dev/termination-log
|
||||
terminationMessagePolicy: File
|
||||
volumeMounts:
|
||||
- mountPath: /app
|
||||
name: app
|
||||
|
||||
- mountPath: /tmp
|
||||
name: tmp
|
||||
imagePullSecrets:
|
||||
|
|
|
|||
Loading…
Reference in New Issue