Harmonize Pod Preset tasks (#18128)

This commit is contained in:
tom1299
2020-03-11 09:33:36 +01:00
committed by GitHub
parent cbd3f89510
commit 7ac1614f74
3 changed files with 210 additions and 88 deletions
@@ -14,9 +14,6 @@ spec:
volumeMounts:
- mountPath: /cache
name: cache-volume
- mountPath: /etc/app/config.json
readOnly: true
name: secret-volume
ports:
- containerPort: 80
env:
@@ -32,6 +29,3 @@ spec:
volumes:
- name: cache-volume
emptyDir: {}
- name: secret-volume
secret:
secretName: config-details
@@ -19,12 +19,6 @@ spec:
volumeMounts:
- mountPath: /cache
name: cache-volume
- mountPath: /etc/app/config.json
readOnly: true
name: secret-volume
volumes:
- name: cache-volume
emptyDir: {}
- name: secret-volume
secret:
secretName: config-details