Skip to content

Commit 3cdf155

Browse files
committed
RHDEVDOCS-6537: Content creation for RBAC and Trusted CA flags
1 parent 8afa09c commit 3cdf155

File tree

2 files changed

+47
-0
lines changed

2 files changed

+47
-0
lines changed

install_config/customizing-configurations-in-the-tektonconfig-cr.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ include::modules/op-disabling-automatic-creation-of-rbac-resources.adoc[leveloff
4949

5050
include::modules/op-disabling-inline-spec.adoc[leveloffset=+1]
5151

52+
include::modules/op-configuration-rbac-trusted-ca-flags.adoc[leveloffset=+1]
53+
5254
include::modules/op-automatic-pruning-taskrun-pipelinerun.adoc[leveloffset=+1]
5355

5456
include::modules/op-default-pruner-configuration.adoc[leveloffset=+2]
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
// This module is included in the following assemblies:
2+
// * install_config/customizing-configurations-in-the-tektonconfig-cr.adoc
3+
4+
:_mod-docs-content-type: CONCEPT
5+
[id="op-configuration-rbac-trusted-ca-flags.adoc_{context}"]
6+
= Configuration of RBAC and Trusted CA flags
7+
8+
The {pipelines-title} Operator provides independent control over RBAC resource creation and Trusted CA bundle config map through two separate flags, `createRbacResource` and `createCABundleConfigMaps`.
9+
10+
[cols="1,3,1", options="header"]
11+
|===
12+
|Parameter |Description |Default value
13+
14+
|`createRbacResource`
15+
|Controls the creation of RBAC resources only. This flag does not affect Trusted CA bundle config map.
16+
|`true`
17+
18+
|`createCABundleConfigMaps`
19+
|Controls the creation of Trusted CA bundle config map and Service CA bundle config map. This flag must be set to `false` to disable config map creation.
20+
|`true`
21+
|===
22+
23+
[source,yaml]
24+
----
25+
apiVersion: operator.tekton.dev/v1alpha1
26+
kind: TektonConfig
27+
metadata:
28+
name: config
29+
spec:
30+
profile: all
31+
targetNamespace: openshift-pipelines
32+
addon:
33+
params:
34+
- name: createRbacResource # <1>
35+
value: "true"
36+
- name: createCABundleConfigMaps # <2>
37+
value: "true"
38+
- name: legacyPipelineRbac
39+
value: "true"
40+
- pipelinerun
41+
- taskrun
42+
keep: 100
43+
----
44+
<1> Specifies RBAC resource creation.
45+
<2> Specifies Trusted CA bundle config map creation.

0 commit comments

Comments
 (0)