update image references from k8s.gcr.io to registry.k8s.io

This commit is contained in:
salasberryfin 2023-02-10 09:56:01 +01:00
parent b1681a2461
commit 66e1eeb7c6
48 changed files with 51 additions and 51 deletions

View File

@ -41,7 +41,7 @@ spec:
spec:
serviceAccountName: pod-nanny
containers:
- image: k8s.gcr.io/autoscaling/addon-resizer:1.8.14
- image: registry.k8s.io/autoscaling/addon-resizer:1.8.14
imagePullPolicy: Always
name: pod-nanny
resources:

View File

@ -723,7 +723,7 @@ message Container {
// Describe a container image
message ContainerImage {
// Names by which this image is known.
// e.g. ["k8s.gcr.io/hyperkube:v1.0.7", "dockerhub.io/google_containers/hyperkube:v1.0.7"]
// e.g. ["registry.k8s.io/hyperkube:v1.0.7", "dockerhub.io/google_containers/hyperkube:v1.0.7"]
repeated string names = 1;
// The size of the image in bytes.

View File

@ -3993,7 +3993,7 @@ type PodSignature struct {
// Describe a container image
type ContainerImage struct {
// Names by which this image is known.
// e.g. ["k8s.gcr.io/hyperkube:v1.0.7", "dockerhub.io/google_containers/hyperkube:v1.0.7"]
// e.g. ["registry.k8s.io/hyperkube:v1.0.7", "dockerhub.io/google_containers/hyperkube:v1.0.7"]
Names []string `json:"names" protobuf:"bytes,1,rep,name=names"`
// The size of the image in bytes.
// +optional

View File

@ -340,7 +340,7 @@ func (Container) SwaggerDoc() map[string]string {
var map_ContainerImage = map[string]string{
"": "Describe a container image",
"names": "Names by which this image is known. e.g. [\"k8s.gcr.io/hyperkube:v1.0.7\", \"dockerhub.io/google_containers/hyperkube:v1.0.7\"]",
"names": "Names by which this image is known. e.g. [\"registry.k8s.io/hyperkube:v1.0.7\", \"dockerhub.io/google_containers/hyperkube:v1.0.7\"]",
"sizeBytes": "The size of the image in bytes.",
}

View File

@ -357,7 +357,7 @@ Though enough for the majority of installations, the default PodSecurityPolicy _
| fullnameOverride | string | `""` | String to fully override `cluster-autoscaler.fullname` template. |
| image.pullPolicy | string | `"IfNotPresent"` | Image pull policy |
| image.pullSecrets | list | `[]` | Image pull secrets |
| image.repository | string | `"k8s.gcr.io/autoscaling/cluster-autoscaler"` | Image repository |
| image.repository | string | `"registry.k8s.io/autoscaling/cluster-autoscaler"` | Image repository |
| image.tag | string | `"v1.23.0"` | Image tag |
| kubeTargetVersionOverride | string | `""` | Allow overriding the `.Capabilities.KubeVersion.GitVersion` check. Useful for `helm template` commands. |
| magnumCABundlePath | string | `"/etc/kubernetes/ca-bundle.crt"` | Path to the host's CA bundle, from `ca-file` in the cloud-config file. |

View File

@ -234,7 +234,7 @@ fullnameOverride: ""
image:
# image.repository -- Image repository
repository: k8s.gcr.io/autoscaling/cluster-autoscaler
repository: registry.k8s.io/autoscaling/cluster-autoscaler
# image.tag -- Image tag
tag: v1.23.0
# image.pullPolicy -- Image pull policy

View File

@ -441,7 +441,7 @@ spec:
terminationGracePeriodSeconds: 0
containers:
- name: reserve-resources
image: k8s.gcr.io/pause
image: registry.k8s.io/pause
resources:
requests:
cpu: "200m"
@ -464,7 +464,7 @@ spec:
app: overprovisioning-autoscaler
spec:
containers:
- image: k8s.gcr.io/cluster-proportional-autoscaler-amd64:1.8.1
- image: registry.k8s.io/cluster-proportional-autoscaler-amd64:1.8.1
name: autoscaler
command:
- /cluster-proportional-autoscaler

View File

@ -144,7 +144,7 @@ spec:
fsGroup: 65534
serviceAccountName: cluster-autoscaler
containers:
- image: k8s.gcr.io/autoscaling/cluster-autoscaler:v1.22.2
- image: registry.k8s.io/autoscaling/cluster-autoscaler:v1.22.2
name: cluster-autoscaler
resources:
limits:

View File

@ -144,7 +144,7 @@ spec:
fsGroup: 65534
serviceAccountName: cluster-autoscaler
containers:
- image: k8s.gcr.io/autoscaling/cluster-autoscaler:v1.22.2
- image: registry.k8s.io/autoscaling/cluster-autoscaler:v1.22.2
name: cluster-autoscaler
resources:
limits:

View File

@ -144,7 +144,7 @@ spec:
fsGroup: 65534
serviceAccountName: cluster-autoscaler
containers:
- image: k8s.gcr.io/autoscaling/cluster-autoscaler:v1.22.2
- image: registry.k8s.io/autoscaling/cluster-autoscaler:v1.22.2
name: cluster-autoscaler
resources:
limits:

View File

@ -151,7 +151,7 @@ spec:
nodeSelector:
kubernetes.io/role: master
containers:
- image: k8s.gcr.io/autoscaling/cluster-autoscaler:v1.22.2
- image: registry.k8s.io/autoscaling/cluster-autoscaler:v1.22.2
name: cluster-autoscaler
resources:
limits:

View File

@ -154,7 +154,7 @@ spec:
spec:
serviceAccountName: cluster-autoscaler
containers:
- image: k8s.gcr.io/autoscaling/cluster-autoscaler:{{ ca_version }}
- image: registry.k8s.io/autoscaling/cluster-autoscaler:{{ ca_version }}
imagePullPolicy: Always
name: cluster-autoscaler
resources:

View File

@ -188,7 +188,7 @@ spec:
secretKeyRef:
key: Deployment
name: cluster-autoscaler-azure
image: k8s.gcr.io/autoscaling/cluster-autoscaler:{{ ca_version }}
image: registry.k8s.io/autoscaling/cluster-autoscaler:{{ ca_version }}
imagePullPolicy: Always
name: cluster-autoscaler
resources:

View File

@ -204,7 +204,7 @@ spec:
secretKeyRef:
key: Deployment
name: cluster-autoscaler-azure
image: k8s.gcr.io/autoscaling/cluster-autoscaler:{{ ca_version }}
image: registry.k8s.io/autoscaling/cluster-autoscaler:{{ ca_version }}
imagePullPolicy: Always
name: cluster-autoscaler
resources:

View File

@ -189,7 +189,7 @@ spec:
secretKeyRef:
key: Deployment
name: cluster-autoscaler-azure
image: k8s.gcr.io/autoscaling/cluster-autoscaler:{{ ca_version }}
image: registry.k8s.io/autoscaling/cluster-autoscaler:{{ ca_version }}
imagePullPolicy: Always
name: cluster-autoscaler
resources:

View File

@ -197,7 +197,7 @@ spec:
secretKeyRef:
key: Deployment
name: cluster-autoscaler-azure
image: k8s.gcr.io/autoscaling/cluster-autoscaler:{{ ca_version }}
image: registry.k8s.io/autoscaling/cluster-autoscaler:{{ ca_version }}
imagePullPolicy: Always
name: cluster-autoscaler
resources:

View File

@ -159,7 +159,7 @@ spec:
nodeSelector:
kubernetes.io/role: master
containers:
- image: k8s.gcr.io/autoscaling/cluster-autoscaler:{{ ca_version }}
- image: registry.k8s.io/autoscaling/cluster-autoscaler:{{ ca_version }}
imagePullPolicy: Always
name: cluster-autoscaler
command:

View File

@ -157,7 +157,7 @@ spec:
nodeSelector:
kubernetes.io/role: master
containers:
- image: k8s.gcr.io/autoscaling/cluster-autoscaler:{{ ca_version }}
- image: registry.k8s.io/autoscaling/cluster-autoscaler:{{ ca_version }}
imagePullPolicy: Always
name: cluster-autoscaler
command:

View File

@ -152,7 +152,7 @@ spec:
spec:
serviceAccountName: cluster-autoscaler
containers:
- image: k8s.gcr.io/autoscaling/cluster-autoscaler:{{ ca_version }}
- image: registry.k8s.io/autoscaling/cluster-autoscaler:{{ ca_version }}
imagePullPolicy: Always
name: cluster-autoscaler
resources:

View File

@ -32,7 +32,7 @@ spec:
serviceAccountName: cluster-autoscaler
containers:
- name: cluster-autoscaler
image: k8s.gcr.io/autoscaling/cluster-autoscaler:latest
image: registry.k8s.io/autoscaling/cluster-autoscaler:latest
imagePullPolicy: Always
env:
- name: BOOTSTRAP_TOKEN_ID

View File

@ -139,7 +139,7 @@ spec:
spec:
serviceAccountName: cluster-autoscaler
containers:
- image: k8s.gcr.io/autoscaling/cluster-autoscaler:v1.25.0 # or your custom image
- image: registry.k8s.io/autoscaling/cluster-autoscaler:v1.25.0 # or your custom image
name: cluster-autoscaler
imagePullPolicy: Always
resources:

View File

@ -143,7 +143,7 @@ spec:
serviceAccountName: cluster-autoscaler
containers:
- name: cluster-autoscaler
image: k8s.gcr.io/autoscaling/cluster-autoscaler:v1.24.0
image: registry.k8s.io/autoscaling/cluster-autoscaler:v1.24.0
imagePullPolicy: "Always"
resources:
limits:

View File

@ -143,7 +143,7 @@ spec:
serviceAccountName: cluster-autoscaler
containers:
- name: cluster-autoscaler
image: k8s.gcr.io/autoscaling/cluster-autoscaler:v1.24.0
image: registry.k8s.io/autoscaling/cluster-autoscaler:v1.24.0
imagePullPolicy: "Always"
resources:
limits:

View File

@ -139,7 +139,7 @@ spec:
spec:
serviceAccountName: cluster-autoscaler
containers:
- image: k8s.gcr.io/autoscaling/cluster-autoscaler:latest
- image: registry.k8s.io/autoscaling/cluster-autoscaler:latest
name: cluster-autoscaler
resources:
limits:

View File

@ -152,7 +152,7 @@ spec:
- key: node-role.kubernetes.io/master
operator: Exists
containers:
- image: k8s.gcr.io/autoscaling/cluster-autoscaler:latest # or your custom image
- image: registry.k8s.io/autoscaling/cluster-autoscaler:latest # or your custom image
name: cluster-autoscaler
resources:
limits:

View File

@ -151,7 +151,7 @@ dns: {}
etcd:
local:
dataDir: /var/lib/etcd
imageRepository: k8s.gcr.io
imageRepository: registry.k8s.io
kind: ClusterConfiguration
kubernetesVersion: 1.22.0
networking:

View File

@ -148,7 +148,7 @@ spec:
spec:
serviceAccountName: cluster-autoscaler
containers:
- image: k8s.gcr.io/autoscaling/cluster-autoscaler:latest # or your custom image
- image: registry.k8s.io/autoscaling/cluster-autoscaler:latest # or your custom image
name: cluster-autoscaler
imagePullPolicy: Always
resources:

View File

@ -171,7 +171,7 @@ spec:
spec:
serviceAccountName: cluster-autoscaler
containers:
- image: k8s.gcr.io/cluster-autoscaler:{{ ca_version }}
- image: registry.k8s.io/cluster-autoscaler:{{ ca_version }}
name: cluster-autoscaler
command:
- ./cluster-autoscaler

View File

@ -139,7 +139,7 @@ spec:
spec:
serviceAccountName: cluster-autoscaler
containers:
- image: k8s.gcr.io/autoscaling/cluster-autoscaler:latest
- image: registry.k8s.io/autoscaling/cluster-autoscaler:latest
name: cluster-autoscaler
resources:
limits:

View File

@ -172,7 +172,7 @@ Note the 3 specified instance-pools are intended to correspond to different avai
```yaml
...
containers:
- image: k8s.gcr.io/autoscaling/cluster-autoscaler:{{ ca_version }}
- image: registry.k8s.io/autoscaling/cluster-autoscaler:{{ ca_version }}
name: cluster-autoscaler
command:
- ./cluster-autoscaler

View File

@ -141,7 +141,7 @@ spec:
spec:
serviceAccountName: cluster-autoscaler
containers:
- image: k8s.gcr.io/autoscaling/cluster-autoscaler:{{ ca_version }}
- image: registry.k8s.io/autoscaling/cluster-autoscaler:{{ ca_version }}
name: cluster-autoscaler
command:
- ./cluster-autoscaler

View File

@ -141,7 +141,7 @@ spec:
spec:
serviceAccountName: cluster-autoscaler
containers:
- image: k8s.gcr.io/autoscaling/cluster-autoscaler:{{ ca_version }}
- image: registry.k8s.io/autoscaling/cluster-autoscaler:{{ ca_version }}
name: cluster-autoscaler
command:
- ./cluster-autoscaler

View File

@ -147,7 +147,7 @@ spec:
serviceAccountName: cluster-autoscaler
containers:
- name: cluster-autoscaler
image: k8s.gcr.io/autoscaling/cluster-autoscaler:latest
image: registry.k8s.io/autoscaling/cluster-autoscaler:latest
imagePullPolicy: Always
env:
- name: BOOTSTRAP_TOKEN_ID

View File

@ -136,7 +136,7 @@ spec:
spec:
serviceAccountName: cluster-autoscaler
containers:
- image: k8s.gcr.io/autoscaling/cluster-autoscaler:latest
- image: registry.k8s.io/autoscaling/cluster-autoscaler:latest
name: cluster-autoscaler
resources:
limits:

View File

@ -20,7 +20,7 @@ spec:
runAsUser: 65534 # nobody
containers:
- name: admission-controller
image: k8s.gcr.io/autoscaling/vpa-admission-controller:0.13.0
image: registry.k8s.io/autoscaling/vpa-admission-controller:0.13.0
imagePullPolicy: Always
env:
- name: NAMESPACE

View File

@ -26,7 +26,7 @@ spec:
runAsUser: 65534 # nobody
containers:
- name: recommender
image: k8s.gcr.io/autoscaling/vpa-recommender:0.13.0
image: registry.k8s.io/autoscaling/vpa-recommender:0.13.0
imagePullPolicy: Always
args:
- --name=performance

View File

@ -26,7 +26,7 @@ spec:
runAsUser: 65534 # nobody
containers:
- name: recommender
image: k8s.gcr.io/autoscaling/vpa-recommender:0.13.0
image: registry.k8s.io/autoscaling/vpa-recommender:0.13.0
imagePullPolicy: Always
args:
- --name=frugal

View File

@ -20,7 +20,7 @@ spec:
runAsUser: 65534 # nobody
containers:
- name: recommender
image: k8s.gcr.io/autoscaling/vpa-recommender:0.13.0
image: registry.k8s.io/autoscaling/vpa-recommender:0.13.0
imagePullPolicy: Always
resources:
limits:

View File

@ -20,7 +20,7 @@ spec:
runAsUser: 65534 # nobody
containers:
- name: updater
image: k8s.gcr.io/autoscaling/vpa-updater:0.13.0
image: registry.k8s.io/autoscaling/vpa-updater:0.13.0
imagePullPolicy: Always
env:
- name: NAMESPACE

View File

@ -302,7 +302,7 @@ var _ = ActuationSuiteE2eDescribe("Actuation", func() {
// TODO(krzysied): Update the image url when the agnhost:2.10 image
// is promoted to the k8s-e2e-test-images repository.
agnhostImage = "gcr.io/k8s-staging-e2e-test-images/agnhost:2.10"
sidecarParam = "--sidecar-image=k8s.gcr.io/pause:3.1"
sidecarParam = "--sidecar-image=registry.k8s.io/pause:3.1"
sidecarName = "webhook-added-sidecar"
servicePort = int32(8443)
containerPort = int32(8444)

View File

@ -144,7 +144,7 @@ func NewNHamstersDeployment(f *framework.Framework, n int) *appsv1.Deployment {
defaultHamsterReplicas, /*replicas*/
hamsterLabels, /*podLabels*/
GetHamsterContainerNameByIndex(0), /*imageName*/
"k8s.gcr.io/ubuntu-slim:0.1", /*image*/
"registry.k8s.io/ubuntu-slim:0.1", /*image*/
appsv1.RollingUpdateDeploymentStrategyType, /*strategyType*/
)
d.ObjectMeta.Namespace = f.Namespace.Name
@ -278,7 +278,7 @@ func SetupHamsterContainer(cpu, memory string) apiv1.Container {
return apiv1.Container{
Name: "hamster",
Image: "k8s.gcr.io/ubuntu-slim:0.1",
Image: "registry.k8s.io/ubuntu-slim:0.1",
Resources: apiv1.ResourceRequirements{
Requests: apiv1.ResourceList{
apiv1.ResourceCPU: cpuQuantity,

View File

@ -290,7 +290,7 @@ var _ = ActuationSuiteE2eDescribe("Actuation", func() {
// TODO(krzysied): Update the image url when the agnhost:2.10 image
// is promoted to the k8s-e2e-test-images repository.
agnhostImage = "gcr.io/k8s-staging-e2e-test-images/agnhost:2.10"
sidecarParam = "--sidecar-image=k8s.gcr.io/pause:3.1"
sidecarParam = "--sidecar-image=registry.k8s.io/pause:3.1"
sidecarName = "webhook-added-sidecar"
servicePort = int32(8443)
containerPort = int32(8444)

View File

@ -144,7 +144,7 @@ func NewNHamstersDeployment(f *framework.Framework, n int) *appsv1.Deployment {
defaultHamsterReplicas, /*replicas*/
hamsterLabels, /*podLabels*/
GetHamsterContainerNameByIndex(0), /*imageName*/
"k8s.gcr.io/ubuntu-slim:0.1", /*image*/
"registry.k8s.io/ubuntu-slim:0.1", /*image*/
appsv1.RollingUpdateDeploymentStrategyType, /*strategyType*/
)
d.ObjectMeta.Namespace = f.Namespace.Name
@ -279,7 +279,7 @@ func SetupHamsterContainer(cpu, memory string) apiv1.Container {
return apiv1.Container{
Name: "hamster",
Image: "k8s.gcr.io/ubuntu-slim:0.1",
Image: "registry.k8s.io/ubuntu-slim:0.1",
Resources: apiv1.ResourceRequirements{
Requests: apiv1.ResourceList{
apiv1.ResourceCPU: cpuQuantity,

View File

@ -31,7 +31,7 @@ spec:
spec:
containers:
- name: hamster
image: k8s.gcr.io/ubuntu-slim:0.1
image: registry.k8s.io/ubuntu-slim:0.1
resources:
requests:
cpu: 100m

View File

@ -49,7 +49,7 @@ spec:
runAsUser: 65534 # nobody
containers:
- name: hamster
image: k8s.gcr.io/ubuntu-slim:0.1
image: registry.k8s.io/ubuntu-slim:0.1
resources:
requests:
cpu: 100m

View File

@ -26,7 +26,7 @@ spec:
spec:
containers:
- name: master
image: k8s.gcr.io/redis:e2e # or just image: redis
image: registry.k8s.io/redis:e2e # or just image: redis
resources:
requests:
cpu: 100m

View File

@ -27,7 +27,7 @@ spec:
spec:
containers:
- name: master
image: k8s.gcr.io/redis:e2e # or just image: redis
image: registry.k8s.io/redis:e2e # or just image: redis
resources:
requests:
cpu: 100m

View File

@ -31,7 +31,7 @@ if [ $# -eq 0 ]; then
exit 1
fi
DEFAULT_REGISTRY="k8s.gcr.io/autoscaling"
DEFAULT_REGISTRY="registry.k8s.io/autoscaling"
DEFAULT_TAG="0.13.0"
REGISTRY_TO_APPLY=${REGISTRY-$DEFAULT_REGISTRY}