Skip to content

Commit

Permalink
Use the registry image synced by the image-syncer (#22)
Browse files Browse the repository at this point in the history
* migrate to external/registry and new registry-init

* fix image name
  • Loading branch information
pPrecel authored May 7, 2024
1 parent ecd1db4 commit 10bd061
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ spec:
hostIPC: false # Optional. The default is false if the entry is not there.
initContainers:
- name: generate-htpasswd
image: "{{ include "imageurl" (dict "reg" .Values.global.containerRegistry "img" .Values.global.images.registry) }}"
image: "{{ include "imageurl" (dict "reg" .Values.global.containerRegistry "img" .Values.global.images.registry_init) }}"
{{- if .Values.initContainers.securityContext }}
securityContext:
{{- include "tplValue" ( dict "value" .Values.initContainers.securityContext "context" . ) | nindent 12 }}
Expand Down
8 changes: 6 additions & 2 deletions config/docker-registry/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,12 @@ global:
path: europe-docker.pkg.dev/kyma-project
images:
registry:
name: "tpi/registry"
version: "2.8.1-1ae4c190"
name: "registry"
version: "2.8.3"
directory: "prod/external"
registry_init:
name: "registry-init"
version: "v20240506-57d31b1d"
directory: "prod"
dockerregistryPriorityClassValue: 2000000
dockerregistryPriorityClassName: "dockerregistry-priority"
Expand Down
3 changes: 2 additions & 1 deletion sec-scanners-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ module-name: docker-registry
rc-tag: 1.4.0
protecode:
- europe-docker.pkg.dev/kyma-project/prod/dockerregistry-operator:main
- europe-docker.pkg.dev/kyma-project/prod/tpi/registry:2.8.1-1ae4c190
- europe-docker.pkg.dev/kyma-project/prod/external/registry:2.8.3
- europe-docker.pkg.dev/kyma-project/prod/registry-init:v20240506-57d31b1d
whitesource:
language: golang-mod
subprojects: false
Expand Down

0 comments on commit 10bd061

Please sign in to comment.