Fix registry bootstrap values

The quay.io/airshipit/kubernetes-entrypoint:v1.0.0 image format is
deprecated and not supported any more by the docker registry.

This is temporary fix to download the image from third party repo
until we update the quay.io/airshipit/kubernetes-entrypoint:v1.0.0.

The deprecation message is as follows:

[DEPRECATION NOTICE] Docker Image Format v1 and Docker
Image manifest version 2, schema 1 support is disabled
by default and will be removed in an upcoming release.
Suggest the author of quay.io/airshipit/kubernetes-entrypoint:v1.0.0
to upgrade the image to the OCI Format or Docker Image
manifest v2, schema 2. More information at
https://docs.docker.com/go/deprecated-image-specs/

The docker-registry container must start not
earlier than docker-images PVC is bound.

Change-Id: I6bff98aa7d0b23e13a17a038f3039b7956703d40
This commit is contained in:
Vladimir Kozhukalov 2024-03-20 16:51:45 -05:00
parent 4f735b471f
commit cbbeebb5a1
4 changed files with 4 additions and 3 deletions

View File

@ -15,7 +15,7 @@ apiVersion: v1
appVersion: v2.0.0 appVersion: v2.0.0
description: OpenStack-Helm Docker Registry description: OpenStack-Helm Docker Registry
name: registry name: registry
version: 0.1.7 version: 0.1.8
home: https://github.com/kubernetes/ingress home: https://github.com/kubernetes/ingress
sources: sources:
- https://opendev.org/openstack/openstack-helm - https://opendev.org/openstack/openstack-helm

View File

@ -138,7 +138,7 @@ bootstrap:
script: script:
docker info docker info
preload_images: preload_images:
- quay.io/airshipit/kubernetes-entrypoint:v1.0.0 - quay.io/kozhukalov/kubernetes-entrypoint:v1.0.0
dependencies: dependencies:
static: static:

View File

@ -8,4 +8,5 @@ registry:
- 0.1.5 Update htk requirements - 0.1.5 Update htk requirements
- 0.1.6 Added OCI registry authentication - 0.1.6 Added OCI registry authentication
- 0.1.7 Update kubernetes registry to registry.k8s.io - 0.1.7 Update kubernetes registry to registry.k8s.io
- 0.1.8 Update bootstrap image url for newer image format
... ...

View File

@ -30,7 +30,7 @@ metadata:
name: ${NAMESPACE} name: ${NAMESPACE}
EOF EOF
kubectl create -f /tmp/${NAMESPACE}-ns.yaml kubectl apply -f /tmp/${NAMESPACE}-ns.yaml
done done
#NOTE: Deploy nfs for the docker registry #NOTE: Deploy nfs for the docker registry