mirror of
https://github.com/goharbor/harbor.git
synced 2025-01-03 14:37:44 +01:00
Merge pull request #5185 from reasonerjt/helm-chart-ca-download
Enable CA cert download on Chart deployment
This commit is contained in:
commit
dd4c565aff
@ -50,8 +50,11 @@ spec:
|
|||||||
- name: ui-secrets-private-key
|
- name: ui-secrets-private-key
|
||||||
mountPath: /etc/ui/private_key.pem
|
mountPath: /etc/ui/private_key.pem
|
||||||
subPath: private_key.pem
|
subPath: private_key.pem
|
||||||
|
{{- if not .Values.insecureRegistry }}
|
||||||
- name: ca-download
|
- name: ca-download
|
||||||
mountPath: /etc/ui/ca
|
mountPath: /etc/ui/ca/ca.crt
|
||||||
|
subPath: ca.crt
|
||||||
|
{{- end }}
|
||||||
- name: psc
|
- name: psc
|
||||||
mountPath: /etc/ui/token
|
mountPath: /etc/ui/token
|
||||||
volumes:
|
volumes:
|
||||||
@ -70,8 +73,14 @@ spec:
|
|||||||
items:
|
items:
|
||||||
- key: private_key.pem
|
- key: private_key.pem
|
||||||
path: private_key.pem
|
path: private_key.pem
|
||||||
|
{{- if not .Values.insecureRegistry }}
|
||||||
- name: ca-download
|
- name: ca-download
|
||||||
emptyDir: {}
|
secret:
|
||||||
|
secretName: "{{ template "harbor.fullname" . }}-ingress"
|
||||||
|
items:
|
||||||
|
- key: ca.crt
|
||||||
|
path: ca.crt
|
||||||
|
{{- end }}
|
||||||
- name: psc
|
- name: psc
|
||||||
emptyDir: {}
|
emptyDir: {}
|
||||||
{{- with .Values.ui.nodeSelector }}
|
{{- with .Values.ui.nodeSelector }}
|
||||||
|
Loading…
Reference in New Issue
Block a user