Skip to content
Snippets Groups Projects
Commit 5aef52e8 authored by rong.zhang's avatar rong.zhang
Browse files

fix dashboard certs secret

parent b974b144
No related branches found
No related tags found
No related merge requests found
......@@ -176,8 +176,10 @@ spec:
# to it. Uncomment only if the default does not work.
# - --apiserver-host=http://my-address:port
volumeMounts:
{% if not dashboard_use_custom_certs %}
- name: kubernetes-dashboard-certs
mountPath: /certs
{% endif %}
# Create on-disk volume to store exec logs
- mountPath: /tmp
name: tmp-volume
......@@ -189,9 +191,11 @@ spec:
initialDelaySeconds: 30
timeoutSeconds: 30
volumes:
{% if not dashboard_use_custom_certs %}
- name: kubernetes-dashboard-certs
secret:
secretName: kubernetes-dashboard-certs
{% endif %}
- name: tmp-volume
emptyDir: {}
serviceAccountName: kubernetes-dashboard
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment