operator icon indicating copy to clipboard operation
operator copied to clipboard

TektonConfig CRD - Capability to add pipeline and triggers namespace as dashboard properties

Open srisek opened this issue 11 months ago • 10 comments

Feature request

Currently by default the dashboard install using the operator is setting the default namespace for tekton pipelines and tekton triggers to 'tekton-pipelines' . In certain use cases if the operator is installing tekton resources in a different namespace the dashboard is failing to read the pipeline and triggers config due to the below setting.

args: '--port=9097' - '--logout-url=' - '--pipelines-namespace=tekton-pipelines' - '--triggers-namespace=tekton-pipelines' - '--read-only=true' - '--log-level=info' - '--log-format=json' - '--namespace=' - '--stream-logs=true'

It would we helpful if all these options can be parameterized as dashboard properties in the TektonConfig CRD while installing and setting properties for dashboard.

Currently it supports only readonly mode and external logs feature as of now https://github.com/tektoncd/operator/blob/main/pkg/apis/operator/v1alpha1/tektondashboard_types.go#L88

Use case

If we want to install tekton components in a different namespace other than the default namespace 'tekton-pipelines'.

srisek avatar Jul 20 '23 19:07 srisek