Changes
This commit is contained in:
+14
-4
@@ -27,9 +27,15 @@ spec:
|
||||
value: http://+:8080
|
||||
- name: ASPNETCORE_ENVIRONMENT
|
||||
value: Staging
|
||||
- name: K8S_SECRETS_PATH
|
||||
value: /var/run/secrets/maintenancepages
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: Maintenance-Secrets
|
||||
- configMapRef:
|
||||
name: maintenance-config
|
||||
volumeMounts:
|
||||
- name: app-secrets
|
||||
mountPath: /var/run/secrets/maintenancepages
|
||||
readOnly: true
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
@@ -39,13 +45,17 @@ spec:
|
||||
memory: 512Mi
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
path: /healthz
|
||||
port: http
|
||||
initialDelaySeconds: 30
|
||||
periodSeconds: 15
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
path: /healthz
|
||||
port: http
|
||||
initialDelaySeconds: 10
|
||||
periodSeconds: 10
|
||||
volumes:
|
||||
- name: app-secrets
|
||||
secret:
|
||||
secretName: Maintenance-Secrets
|
||||
|
||||
Reference in New Issue
Block a user