diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index bede59270c4..d391233e3a7 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -153,12 +153,13 @@ kubectl create clusterrolebinding cluster-admin-binding \ 1. To install into a different namespace you will need to modify resources in the `./config` folder - - remove all `namespace: tekton` references from all yaml files - - delete the `namespace.yaml` + - modify the `metadata.name` [here](https://github.com/tektoncd/pipeline/blob/c1500fab83b09edadefb38bb8920a0c837d8f32b/config/100-namespace.yaml) + value to the desired namespace - modify the `subjects.namespace` [here](https://github.com/tektoncd/pipeline/blob/c1500fab83b09edadefb38bb8920a0c837d8f32b/config/201-clusterrolebinding.yaml#L21) value to the desired namespace + - look up all the lines with the namespace `namespace: tekton-pipelines`, and set the value to the desired namespace - add `downwardapi` entry to webhook and controller `deployment` resources. E.g. add the environment variable section from the code snippet below to [controller](https://github.com/tektoncd/pipeline/blob/c1500fab83b09edadefb38bb8920a0c837d8f32b/config/controller.yaml#L29)