Skip to content

Commit 9dacf89

Browse files
brtkwreumel8
andauthored
[occm] add missing RBAC for serviceaccount token (kubernetes#1521) (kubernetes#1611)
* [occm] add missing RBAC for serviceaccount token (kubernetes#1521) * [osccm-helm] add missing RBAC for serviceaccount token * [osccm-helm] bump version (cherry picked from commit dcef720) * Fix chart linting (cherry picked from commit 1b8283f) Co-authored-by: Frank Kloeker <[email protected]>
1 parent 88ad2c9 commit 9dacf89

File tree

3 files changed

+20
-5
lines changed

3 files changed

+20
-5
lines changed

.github/workflows/pr.yaml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,17 @@ jobs:
1212
- name: Fetch history
1313
run: git fetch --prune --unshallow
1414

15-
- id: lint
16-
name: Run chart-testing (lint)
17-
uses: helm/[email protected]
15+
- name: Set up Helm
16+
uses: azure/setup-helm@v1
1817
with:
19-
command: lint
18+
version: v3.6.1
19+
20+
- uses: actions/setup-python@v2
21+
with:
22+
python-version: 3.7
23+
24+
- name: Set up chart-testing
25+
uses: helm/[email protected]
26+
27+
- name: Run chart-testing (lint)
28+
run: ct lint --target-branch ${GITHUB_BASE_REF}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ 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.0.1
7+
version: 1.0.2
88
maintainers:
99
- name: morremeyer
1010

charts/openstack-cloud-controller-manager/templates/clusterrole.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@ rules:
4040
- patch
4141
- update
4242
- watch
43+
- apiGroups:
44+
- ""
45+
resources:
46+
- serviceaccounts/token
47+
verbs:
48+
- create
4349
- apiGroups:
4450
- ""
4551
resources:

0 commit comments

Comments
 (0)