Skip to content

Commit 395c128

Browse files
committed
MGDCTRS-2205, MGDCTRS-2270: remove strimzi CRDs and change RBAC names
1 parent 222ccb2 commit 395c128

File tree

2 files changed

+41
-1
lines changed

2 files changed

+41
-1
lines changed
Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,21 @@
1+
commonLabels:
2+
app: strimzi
3+
4+
generatorOptions:
5+
disableNameSuffixHash: true
6+
17
resources:
2-
- ../../../base/apps/strimzi
8+
- ../../../base/apps/strimzi/operator
9+
10+
patchesJson6902:
11+
- target:
12+
kind: ServiceAccount
13+
name: strimzi-cluster-operator
14+
version: v1
15+
patch: |-
16+
- op: add
17+
path: /metadata/namespace
18+
value: "myproject"
19+
20+
transformers:
21+
- nameSuffixConfig.yaml
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
apiVersion: builtin
2+
kind: PrefixSuffixTransformer
3+
metadata:
4+
name: "customSuffix"
5+
suffix: "-cos"
6+
fieldSpecs:
7+
- path: metadata/name
8+
apiVersion: v1
9+
kind: ServiceAccount
10+
- path: metadata/name
11+
apiVersion: v1
12+
kind: ClusterRole
13+
- path: metadata/name
14+
apiVersion: v1
15+
kind: RoleBinding
16+
- path: metadata/name
17+
apiVersion: v1
18+
kind: ClusterRoleBinding
19+
- path: metadata/name
20+
apiVersion: v1
21+
kind: Role

0 commit comments

Comments
 (0)