diff --git a/charts/notification/Chart.yaml b/charts/notification/Chart.yaml index f0d9c80..0ed361f 100644 --- a/charts/notification/Chart.yaml +++ b/charts/notification/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.11 +version: 0.1.12 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/notification/charts/common-0.1.0.tgz b/charts/notification/charts/common-0.1.0.tgz index e0789b5..fb992c7 100644 Binary files a/charts/notification/charts/common-0.1.0.tgz and b/charts/notification/charts/common-0.1.0.tgz differ diff --git a/common/templates/_pipeline.yaml b/common/templates/_pipeline.yaml index f0e45bc..3480d07 100644 --- a/common/templates/_pipeline.yaml +++ b/common/templates/_pipeline.yaml @@ -136,7 +136,7 @@ spec: - name: ephemeral-namespace params: - name: VERSION - value: "4.11" + value: "4.17" - name: SCRIPT value: | echo "${SHELL}" @@ -144,6 +144,16 @@ spec: oc new-project goghvideo-test-${RANDOMID} >/dev/null oc label namespace goghvideo-test-${RANDOMID} app=goghvideo-test + oc apply -f - </dev/null) || $x -eq 10 ]]; do echo "Waiting for secret replication" && sleep 10 && ((x++)); done if [[ "${x}" -eq 10 ]]; then exit 1; fi diff --git a/common/templates/_task-openshift-client.yaml b/common/templates/_task-openshift-client.yaml index b6da707..333fd26 100644 --- a/common/templates/_task-openshift-client.yaml +++ b/common/templates/_task-openshift-client.yaml @@ -18,7 +18,7 @@ spec: description: The OpenShift CLI arguments to run name: SCRIPT type: string - - default: "4.7" + - default: "4.17" description: The OpenShift Version to use name: VERSION type: string diff --git a/common/templates/_task-s2i-go.yaml b/common/templates/_task-s2i-go.yaml index 83b5320..dff5258 100644 --- a/common/templates/_task-s2i-go.yaml +++ b/common/templates/_task-s2i-go.yaml @@ -64,7 +64,7 @@ spec: cat /env-vars/env-file s2i build $(params.PATH_CONTEXT) quay01.ipa.endofday.com/goghvideo/golang:$(params.VERSION) \ - --as-dockerfile /gen-source/Dockerfile.gen --environment-file /env-vars/env-file + --assemble-user 0 --as-dockerfile /gen-source/Dockerfile.gen --environment-file /env-vars/env-file echo "Outputting Generated /gen-source/Dockerfile.gen file" cat /gen-source/Dockerfile.gen diff --git a/custom-rbac.yaml b/custom-rbac.yaml index ff0b817..242efb0 100644 --- a/custom-rbac.yaml +++ b/custom-rbac.yaml @@ -27,6 +27,13 @@ rules: - tekton.dev resources: ["pipelineruns"] verbs: ["list", "get", "create", "update", "delete", "watch"] - + - apiGroups: + - project.openshift.io + resources: ["*"] + verbs: ["*"] + - apiGroups: ["*"] + resources: ["namespaces"] + verbs: ["*"] + # Add any other resources you need access to (modify the apiGroups/resources as required)