forked from k-space/kube
		
	mirror.gcr.io for harbor
This commit is contained in:
		| @@ -396,7 +396,7 @@ spec: | |||||||
|       terminationGracePeriodSeconds: 120 |       terminationGracePeriodSeconds: 120 | ||||||
|       containers: |       containers: | ||||||
|       - name: core |       - name: core | ||||||
|         image: goharbor/harbor-core:v2.4.2 |         image: mirror.gcr.io/goharbor/harbor-core:v2.4.2 | ||||||
|         startupProbe: |         startupProbe: | ||||||
|           httpGet: |           httpGet: | ||||||
|             path: /api/v2.0/ping |             path: /api/v2.0/ping | ||||||
| @@ -500,7 +500,7 @@ spec: | |||||||
|       terminationGracePeriodSeconds: 120 |       terminationGracePeriodSeconds: 120 | ||||||
|       containers: |       containers: | ||||||
|       - name: jobservice |       - name: jobservice | ||||||
|         image: goharbor/harbor-jobservice:v2.4.2 |         image: mirror.gcr.io/goharbor/harbor-jobservice:v2.4.2 | ||||||
|         readinessProbe: |         readinessProbe: | ||||||
|           httpGet: |           httpGet: | ||||||
|             path: /api/v1/stats |             path: /api/v1/stats | ||||||
| @@ -571,7 +571,7 @@ spec: | |||||||
|       automountServiceAccountToken: false |       automountServiceAccountToken: false | ||||||
|       containers: |       containers: | ||||||
|       - name: portal |       - name: portal | ||||||
|         image: goharbor/harbor-portal:v2.4.2 |         image: mirror.gcr.io/goharbor/harbor-portal:v2.4.2 | ||||||
|         readinessProbe: |         readinessProbe: | ||||||
|           httpGet: |           httpGet: | ||||||
|             path: / |             path: / | ||||||
| @@ -625,7 +625,7 @@ spec: | |||||||
|       terminationGracePeriodSeconds: 120 |       terminationGracePeriodSeconds: 120 | ||||||
|       containers: |       containers: | ||||||
|       - name: registry |       - name: registry | ||||||
|         image: goharbor/registry-photon:v2.4.2 |         image: mirror.gcr.io/goharbor/registry-photon:v2.4.2 | ||||||
|         readinessProbe: |         readinessProbe: | ||||||
|           httpGet: |           httpGet: | ||||||
|             path: / |             path: / | ||||||
| @@ -652,7 +652,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.4.2 |         image: mirror.gcr.io/goharbor/harbor-registryctl:v2.4.2 | ||||||
|         readinessProbe: |         readinessProbe: | ||||||
|           httpGet: |           httpGet: | ||||||
|             path: /api/health |             path: /api/health | ||||||
| @@ -743,7 +743,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.4.2 |         image: mirror.gcr.io/goharbor/harbor-db:v2.4.2 | ||||||
|         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"] | ||||||
|         volumeMounts: |         volumeMounts: | ||||||
| @@ -755,7 +755,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.4.2 |         image: mirror.gcr.io/goharbor/harbor-db:v2.4.2 | ||||||
|         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"] | ||||||
|         volumeMounts: |         volumeMounts: | ||||||
| @@ -764,7 +764,7 @@ spec: | |||||||
|             subPath:  |             subPath:  | ||||||
|       containers: |       containers: | ||||||
|       - name: database |       - name: database | ||||||
|         image: goharbor/harbor-db:v2.4.2 |         image: mirror.gcr.io/goharbor/harbor-db:v2.4.2 | ||||||
|         readinessProbe: |         readinessProbe: | ||||||
|           exec: |           exec: | ||||||
|             command: |             command: | ||||||
| @@ -838,7 +838,7 @@ spec: | |||||||
|       terminationGracePeriodSeconds: 120 |       terminationGracePeriodSeconds: 120 | ||||||
|       containers: |       containers: | ||||||
|       - name: redis |       - name: redis | ||||||
|         image: goharbor/redis-photon:v2.4.2 |         image: mirror.gcr.io/goharbor/redis-photon:v2.4.2 | ||||||
|         readinessProbe: |         readinessProbe: | ||||||
|           tcpSocket: |           tcpSocket: | ||||||
|             port: 6379 |             port: 6379 | ||||||
| @@ -895,7 +895,7 @@ spec: | |||||||
|       automountServiceAccountToken: false |       automountServiceAccountToken: false | ||||||
|       containers: |       containers: | ||||||
|         - name: trivy |         - name: trivy | ||||||
|           image: goharbor/trivy-adapter-photon:v2.4.2 |           image: mirror.gcr.io/goharbor/trivy-adapter-photon:v2.4.2 | ||||||
|           imagePullPolicy: IfNotPresent |           imagePullPolicy: IfNotPresent | ||||||
|           securityContext: |           securityContext: | ||||||
|             privileged: false |             privileged: false | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user