add: configmap, ingress + update deployment with env refs
This commit is contained in:
@@ -17,4 +17,25 @@ spec:
|
||||
- name: filip-susak-moj-servis
|
||||
image: git.fpmoz.sum.ba/fsusak03/filipsusak:latest
|
||||
ports:
|
||||
- containerPort: 8000
|
||||
- containerPort: 8000
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: moj-servis-config
|
||||
env:
|
||||
- name: DB_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: moj-servis-secret
|
||||
key: DB_PASSWORD
|
||||
- name: API_KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: moj-servis-secret
|
||||
key: API_KEY
|
||||
resources:
|
||||
requests:
|
||||
memory: "64Mi"
|
||||
cpu: "50m"
|
||||
limits:
|
||||
memory: "128Mi"
|
||||
cpu: "200m"
|
||||
Reference in New Issue
Block a user