Update harbor

This commit is contained in:
Marcus Noble 2022-01-27 08:39:22 +00:00
parent 630055af40
commit 082093319d

View File

@ -539,7 +539,7 @@ spec:
terminationGracePeriodSeconds: 120 terminationGracePeriodSeconds: 120
containers: containers:
- name: core - name: core
image: goharbor/harbor-core:v2.3.0 image: goharbor/harbor-core:v2.4.1
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
startupProbe: startupProbe:
httpGet: httpGet:
@ -668,7 +668,7 @@ spec:
automountServiceAccountToken: false automountServiceAccountToken: false
containers: containers:
- name: exporter - name: exporter
image: goharbor/harbor-exporter:v2.3.0 image: goharbor/harbor-exporter:v2.4.1
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
livenessProbe: livenessProbe:
httpGet: httpGet:
@ -738,7 +738,7 @@ spec:
terminationGracePeriodSeconds: 120 terminationGracePeriodSeconds: 120
containers: containers:
- name: jobservice - name: jobservice
image: goharbor/harbor-jobservice:v2.3.0 image: goharbor/harbor-jobservice:v2.4.1
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
livenessProbe: livenessProbe:
httpGet: httpGet:
@ -816,7 +816,7 @@ spec:
automountServiceAccountToken: false automountServiceAccountToken: false
containers: containers:
- name: portal - name: portal
image: goharbor/harbor-portal:v2.3.0 image: goharbor/harbor-portal:v2.4.1
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
resources: resources:
requests: requests:
@ -903,7 +903,7 @@ spec:
terminationGracePeriodSeconds: 120 terminationGracePeriodSeconds: 120
containers: containers:
- name: registry - name: registry
image: goharbor/registry-photon:v2.3.0 image: goharbor/registry-photon:v2.4.1
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
livenessProbe: livenessProbe:
httpGet: httpGet:
@ -941,7 +941,7 @@ spec:
mountPath: /etc/registry/config.yml mountPath: /etc/registry/config.yml
subPath: config.yml subPath: config.yml
- name: registryctl - name: registryctl
image: goharbor/harbor-registryctl:v2.3.0 image: goharbor/harbor-registryctl:v2.4.1
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
livenessProbe: livenessProbe:
httpGet: httpGet:
@ -1055,7 +1055,7 @@ spec:
# for more detail. # for more detail.
# we may remove it after several releases # we may remove it after several releases
- name: "data-migrator" - name: "data-migrator"
image: goharbor/harbor-db:v2.3.0 image: goharbor/harbor-db:v2.4.1
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
command: ["/bin/sh"] command: ["/bin/sh"]
args: ["-c", "[ -e /var/lib/postgresql/data/postgresql.conf ] && [ ! -d /var/lib/postgresql/data/pgdata ] && mkdir -m 0700 /var/lib/postgresql/data/pgdata && mv /var/lib/postgresql/data/* /var/lib/postgresql/data/pgdata/ || true"] args: ["-c", "[ -e /var/lib/postgresql/data/postgresql.conf ] && [ ! -d /var/lib/postgresql/data/pgdata ] && mkdir -m 0700 /var/lib/postgresql/data/pgdata && mv /var/lib/postgresql/data/* /var/lib/postgresql/data/pgdata/ || true"]
@ -1068,7 +1068,7 @@ spec:
# use this init container to correct the permission # use this init container to correct the permission
# as "fsGroup" applied before the init container running, the container has enough permission to execute the command # as "fsGroup" applied before the init container running, the container has enough permission to execute the command
- name: "data-permissions-ensurer" - name: "data-permissions-ensurer"
image: goharbor/harbor-db:v2.3.0 image: goharbor/harbor-db:v2.4.1
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
command: ["/bin/sh"] command: ["/bin/sh"]
args: ["-c", "chmod -R 700 /var/lib/postgresql/data/pgdata || true"] args: ["-c", "chmod -R 700 /var/lib/postgresql/data/pgdata || true"]
@ -1078,7 +1078,7 @@ spec:
subPath: subPath:
containers: containers:
- name: database - name: database
image: goharbor/harbor-db:v2.3.0 image: goharbor/harbor-db:v2.4.1
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
livenessProbe: livenessProbe:
exec: exec:
@ -1160,7 +1160,7 @@ spec:
terminationGracePeriodSeconds: 120 terminationGracePeriodSeconds: 120
containers: containers:
- name: redis - name: redis
image: goharbor/redis-photon:v2.3.0 image: goharbor/redis-photon:v2.4.1
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
livenessProbe: livenessProbe:
tcpSocket: tcpSocket: