mirror of
https://github.com/marcel-dempers/docker-development-youtube-series.git
synced 2025-06-06 17:01:30 +00:00
add optional comment section for mounting volumes
This commit is contained in:
parent
8e03dd55c2
commit
25daf0ff5a
@ -43,15 +43,17 @@ spec:
|
|||||||
limits:
|
limits:
|
||||||
memory: "256Mi"
|
memory: "256Mi"
|
||||||
cpu: "500m"
|
cpu: "500m"
|
||||||
volumeMounts:
|
#NOTE: comment out `volumeMounts` section for configmap and\or secret guide
|
||||||
- name: secret-volume
|
# volumeMounts:
|
||||||
mountPath: /secrets/
|
# - name: secret-volume
|
||||||
- name: config-volume
|
# mountPath: /secrets/
|
||||||
mountPath: /configs/
|
# - name: config-volume
|
||||||
volumes:
|
# mountPath: /configs/
|
||||||
- name: secret-volume
|
#NOTE: comment out `volumes` section for configmap and\or secret guide
|
||||||
secret:
|
# volumes:
|
||||||
secretName: mysecret
|
# - name: secret-volume
|
||||||
- name: config-volume
|
# secret:
|
||||||
configMap:
|
# secretName: mysecret
|
||||||
name: example-config #name of our configmap object
|
# - name: config-volume
|
||||||
|
# configMap:
|
||||||
|
# name: example-config #name of our configmap object
|
||||||
|
Loading…
x
Reference in New Issue
Block a user