Commit 6ebe935b authored by 舒成's avatar 舒成

update

parent cd7aafaf
......@@ -46,7 +46,12 @@ spec:
- name: adminserver-key
mountPath: /etc/adminserver/key
subPath: key
- name: etc-localtime
mountPath: /etc/localtime
volumes:
- name: etc-localtime
hostPath:
path: /etc/localtime
{{- if not .Values.persistence.enabled }}
- name: data
hostPath:
......
......@@ -40,8 +40,13 @@ spec:
volumeMounts:
- name: data
mountPath: /var/lib/postgresql/data
{{- if not .Values.persistence.enabled }}
- name: etc-localtime
mountPath: /etc/localtime
volumes:
- name: etc-localtime
hostPath:
path: /etc/localtime
{{- if not .Values.persistence.enabled }}
- name: data
hostPath:
path: /data/{{ .Release.Namespace }}/{{ .Release.Name }}/database
......
......@@ -37,7 +37,12 @@ spec:
subPath: config.yml
- name: job-logs
mountPath: /var/log/jobs
- name: etc-localtime
mountPath: /etc/localtime
volumes:
- name: etc-localtime
hostPath:
path: /etc/localtime
- name: jobservice-config
configMap:
name: "{{ template "harbor.fullname" . }}-jobservice"
......
......@@ -33,7 +33,12 @@ spec:
- name: root-certificate
mountPath: /root.crt
subPath: tokenServiceRootCertBundle
- name: etc-localtime
mountPath: /etc/localtime
volumes:
- name: etc-localtime
hostPath:
path: /etc/localtime
- name: notary-config
configMap:
name: "{{ template "harbor.fullname" . }}-notary"
......
......@@ -32,7 +32,12 @@ spec:
volumeMounts:
- name: notary-config
mountPath: /etc/notary
- name: etc-localtime
mountPath: /etc/localtime
volumes:
- name: etc-localtime
hostPath:
path: /etc/localtime
- name: notary-config
configMap:
name: "{{ template "harbor.fullname" . }}-notary"
......
......@@ -23,4 +23,11 @@ spec:
args: ["--save","''","--appendonly","no"]
ports:
- name: redis
containerPort: 6379
\ No newline at end of file
containerPort: 6379
volumeMounts:
- name: etc-localtime
mountPath: /etc/localtime
volumes:
- name: etc-localtime
hostPath:
path: /etc/localtime
\ No newline at end of file
......@@ -97,7 +97,12 @@ spec:
- name: registry-config
mountPath: /etc/registry/config.yml
subPath: config.yml
- name: etc-localtime
mountPath: /etc/localtime
volumes:
- name: etc-localtime
hostPath:
path: /etc/localtime
- name: registry-root-certificate
secret:
secretName: "{{ template "harbor.fullname" . }}-ui"
......
......@@ -67,7 +67,12 @@ spec:
{{- end }}
- name: psc
mountPath: /etc/ui/token
- name: etc-localtime
mountPath: /etc/localtime
volumes:
- name: etc-localtime
hostPath:
path: /etc/localtime
- name: ui-config
configMap:
name: "{{ template "harbor.fullname" . }}-ui"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment