4
0
Fork 2
mirror of https://gerrit.hackerspace.pl/hscloud synced 2024-12-14 16:10:21 +00:00

cluster/registry: bump registry to v2.8.3 (latest)

Change-Id: I16958556db3b11456184da1c80f2c2faf1c2f9b7
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/2014
Reviewed-by: informatic <informatic@hackerspace.pl>
This commit is contained in:
radex 2024-11-01 00:05:23 +01:00
parent 2fac2a3fbb
commit 87f6a9d1c3

View file

@ -215,7 +215,7 @@ local kube = import "../../../kube/hscloud.libsonnet";
},
containers_: {
registry: kube.Container("docker-registry") {
image: "registry:2.7.1",
image: "registry:2.8.3",
args: ["/config/config.yml"],
ports_: {
registry: { containerPort: 5000 },
@ -229,6 +229,7 @@ local kube = import "../../../kube/hscloud.libsonnet";
local cephSecretName = "rook-ceph-object-user-%s-registry" % [cfg.objectStorageName],
REGISTRY_STORAGE_S3_ACCESSKEY: { secretKeyRef: { name: cephSecretName, key: "AccessKey" } },
REGISTRY_STORAGE_S3_SECRETKEY: { secretKeyRef: { name: cephSecretName, key: "SecretKey" } },
REGISTRY_AUTH_PORT: '', // lmao https://github.com/distribution/distribution/issues/3653
},
},
},