Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-31571

[2227950] Document tekton resource creation under custom namespace

XMLWordPrintable

    • No

      Description of problem:

      This is to track tekton resource creation under custom namespace. There are two possibilities:
      1. Document steps needed to add tekton resources under custom namespace
      2. Instead of user doing it manually we create a task that will pre-check and if missing create.

      Version-Release number of selected component (if applicable):
      4.14

      How reproducible:
      always

      Steps to Reproduce:
      1.Use a custom namespace during pipeline runs
      2.
      3.

      Actual results:

      Custom namespace works with some extra steps

      Expected results:

      Document how to work with custom namespaces.

      Additional info:

      How to do it :
      https://gitlab.cee.redhat.com/-/snippets/7023
      Copy all needed config maps to custom namespace
      for i in windows10-unattend windows10-bios-autounattend windows-sqlserver windows-vs-code windows11-unattend; do kubectl get configmap $i --namespace openshift-virtualization-os-images -o yaml |sed 's/namespace: openshift-virtualization-os-images/namespace: test-tekton-03/'|kubectl create -f -; done

              dclowers@redhat.com Daniel Clowers
              gkapoor@redhat.com Geetika Kapoor
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: