mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-22 16:48:30 +01:00
[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:
parent
df055e3241
commit
d0cf95333c
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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 }}
|
||||
|
Loading…
Reference in New Issue
Block a user