Skip to content

Commit 468a798

Browse files
authored
Consolidate RBAC naming (#1)
1 parent 0e54c5e commit 468a798

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ jobs:
1818
registry-server: ghcr.io
1919
registry-username: ${{ github.actor }}
2020
image: ${{ github.repository }}
21-
version: 0.2.0
21+
version: 0.2.1
2222
secrets:
2323
pull-request-token: ${{ secrets.GH_ORG_PAT }}

package/config/workload.yml renamed to package/config/supply-chain-deliverable.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
apiVersion: rbac.authorization.k8s.io/v1
33
kind: ClusterRole
44
metadata:
5-
name: workload
5+
name: supply-chain-deliverable
66
aggregationRule:
77
clusterRoleSelectors:
88
- matchLabels:
9-
platform.kadras.io/aggregate-to-workload: "true"
9+
platform.kadras.io/aggregate-to-supply-chain-deliverable: "true"
1010
rules: []

package/config/deliverable.yml renamed to package/config/supply-chain-workload.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
apiVersion: rbac.authorization.k8s.io/v1
33
kind: ClusterRole
44
metadata:
5-
name: deliverable
5+
name: supply-chain-workload
66
aggregationRule:
77
clusterRoleSelectors:
88
- matchLabels:
9-
platform.kadras.io/aggregate-to-deliverable: "true"
9+
platform.kadras.io/aggregate-to-supply-chain-workload: "true"
1010
rules: []

test/integration/default/01-assert.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
apiVersion: rbac.authorization.k8s.io/v1
33
kind: ClusterRole
44
metadata:
5-
name: workload
5+
name: supply-chain-workload
66
aggregationRule:
77
clusterRoleSelectors:
88
- matchLabels:
9-
platform.kadras.io/aggregate-to-workload: "true"
9+
platform.kadras.io/aggregate-to-supply-chain-workload: "true"
1010
rules:
1111
- apiGroups: [""]
1212
resources: ["configmaps"]
@@ -16,11 +16,11 @@ rules:
1616
apiVersion: rbac.authorization.k8s.io/v1
1717
kind: ClusterRole
1818
metadata:
19-
name: deliverable
19+
name: supply-chain-deliverable
2020
aggregationRule:
2121
clusterRoleSelectors:
2222
- matchLabels:
23-
platform.kadras.io/aggregate-to-deliverable: "true"
23+
platform.kadras.io/aggregate-to-supply-chain-deliverable: "true"
2424
rules:
2525
- apiGroups: [""]
2626
resources: ["services"]

test/integration/default/01-roles.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
apiVersion: rbac.authorization.k8s.io/v1
33
kind: ClusterRole
44
metadata:
5-
name: test-permissions-workload
5+
name: test-supply-chain-workload
66
labels:
7-
platform.kadras.io/aggregate-to-workload: "true"
7+
platform.kadras.io/aggregate-to-supply-chain-workload: "true"
88
rules:
99

1010
#! Core
@@ -16,9 +16,9 @@ rules:
1616
apiVersion: rbac.authorization.k8s.io/v1
1717
kind: ClusterRole
1818
metadata:
19-
name: test-permissions-deliverable
19+
name: test-supply-chain-deliverable
2020
labels:
21-
platform.kadras.io/aggregate-to-deliverable: "true"
21+
platform.kadras.io/aggregate-to-supply-chain-deliverable: "true"
2222
rules:
2323

2424
#! Core

0 commit comments

Comments
 (0)