Skip to content

Commit

Permalink
modify images to use registry.k8s.io (kubernetes#2173)
Browse files Browse the repository at this point in the history
* modify images to use registry.k8s.io

* fix image names
  • Loading branch information
zetaab authored and Niclas Schad committed Dec 1, 2023
1 parent f1b6015 commit 64d36f5
Show file tree
Hide file tree
Showing 19 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion charts/cinder-csi-plugin/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ csi:
extraArgs: {}
plugin:
image:
repository: docker.io/k8scloudprovider/cinder-csi-plugin
repository: registry.k8s.io/provider-os/cinder-csi-plugin
pullPolicy: IfNotPresent
tag: # defaults to .Chart.AppVersion
volumes:
Expand Down
2 changes: 1 addition & 1 deletion charts/manila-csi-plugin/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ csimanila:

# Image spec
image:
repository: k8scloudprovider/manila-csi-plugin
repository: registry.k8s.io/provider-os/manila-csi-plugin
pullPolicy: IfNotPresent
tag: # defaults to .Chart.AppVersion

Expand Down
2 changes: 1 addition & 1 deletion charts/openstack-cloud-controller-manager/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# Image repository name and tag
image:
repository: docker.io/k8scloudprovider/openstack-cloud-controller-manager
repository: registry.k8s.io/provider-os/openstack-cloud-controller-manager
tag: ""

# Additional containers which are run before the app containers are started.
Expand Down
2 changes: 1 addition & 1 deletion docs/barbican-kms-plugin/using-barbican-kms-plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ $ docker run -d --volume=/var/lib/kms:/var/lib/kms \
--volume=/etc/kubernetes:/etc/kubernetes \
-e socketpath=/var/lib/kms/kms.sock \
-e cloudconfig=/etc/kubernetes/cloud-config \
docker.io/k8scloudprovider/barbican-kms-plugin-amd64:v1.24.0
registry.k8s.io/provider-os/barbican-kms-plugin:v1.24.6
```
6. Create /etc/kubernetes/encryption-config.yaml
```
Expand Down
2 changes: 1 addition & 1 deletion docs/cinder-csi-plugin/using-cinder-csi-plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ This plugin is compatible with CSI versions v1.3.0, v1.2.0 , v1.1.0, and v1.0.0

## Downloads

Stable released version images of the plugin can be found at [Docker Hub](https://hub.docker.com/r/k8scloudprovider/cinder-csi-plugin)
Stable released version images of the plugin can be pulled from `registry.k8s.io/provider-os/cinder-csi-plugin:[release tag]`

## Kubernetes Compatibility

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -251,8 +251,8 @@ Now we are ready to create the k8s-keystone-auth deployment and expose
it as a service. There are several things we need to notice in the
deployment manifest:

- We are using the official nightly-built image
`k8scloudprovider/k8s-keystone-auth:latest`
- We are using image
`registry.k8s.io/provider-os/k8s-keystone-auth:v1.24.6`
- We use `k8s-auth-policy` configmap created above.
- The pod uses service account `keystone-auth` created above.
- We use `keystone-auth-certs` secret created above to inject the
Expand Down
2 changes: 1 addition & 1 deletion docs/magnum-auto-healer/using-magnum-auto-healer.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ user_id=ceb61464a3d341ebabdf97d1d4b97099
user_project_id=b23a5e41d1af4c20974bf58b4dff8e5a
password=password
region=RegionOne
image=k8scloudprovider/magnum-auto-healer:v1.24.0
image=registry.k8s.io/provider-os/magnum-auto-healer:v1.24.6
cat <<EOF | kubectl apply -f -
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ Here are several other config options are not included in the example configurat
### Deploy octavia-ingress-controller

```shell
image="docker.io/k8scloudprovider/octavia-ingress-controller:v1.24.0"
image="registry.k8s.io/provider-os/octavia-ingress-controller:v1.24.6"
cat <<EOF > /etc/kubernetes/octavia-ingress-controller/deployment.yaml
---
Expand Down
2 changes: 1 addition & 1 deletion examples/webhook/keystone-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
serviceAccountName: k8s-keystone
containers:
- name: k8s-keystone-auth
image: k8scloudprovider/k8s-keystone-auth:v1.24.0
image: registry.k8s.io/provider-os/k8s-keystone-auth:v1.24.6
args:
- ./bin/k8s-keystone-auth
- --tls-cert-file
Expand Down
2 changes: 1 addition & 1 deletion manifests/barbican-kms/pod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
spec:
containers:
- name: barbican-kms
image: docker.io/k8scloudprovider/barbican-kms-plugin:v1.24.6
image: registry.k8s.io/provider-os/barbican-kms-plugin:v1.24.6
args:
- "--socketpath=/kms/kms.sock"
- "--cloud-config=/etc/kubernetes/cloud-config"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ spec:
- mountPath: /var/lib/csi/sockets/pluginproxy/
name: socket-dir
- name: cinder-csi-plugin
image: docker.io/k8scloudprovider/cinder-csi-plugin:v1.24.6
image: registry.k8s.io/provider-os/cinder-csi-plugin:v1.24.6
args:
- /bin/cinder-csi-plugin
- "--endpoint=$(CSI_ENDPOINT)"
Expand Down
2 changes: 1 addition & 1 deletion manifests/cinder-csi-plugin/cinder-csi-nodeplugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ spec:
capabilities:
add: ["SYS_ADMIN"]
allowPrivilegeEscalation: true
image: docker.io/k8scloudprovider/cinder-csi-plugin:v1.24.6
image: registry.k8s.io/provider-os/cinder-csi-plugin:v1.24.6
args:
- /bin/cinder-csi-plugin
- "--endpoint=$(CSI_ENDPOINT)"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ spec:
serviceAccountName: cloud-controller-manager
containers:
- name: openstack-cloud-controller-manager
image: docker.io/k8scloudprovider/openstack-cloud-controller-manager:v1.24.6
image: registry.k8s.io/provider-os/openstack-cloud-controller-manager:v1.24.6
args:
- /bin/openstack-cloud-controller-manager
- --v=1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ metadata:
spec:
containers:
- name: openstack-cloud-controller-manager
image: docker.io/k8scloudprovider/openstack-cloud-controller-manager:v1.24.6
image: registry.k8s.io/provider-os/openstack-cloud-controller-manager:v1.24.6
args:
- /bin/openstack-cloud-controller-manager
- --v=1
Expand Down
2 changes: 1 addition & 1 deletion manifests/magnum-auto-healer/magnum-auto-healer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ spec:
node-role.kubernetes.io/control-plane: ""
containers:
- name: magnum-auto-healer
image: docker.io/k8scloudprovider/magnum-auto-healer:v1.24.6
image: registry.k8s.io/provider-os/magnum-auto-healer:v1.24.6
imagePullPolicy: Always
args:
- /bin/magnum-auto-healer
Expand Down
2 changes: 1 addition & 1 deletion manifests/manila-csi-plugin/csi-controllerplugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ spec:
capabilities:
add: ["SYS_ADMIN"]
allowPrivilegeEscalation: true
image: "k8scloudprovider/manila-csi-plugin:v1.24.6"
image: registry.k8s.io/provider-os/manila-csi-plugin:v1.24.6
command: ["/bin/sh", "-c",
'/bin/manila-csi-plugin
--nodeid=$(NODE_ID)
Expand Down
2 changes: 1 addition & 1 deletion manifests/manila-csi-plugin/csi-nodeplugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ spec:
capabilities:
add: ["SYS_ADMIN"]
allowPrivilegeEscalation: true
image: "k8scloudprovider/manila-csi-plugin:v1.24.6"
image: registry.k8s.io/provider-os/manila-csi-plugin:v1.24.6
command: ["/bin/sh", "-c",
'/bin/manila-csi-plugin
--nodeid=$(NODE_ID)
Expand Down
2 changes: 1 addition & 1 deletion tests/playbooks/roles/install-cpo-occm/defaults/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ run_e2e: false
# Used for access the private registry image from k8s
remote_registry_host: "{{ ansible_default_ipv4.address }}"
generated_image_url: "{{ remote_registry_host }}/openstack-cloud-controller-manager-amd64:v0.0.{{ github_pr }}"
image_url: "{{ generated_image_url if build_image else 'docker.io/k8scloudprovider/openstack-cloud-controller-manager:v1.24.6' }}"
image_url: "{{ generated_image_url if build_image else 'registry.k8s.io/provider-os/openstack-cloud-controller-manager:v1.24.6' }}"
4 changes: 2 additions & 2 deletions tests/playbooks/roles/install-csi-cinder/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@
sed -i "/cloud\.conf/c\ cloud.conf: $b64data" manifests/cinder-csi-plugin/csi-secret-cinderplugin.yaml
# replace image with built image
sed -i "s#docker.io/k8scloudprovider/cinder-csi-plugin:v1.24.6#{{ remote_registry_host }}/cinder-csi-plugin-amd64:{{ github_pr }}#" manifests/cinder-csi-plugin/cinder-csi-controllerplugin.yaml
sed -i "s#docker.io/k8scloudprovider/cinder-csi-plugin:v1.24.6#{{ remote_registry_host }}/cinder-csi-plugin-amd64:{{ github_pr }}#" manifests/cinder-csi-plugin/cinder-csi-nodeplugin.yaml
sed -i "s#registry.k8s.io/provider-os/cinder-csi-plugin:v1.24.6#{{ remote_registry_host }}/cinder-csi-plugin-amd64:{{ github_pr }}#" manifests/cinder-csi-plugin/cinder-csi-controllerplugin.yaml
sed -i "s#registry.k8s.io/provider-os/cinder-csi-plugin:v1.24.6#{{ remote_registry_host }}/cinder-csi-plugin-amd64:{{ github_pr }}#" manifests/cinder-csi-plugin/cinder-csi-nodeplugin.yaml
- name: Deploy cinder-csi-plugin
shell:
Expand Down

0 comments on commit 64d36f5

Please sign in to comment.