Merge pull request #4918 from jessehu/notary-mount

[Chart] Fix a ConfigMap mount issue in K8s 1.10
This commit is contained in:
Daniel Jiang 2018-05-11 17:40:02 +08:00 committed by GitHub
commit 59b9165ea7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 }}