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

update

parent cd7aafaf
...@@ -46,7 +46,12 @@ spec: ...@@ -46,7 +46,12 @@ spec:
- name: adminserver-key - name: adminserver-key
mountPath: /etc/adminserver/key mountPath: /etc/adminserver/key
subPath: key subPath: key
- name: etc-localtime
mountPath: /etc/localtime
volumes: volumes:
- name: etc-localtime
hostPath:
path: /etc/localtime
{{- if not .Values.persistence.enabled }} {{- if not .Values.persistence.enabled }}
- name: data - name: data
hostPath: hostPath:
......
...@@ -40,8 +40,13 @@ spec: ...@@ -40,8 +40,13 @@ spec:
volumeMounts: volumeMounts:
- name: data - name: data
mountPath: /var/lib/postgresql/data mountPath: /var/lib/postgresql/data
{{- if not .Values.persistence.enabled }} - name: etc-localtime
mountPath: /etc/localtime
volumes: volumes:
- name: etc-localtime
hostPath:
path: /etc/localtime
{{- if not .Values.persistence.enabled }}
- name: data - name: data
hostPath: hostPath:
path: /data/{{ .Release.Namespace }}/{{ .Release.Name }}/database path: /data/{{ .Release.Namespace }}/{{ .Release.Name }}/database
......
...@@ -37,7 +37,12 @@ spec: ...@@ -37,7 +37,12 @@ spec:
subPath: config.yml subPath: config.yml
- name: job-logs - name: job-logs
mountPath: /var/log/jobs mountPath: /var/log/jobs
- name: etc-localtime
mountPath: /etc/localtime
volumes: volumes:
- name: etc-localtime
hostPath:
path: /etc/localtime
- name: jobservice-config - name: jobservice-config
configMap: configMap:
name: "{{ template "harbor.fullname" . }}-jobservice" name: "{{ template "harbor.fullname" . }}-jobservice"
......
...@@ -33,7 +33,12 @@ spec: ...@@ -33,7 +33,12 @@ spec:
- name: root-certificate - name: root-certificate
mountPath: /root.crt mountPath: /root.crt
subPath: tokenServiceRootCertBundle subPath: tokenServiceRootCertBundle
- name: etc-localtime
mountPath: /etc/localtime
volumes: volumes:
- name: etc-localtime
hostPath:
path: /etc/localtime
- name: notary-config - name: notary-config
configMap: configMap:
name: "{{ template "harbor.fullname" . }}-notary" name: "{{ template "harbor.fullname" . }}-notary"
......
...@@ -32,7 +32,12 @@ spec: ...@@ -32,7 +32,12 @@ spec:
volumeMounts: volumeMounts:
- name: notary-config - name: notary-config
mountPath: /etc/notary mountPath: /etc/notary
- name: etc-localtime
mountPath: /etc/localtime
volumes: volumes:
- name: etc-localtime
hostPath:
path: /etc/localtime
- name: notary-config - name: notary-config
configMap: configMap:
name: "{{ template "harbor.fullname" . }}-notary" name: "{{ template "harbor.fullname" . }}-notary"
......
...@@ -23,4 +23,11 @@ spec: ...@@ -23,4 +23,11 @@ spec:
args: ["--save","''","--appendonly","no"] args: ["--save","''","--appendonly","no"]
ports: ports:
- name: redis - name: redis
containerPort: 6379 containerPort: 6379
\ No newline at end of file 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: ...@@ -97,7 +97,12 @@ spec:
- name: registry-config - name: registry-config
mountPath: /etc/registry/config.yml mountPath: /etc/registry/config.yml
subPath: config.yml subPath: config.yml
- name: etc-localtime
mountPath: /etc/localtime
volumes: volumes:
- name: etc-localtime
hostPath:
path: /etc/localtime
- name: registry-root-certificate - name: registry-root-certificate
secret: secret:
secretName: "{{ template "harbor.fullname" . }}-ui" secretName: "{{ template "harbor.fullname" . }}-ui"
......
...@@ -67,7 +67,12 @@ spec: ...@@ -67,7 +67,12 @@ spec:
{{- end }} {{- end }}
- name: psc - name: psc
mountPath: /etc/ui/token mountPath: /etc/ui/token
- name: etc-localtime
mountPath: /etc/localtime
volumes: volumes:
- name: etc-localtime
hostPath:
path: /etc/localtime
- name: ui-config - name: ui-config
configMap: configMap:
name: "{{ template "harbor.fullname" . }}-ui" 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