mirror of
https://github.com/goharbor/harbor
synced 2025-04-14 16:05:18 +00:00
Merge pull request #5413 from ywk253100/180727_chart_bugfix
Fix misc issues of Harbor chart
This commit is contained in:
commit
30fe6c8595
|
@ -55,4 +55,4 @@ data:
|
||||||
UAA_CLIENTID: ""
|
UAA_CLIENTID: ""
|
||||||
UAA_CLIENTSECRET: ""
|
UAA_CLIENTSECRET: ""
|
||||||
UAA_VERIFY_CERT: "True"
|
UAA_VERIFY_CERT: "True"
|
||||||
REGISTRY_STORAGE_PROVIDER_NAME: "filesystem"
|
REGISTRY_STORAGE_PROVIDER_NAME: "{{ .Values.registry.storage.type }}"
|
||||||
|
|
|
@ -130,16 +130,16 @@ data:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
cache:
|
cache:
|
||||||
layerinfo: inmemory
|
layerinfo: redis
|
||||||
maintenance:
|
maintenance:
|
||||||
uploadpurging:
|
uploadpurging:
|
||||||
enabled: false
|
enabled: false
|
||||||
delete:
|
delete:
|
||||||
enabled: true
|
enabled: true
|
||||||
{{- if .Values.registry.redis }}
|
|
||||||
redis:
|
redis:
|
||||||
{{ toYaml .Values.registry.redis | indent 6 }}
|
addr: "{{ template "harbor.redis.host" . }}:{{ template "harbor.redis.port" . }}"
|
||||||
{{- end }}
|
password: {{ template "harbor.redis.password" . }}
|
||||||
|
db: {{ template "harbor.redis.databaseIndex" . }}
|
||||||
http:
|
http:
|
||||||
addr: :5000
|
addr: :5000
|
||||||
# set via environment variable
|
# set via environment variable
|
||||||
|
@ -152,7 +152,6 @@ data:
|
||||||
realm: "{{ template "harbor.externalURL" . }}/service/token"
|
realm: "{{ template "harbor.externalURL" . }}/service/token"
|
||||||
rootcertbundle: /etc/registry/root.crt
|
rootcertbundle: /etc/registry/root.crt
|
||||||
service: harbor-registry
|
service: harbor-registry
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
endpoints:
|
endpoints:
|
||||||
- name: harbor
|
- name: harbor
|
||||||
|
|
|
@ -28,6 +28,8 @@ spec:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: "{{ template "harbor.fullname" . }}-ui"
|
name: "{{ template "harbor.fullname" . }}-ui"
|
||||||
key: jobserviceSecret
|
key: jobserviceSecret
|
||||||
|
- name: _REDIS_URL
|
||||||
|
value: {{ template "harbor.redisForUI" . }}
|
||||||
- name: GODEBUG
|
- name: GODEBUG
|
||||||
value: netdns=cgo
|
value: netdns=cgo
|
||||||
- name: LOG_LEVEL
|
- name: LOG_LEVEL
|
||||||
|
|
|
@ -291,10 +291,6 @@ registry:
|
||||||
# requests:
|
# requests:
|
||||||
# memory: 256Mi
|
# memory: 256Mi
|
||||||
# cpu: 100m
|
# cpu: 100m
|
||||||
## Enable the redis caching in the registry
|
|
||||||
#redis:
|
|
||||||
# addr: "redis-host:6379"
|
|
||||||
# db: 2
|
|
||||||
nodeSelector: {}
|
nodeSelector: {}
|
||||||
tolerations: []
|
tolerations: []
|
||||||
affinity: {}
|
affinity: {}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user