Skip to content

Commit

Permalink
Expose which controllers to install through values
Browse files Browse the repository at this point in the history
Expose which tekton controllers to install via the operator through chart values
  • Loading branch information
davidumea authored and tekton-robot committed Jan 24, 2024
1 parent e284e91 commit d51db30
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/tekton-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ spec:
value: {{ include "tekton-operator.fullname" . }}-observability
args:
- "-controllers"
- "tektonconfig,tektonpipeline,tektontrigger,tektonhub,tektonchain,tektonresult,tektondashboard"
- {{ .Values.controllers | default "tektonconfig,tektonpipeline,tektontrigger,tektonhub,tektonchain,tektonresult,tektondashboard" | quote }}
- "-unique-process-name"
- "tekton-operator-lifecycle"
image: {{ include "tekton-operator.operator-image" . }}
Expand Down
3 changes: 3 additions & 0 deletions charts/tekton-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ openshift:
## Setting this to true will cause a cascade deletion of all Tekton resources when you uninstall the chart - danger!
installCRDs: false

## Controllers to install
controllers: "tektonconfig,tektonpipeline,tektontrigger,tektonhub,tektonchain,tektonresult,tektondashboard"

## Control the creation of RBAC resources (Serviceaccount, Role, ClusterRole, ClusterRoleBinding)
rbac:
create: true
Expand Down

0 comments on commit d51db30

Please sign in to comment.