Skip to content

Commit

Permalink
[1.28.1] 1.28.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
kayrus committed Oct 12, 2023
1 parent a0f1235 commit 6cd874f
Show file tree
Hide file tree
Showing 19 changed files with 46 additions and 22 deletions.
4 changes: 2 additions & 2 deletions charts/cinder-csi-plugin/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v1
appVersion: v1.28.0
appVersion: v1.28.1
description: Cinder CSI Chart for OpenStack
name: openstack-cinder-csi
version: 2.28.0
version: 2.28.1
home: https://github.com/kubernetes/cloud-provider-openstack
icon: https://github.com/kubernetes/kubernetes/blob/master/logo/logo.png
maintainers:
Expand Down
4 changes: 2 additions & 2 deletions charts/manila-csi-plugin/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v1
appVersion: v1.28.0
appVersion: v1.28.1
description: Manila CSI Chart for OpenStack
name: openstack-manila-csi
version: 2.28.0
version: 2.28.1
home: http://github.com/kubernetes/cloud-provider-openstack
icon: https://github.com/kubernetes/kubernetes/blob/master/logo/logo.png
maintainers:
Expand Down
4 changes: 2 additions & 2 deletions charts/openstack-cloud-controller-manager/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
apiVersion: v1
appVersion: v1.28.0
appVersion: v1.28.1
description: Openstack Cloud Controller Manager Helm Chart
icon: https://object-storage-ca-ymq-1.vexxhost.net/swift/v1/6e4619c416ff4bd19e1c087f27a43eea/www-images-prod/openstack-logo/OpenStack-Logo-Vertical.png
home: https://github.com/kubernetes/cloud-provider-openstack
name: openstack-cloud-controller-manager
version: 2.28.0
version: 2.28.1
maintainers:
- name: eumel8
email: [email protected]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ it as a service. There are several things we need to notice in the
deployment manifest:

- We are using image
`registry.k8s.io/provider-os/k8s-keystone-auth:v1.28.0`
`registry.k8s.io/provider-os/k8s-keystone-auth:v1.28.1`
- 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=registry.k8s.io/provider-os/magnum-auto-healer:v1.28.0
image=registry.k8s.io/provider-os/magnum-auto-healer:v1.28.1
cat <<EOF | kubectl apply -f -
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ Here are several other config options are not included in the example configurat
### Deploy octavia-ingress-controller

```shell
image="registry.k8s.io/provider-os/octavia-ingress-controller:v1.28.0"
image="registry.k8s.io/provider-os/octavia-ingress-controller:v1.28.1"
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: registry.k8s.io/provider-os/k8s-keystone-auth:v1.28.0
image: registry.k8s.io/provider-os/k8s-keystone-auth:v1.28.1
args:
- ./bin/k8s-keystone-auth
- --tls-cert-file
Expand Down
24 changes: 24 additions & 0 deletions hack/bump_release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#!/bin/sh

# Copyright 2023 The Kubernetes Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

FROM_MAJOR="${1:?FROM_MAJOR (1st arg) not set or empty}"
TO_MAJOR="${2:?TO_MAJOR (2nd arg) not set or empty}"
TO_MINOR="${3:?TO_MINOR (3rd arg) not set or empty}"

# example usage: hack/bump_release.sh 28 28 1
# should replace 1.28.x with 1.28.1 / 2.28.x with 2.28.1

find charts docs manifests tests examples -type f -exec sed -i -re 's/((ersion)?: ?v?)?([1-2]\.)'${FROM_MAJOR}'\.([0-9][0-9a-zA-Z.-]*)/\1\3'${TO_MAJOR}'.'${TO_MINOR}'/g' "{}" \;
2 changes: 1 addition & 1 deletion manifests/barbican-kms/ds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ spec:
serviceAccountName: cloud-controller-manager
containers:
- name: barbican-kms
image: registry.k8s.io/provider-os/barbican-kms-plugin:v1.28.0
image: registry.k8s.io/provider-os/barbican-kms-plugin:v1.28.1
args:
- /bin/barbican-kms-plugin
- --socketpath=$(KMS_ENDPOINT)
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: registry.k8s.io/provider-os/barbican-kms-plugin:v1.28.0
image: registry.k8s.io/provider-os/barbican-kms-plugin:v1.28.1
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 @@ -93,7 +93,7 @@ spec:
- mountPath: /var/lib/csi/sockets/pluginproxy/
name: socket-dir
- name: cinder-csi-plugin
image: registry.k8s.io/provider-os/cinder-csi-plugin:v1.28.0
image: registry.k8s.io/provider-os/cinder-csi-plugin:v1.28.1
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: registry.k8s.io/provider-os/cinder-csi-plugin:v1.28.0
image: registry.k8s.io/provider-os/cinder-csi-plugin:v1.28.1
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: registry.k8s.io/provider-os/openstack-cloud-controller-manager:v1.28.0
image: registry.k8s.io/provider-os/openstack-cloud-controller-manager:v1.28.1
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: registry.k8s.io/provider-os/openstack-cloud-controller-manager:v1.28.0
image: registry.k8s.io/provider-os/openstack-cloud-controller-manager:v1.28.1
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: registry.k8s.io/provider-os/magnum-auto-healer:v1.28.0
image: registry.k8s.io/provider-os/magnum-auto-healer:v1.28.1
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: registry.k8s.io/provider-os/manila-csi-plugin:v1.28.0
image: registry.k8s.io/provider-os/manila-csi-plugin:v1.28.1
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: registry.k8s.io/provider-os/manila-csi-plugin:v1.28.0
image: registry.k8s.io/provider-os/manila-csi-plugin:v1.28.1
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:v0.0.{{ github_pr }}"
image_url: "{{ generated_image_url if build_image else 'registry.k8s.io/provider-os/openstack-cloud-controller-manager:v1.28.0' }}"
image_url: "{{ generated_image_url if build_image else 'registry.k8s.io/provider-os/openstack-cloud-controller-manager:v1.28.1' }}"
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#registry.k8s.io/provider-os/cinder-csi-plugin:v1.28.0#{{ remote_registry_host }}/cinder-csi-plugin:v0.0.{{ github_pr }}#" manifests/cinder-csi-plugin/cinder-csi-controllerplugin.yaml
sed -i "s#registry.k8s.io/provider-os/cinder-csi-plugin:v1.28.0#{{ remote_registry_host }}/cinder-csi-plugin:v0.0.{{ github_pr }}#" manifests/cinder-csi-plugin/cinder-csi-nodeplugin.yaml
sed -i "s#registry.k8s.io/provider-os/cinder-csi-plugin:v1.28.1#{{ remote_registry_host }}/cinder-csi-plugin:v0.0.{{ github_pr }}#" manifests/cinder-csi-plugin/cinder-csi-controllerplugin.yaml
sed -i "s#registry.k8s.io/provider-os/cinder-csi-plugin:v1.28.1#{{ remote_registry_host }}/cinder-csi-plugin:v0.0.{{ github_pr }}#" manifests/cinder-csi-plugin/cinder-csi-nodeplugin.yaml
sed -i "s#--v=1#--v=5#" manifests/cinder-csi-plugin/cinder-csi-controllerplugin.yaml
sed -i "s#--v=1#--v=5#" manifests/cinder-csi-plugin/cinder-csi-nodeplugin.yaml
Expand Down

0 comments on commit 6cd874f

Please sign in to comment.