Skip to content

Commit 92d83ea

Browse files
authored
update helm github actions and versions (#2177)
* update helm github actions and set version * release helm charts from master
1 parent 2ed9d32 commit 92d83ea

File tree

9 files changed

+26
-26
lines changed

9 files changed

+26
-26
lines changed

.github/workflows/pr.yaml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,23 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Checkout
13-
uses: actions/checkout@v2
14-
15-
- name: Fetch history
16-
run: git fetch --prune --unshallow
13+
uses: actions/checkout@v3
14+
with:
15+
fetch-depth: 0
1716

1817
- name: Set up Helm
19-
uses: azure/setup-helm@v1
18+
uses: azure/setup-helm@v3
2019
with:
21-
version: v3.6.1
20+
version: v3.10.0
2221

23-
- uses: actions/setup-python@v2
22+
- uses: actions/setup-python@v4
2423
with:
25-
python-version: 3.7
24+
python-version: '3.9'
25+
check-latest: true
2626

27+
# see example https://github.com/helm/chart-testing-action
2728
- name: Set up chart-testing
28-
uses: helm/chart-testing-action@v2.1.0
29+
uses: helm/chart-testing-action@v2.3.1
2930

30-
# https://github.com/helm/chart-testing/blob/main/doc/ct_lint.md
3131
- name: Run chart-testing (lint)
32-
run: ct lint --target-branch=${GITHUB_BASE_REF} --check-version-increment=false
32+
run: ct lint --target-branch ${GITHUB_BASE_REF}

.github/workflows/release.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@ name: Release Charts
33
on:
44
push:
55
branches:
6-
- "release-*" # Only release charts from stable branches
6+
- "master"
7+
- "release-*"
78

89
jobs:
910
release:
1011
runs-on: ubuntu-latest
1112
steps:
1213
- name: Checkout
13-
uses: actions/checkout@v2
14-
15-
- name: Fetch history
16-
run: git fetch --prune --unshallow
14+
uses: actions/checkout@v3
15+
with:
16+
fetch-depth: 0
1717

1818
- name: Configure Git
1919
run: |

charts/cinder-csi-plugin/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
apiVersion: v1
2-
appVersion: latest
2+
appVersion: v1.27.0-alpha.0
33
description: Cinder CSI Chart for OpenStack
44
name: openstack-cinder-csi
5-
version: 2.3.2
5+
version: 2.27.0-alpha.0
66
home: https://github.com/kubernetes/cloud-provider-openstack
77
icon: https://github.com/kubernetes/kubernetes/blob/master/logo/logo.png
88
maintainers:

charts/manila-csi-plugin/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
apiVersion: v1
2-
appVersion: latest
2+
appVersion: v1.27.0-alpha.0
33
description: Manila CSI Chart for OpenStack
44
name: openstack-manila-csi
5-
version: 1.6.0
5+
version: 2.27.0-alpha.0
66
home: http://github.com/kubernetes/cloud-provider-openstack
77
icon: https://github.com/kubernetes/kubernetes/blob/master/logo/logo.png
88
maintainers:

charts/manila-csi-plugin/templates/controllerplugin-clusterrole.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ metadata:
77
aggregationRule:
88
clusterRoleSelectors:
99
- matchLabels:
10-
rbac.manila.csi.openstack.org/aggregate-to-{{ include "openstack-manila-csi.controllerplugin.fullname" . }}: "true"
10+
rbac.manila.csi.openstack.org/aggregate-to-controller-{{ include "openstack-manila-csi.name" . }}: "true"
1111
rules: []

charts/manila-csi-plugin/templates/controllerplugin-rules-clusterrole.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ metadata:
44
name: {{ include "openstack-manila-csi.controllerplugin.fullname" . }}-rules
55
labels:
66
{{- include "openstack-manila-csi.controllerplugin.labels" . | nindent 4 }}
7-
rbac.manila.csi.openstack.org/aggregate-to-{{ include "openstack-manila-csi.controllerplugin.fullname" . }}: "true"
7+
rbac.manila.csi.openstack.org/aggregate-to-controller-{{ include "openstack-manila-csi.name" . }}: "true"
88
rules:
99
- apiGroups: [""]
1010
resources: ["nodes"]

charts/manila-csi-plugin/templates/nodeplugin-clusterrole.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ metadata:
77
aggregationRule:
88
clusterRoleSelectors:
99
- matchLabels:
10-
rbac.manila.csi.openstack.org/aggregate-to-{{ include "openstack-manila-csi.nodeplugin.fullname" . }}: "true"
10+
rbac.manila.csi.openstack.org/aggregate-to-nodeplugin-{{ include "openstack-manila-csi.name" . }}: "true"
1111
rules: []

charts/manila-csi-plugin/templates/nodeplugin-rules-clusterrole.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ metadata:
44
name: {{ include "openstack-manila-csi.nodeplugin.fullname" . }}-rules
55
labels:
66
{{- include "openstack-manila-csi.nodeplugin.labels" . | nindent 4 }}
7-
rbac.manila.csi.openstack.org/aggregate-to-{{ include "openstack-manila-csi.nodeplugin.fullname" . }}: "true"
7+
rbac.manila.csi.openstack.org/aggregate-to-nodeplugin-{{ include "openstack-manila-csi.name" . }}: "true"
88
rules:
99
- apiGroups: [""]
1010
resources: ["configmaps"]

charts/openstack-cloud-controller-manager/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
apiVersion: v1
2-
appVersion: latest
2+
appVersion: v1.27.0-alpha.0
33
description: Openstack Cloud Controller Manager Helm Chart
44
icon: https://object-storage-ca-ymq-1.vexxhost.net/swift/v1/6e4619c416ff4bd19e1c087f27a43eea/www-images-prod/openstack-logo/OpenStack-Logo-Vertical.png
55
home: https://github.com/kubernetes/cloud-provider-openstack
66
name: openstack-cloud-controller-manager
7-
version: 1.5.1
7+
version: 2.27.0-alpha.0
88
maintainers:
99
- name: eumel8
1010

0 commit comments

Comments
 (0)