Update harbor release

This commit is contained in:
2023-12-08 00:03:52 +08:00
parent bf90cbfd3b
commit c6a0906315
60 changed files with 6521 additions and 24 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
apiVersion: v1
appVersion: 2.9.0
appVersion: 2.9.1
description: An open source trusted cloud native registry that stores, signs, and scans content
home: https://goharbor.io
icon: https://raw.githubusercontent.com/goharbor/website/main/static/img/logos/harbor-icon-color.png
@@ -18,4 +18,4 @@ name: harbor
sources:
- https://github.com/goharbor/harbor
- https://github.com/goharbor/harbor-helm
version: 1.13.0
version: 1.13.1
+16 -2
View File
@@ -144,12 +144,26 @@ app: "{{ template "harbor.name" . }}"
{{- end }}
{{- end -}}
{{- define "harbor.redis.pwdfromsecret" -}}
{{- (lookup "v1" "Secret" .Release.Namespace (.Values.redis.external.existingSecret)).data.REDIS_PASSWORD | b64dec }}
{{- end -}}
{{- define "harbor.redis.cred" -}}
{{- with .Values.redis }}
{{- if (and (eq .type "external" ) (.external.existingSecret)) }}
{{- printf ":%s@" (include "harbor.redis.pwdfromsecret" $) }}
{{- else }}
{{- ternary (printf "%s:%s@" (.external.username | urlquery) (.external.password | urlquery)) "" (and (eq .type "external" ) (not (not .external.password))) }}
{{- end }}
{{- end }}
{{- end -}}
/*scheme://[:password@]host:port[/master_set]*/
{{- define "harbor.redis.url" -}}
{{- with .Values.redis }}
{{- $path := ternary "" (printf "/%s" (include "harbor.redis.masterSet" $)) (not (include "harbor.redis.masterSet" $)) }}
{{- $cred := ternary (printf "%s:%s@" (.external.username | urlquery) (.external.password | urlquery)) "" (and (eq .type "external" ) (not (not .external.password))) }}
{{- printf "%s://%s%s%s" (include "harbor.redis.scheme" $) $cred (include "harbor.redis.addr" $) $path -}}
{{- printf "%s://%s%s%s" (include "harbor.redis.scheme" $) (include "harbor.redis.cred" $) (include "harbor.redis.addr" $) $path -}}
{{- end }}
{{- end -}}
@@ -113,6 +113,13 @@ spec:
- name: INTERNAL_TLS_TRUST_CA_PATH
value: /etc/harbor/ssl/registry/ca.crt
{{- end }}
{{- if .Values.redis.external.existingSecret }}
- name: REGISTRY_REDIS_PASSWORD
valueFrom:
secretKeyRef:
name: {{ .Values.redis.external.existingSecret }}
key: REDIS_PASSWORD
{{- end }}
{{- if .Values.persistence.imageChartStorage.azure.existingSecret }}
- name: REGISTRY_STORAGE_AZURE_ACCOUNTKEY
valueFrom:
+10 -10
View File
@@ -379,7 +379,7 @@ enableMigrateHelmHook: false
nginx:
image:
repository: goharbor/nginx-photon
tag: v2.9.0
tag: v2.9.1
# set the service account to be used, default if left empty
serviceAccountName: ""
# mount the service account token
@@ -411,7 +411,7 @@ nginx:
portal:
image:
repository: goharbor/harbor-portal
tag: v2.9.0
tag: v2.9.1
# set the service account to be used, default if left empty
serviceAccountName: ""
# mount the service account token
@@ -443,7 +443,7 @@ portal:
core:
image:
repository: goharbor/harbor-core
tag: v2.9.0
tag: v2.9.1
# set the service account to be used, default if left empty
serviceAccountName: ""
# mount the service account token
@@ -516,7 +516,7 @@ core:
jobservice:
image:
repository: goharbor/harbor-jobservice
tag: v2.9.0
tag: v2.9.1
replicas: 1
revisionHistoryLimit: 10
# set the service account to be used, default if left empty
@@ -574,7 +574,7 @@ registry:
registry:
image:
repository: goharbor/registry-photon
tag: v2.9.0
tag: v2.9.1
resources:
requests:
memory: 256Mi
@@ -583,7 +583,7 @@ registry:
controller:
image:
repository: goharbor/harbor-registryctl
tag: v2.9.0
tag: v2.9.1
resources:
requests:
@@ -651,7 +651,7 @@ trivy:
# repository the repository for Trivy adapter image
repository: goharbor/trivy-adapter-photon
# tag the tag for Trivy adapter image
tag: v2.9.0
tag: v2.9.1
# set the service account to be used, default if left empty
serviceAccountName: ""
# mount the service account token
@@ -738,7 +738,7 @@ database:
automountServiceAccountToken: false
image:
repository: goharbor/harbor-db
tag: v2.9.0
tag: v2.9.1
# The initial superuser password for internal database
password: "changeit"
# The size limit for Shared memory, pgSQL use it for shared_buffer
@@ -812,7 +812,7 @@ redis:
automountServiceAccountToken: false
image:
repository: goharbor/redis-photon
tag: v2.9.0
tag: v2.9.1
resources:
requests:
memory: 256Mi
@@ -877,7 +877,7 @@ exporter:
automountServiceAccountToken: false
image:
repository: goharbor/harbor-exporter
tag: v2.9.0
tag: v2.9.1
nodeSelector:
location: bedRoom
tolerations: []
+10 -10
View File
@@ -379,7 +379,7 @@ enableMigrateHelmHook: false
nginx:
image:
repository: goharbor/nginx-photon
tag: v2.9.0
tag: v2.9.1
# set the service account to be used, default if left empty
serviceAccountName: ""
# mount the service account token
@@ -410,7 +410,7 @@ nginx:
portal:
image:
repository: goharbor/harbor-portal
tag: v2.9.0
tag: v2.9.1
# set the service account to be used, default if left empty
serviceAccountName: ""
# mount the service account token
@@ -441,7 +441,7 @@ portal:
core:
image:
repository: goharbor/harbor-core
tag: v2.9.0
tag: v2.9.1
# set the service account to be used, default if left empty
serviceAccountName: ""
# mount the service account token
@@ -513,7 +513,7 @@ core:
jobservice:
image:
repository: goharbor/harbor-jobservice
tag: v2.9.0
tag: v2.9.1
replicas: 1
revisionHistoryLimit: 10
# set the service account to be used, default if left empty
@@ -570,7 +570,7 @@ registry:
registry:
image:
repository: goharbor/registry-photon
tag: v2.9.0
tag: v2.9.1
# resources:
# requests:
# memory: 256Mi
@@ -579,7 +579,7 @@ registry:
controller:
image:
repository: goharbor/harbor-registryctl
tag: v2.9.0
tag: v2.9.1
# resources:
# requests:
@@ -645,7 +645,7 @@ trivy:
# repository the repository for Trivy adapter image
repository: goharbor/trivy-adapter-photon
# tag the tag for Trivy adapter image
tag: v2.9.0
tag: v2.9.1
# set the service account to be used, default if left empty
serviceAccountName: ""
# mount the service account token
@@ -731,7 +731,7 @@ database:
automountServiceAccountToken: false
image:
repository: goharbor/harbor-db
tag: v2.9.0
tag: v2.9.1
# The initial superuser password for internal database
password: "changeit"
# The size limit for Shared memory, pgSQL use it for shared_buffer
@@ -804,7 +804,7 @@ redis:
automountServiceAccountToken: false
image:
repository: goharbor/redis-photon
tag: v2.9.0
tag: v2.9.1
# resources:
# requests:
# memory: 256Mi
@@ -868,7 +868,7 @@ exporter:
automountServiceAccountToken: false
image:
repository: goharbor/harbor-exporter
tag: v2.9.0
tag: v2.9.1
nodeSelector: {}
tolerations: []
affinity: {}