Use a single FlexVolume for nginx secrets

Just a name update for now, but we'll use the one flex volume to mount all the nginx related secrets going forward.
This commit is contained in:
tomdds
2019-11-25 14:38:56 -05:00
parent 6acc085a77
commit 949ffa294d

View File

@@ -77,7 +77,7 @@ spec:
mountPath: "/usr/share/nginx/html/.well-known/acme-challenge/" mountPath: "/usr/share/nginx/html/.well-known/acme-challenge/"
- name: snippets - name: snippets
mountPath: "/etc/nginx/snippets/" mountPath: "/etc/nginx/snippets/"
- name: nginx-dhparam-secret - name: nginx-secret
mountPath: "/etc/ssl/" mountPath: "/etc/ssl/"
readOnly: true readOnly: true
volumes: volumes:
@@ -140,7 +140,7 @@ spec:
- name: snippets - name: snippets
configMap: configMap:
name: nginx-snippets name: nginx-snippets
- name: nginx-dhparam-secret - name: nginx-secret
flexVolume: flexVolume:
driver: "azure/kv" driver: "azure/kv"
options: options: