[Chart] Fix a ConfigMap mount issue in K8s 1.10

K8s 1.10 throws error when mounting a file into the directory which
is also mounted from a ConfigMap.
Fix issue https://github.com/vmware/harbor/issues/4886
This commit is contained in:
Jesse Hu 2018-05-10 18:37:46 +08:00
parent df055e3241
commit d0cf95333c
2 changed files with 3 additions and 3 deletions

View File

@ -59,7 +59,7 @@ data:
"realm": "https://{{ .Values.externalDomain }}/service/token",
"service": "harbor-notary",
"issuer": "harbor-token-issuer",
"rootcertbundle": "/config/root.crt"
"rootcertbundle": "/root.crt"
}
}
}

View File

@ -31,7 +31,7 @@ spec:
- name: notary-config
mountPath: /config
- name: root-certificate
mountPath: /config/root.crt
mountPath: /root.crt
subPath: root.crt
volumes:
- name: notary-config
@ -40,4 +40,4 @@ spec:
- name: root-certificate
secret:
secretName: "{{ template "harbor.fullname" . }}-registry"
{{ end }}
{{ end }}