Skip to content

Commit 5bfee7e

Browse files
authored
Merge pull request #688 from openshift-pipelines/osp-1.11
Upgrade to OSP 1.11
2 parents 1f64281 + 37b1017 commit 5bfee7e

File tree

19 files changed

+278
-225
lines changed

19 files changed

+278
-225
lines changed

developer/openshift/reset.sh

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -244,13 +244,6 @@ uninstall_operators_and_controllers(){
244244
kubectl delete ns "$pac_ns"
245245
fi
246246

247-
printf "\n Uninstalling tekton-chains:\n"
248-
kubectl delete -k "$GITOPS_DIR/tekton-chains" --ignore-not-found=true
249-
tkn_chains_ns=$(kubectl get ns | grep -ie "tekton-chains" | cut -d " " -f 1)
250-
if [[ -n "$pac_ns" ]]; then
251-
kubectl delete ns "$tkn_chains_ns"
252-
fi
253-
254247
printf "\n Uninstalling tekton-results:\n"
255248
kubectl delete -k "$GITOPS_DIR/tekton-results/base" --ignore-not-found=true
256249
tkn_results_ns=$(kubectl get ns | grep -ie "tekton-results" | cut -d " " -f 1)
@@ -266,7 +259,7 @@ uninstall_operators_and_controllers(){
266259
fi
267260

268261
# Checks if the Tekton controllers are uninstalled successfully
269-
mapfile -t controllers < <(kubectl get ns | grep -iE "tekton-results|tekton-chains|pipelines-as-code" | cut -d " " -f 1)
262+
mapfile -t controllers < <(kubectl get ns | grep -iE "tekton-results" | cut -d " " -f 1)
270263
if (( ${#controllers[@]} >= 1 )); then
271264
printf "\n[ERROR] Couldn't remove Tekton controllers, please try removing them manually." >&2
272265
exit 1

operator/gitops/argocd/pipeline-service/kustomization.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ kind: Kustomization
44

55
resources:
66
- openshift-pipelines
7-
- pipelines-as-code
87
- tekton-chains
98
- tekton-results/base
109
- metrics-exporter

operator/gitops/argocd/pipeline-service/openshift-pipelines/allow-argocd-to-manage.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@ kind: ClusterRole
44
metadata:
55
name: openshift-gitops-apply-tekton-config-parameters
66
rules:
7+
- apiGroups:
8+
- monitoring.coreos.com
9+
resources:
10+
- servicemonitors
11+
verbs:
12+
- get
13+
- list
14+
- patch
15+
- create
16+
- delete
717
- apiGroups:
818
- operator.tekton.dev
919
resources:

operator/gitops/argocd/pipeline-service/openshift-pipelines/openshift-operator.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
name: openshift-pipelines-operator
66
namespace: openshift-operators
77
spec:
8-
channel: pipelines-1.10
8+
channel: pipelines-1.11
99
name: openshift-pipelines-operator-rh
1010
source: redhat-operators
1111
sourceNamespace: openshift-marketplace

operator/gitops/argocd/pipeline-service/openshift-pipelines/tekton-config.yaml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
# Docs: https://github.com/tektoncd/operator/blob/main/docs/TektonConfig.md
23
apiVersion: operator.tekton.dev/v1alpha1
34
kind: TektonConfig
45
metadata:
@@ -14,7 +15,23 @@ spec:
1415
platforms:
1516
openshift:
1617
pipelinesAsCode:
17-
enable: false
18+
enable: true
19+
chain:
20+
# Configure TaskRun attestation.
21+
# RHTAP does not leverage the TaskRun attestations.
22+
# This tells Tekton Chains to not store them in the OCI registry.
23+
artifacts.taskrun.format: "in-toto"
24+
artifacts.taskrun.storage: ""
25+
26+
# Configure image signing
27+
artifacts.oci.storage: "oci"
28+
29+
# Configure PipelineRun attestation
30+
artifacts.pipelinerun.format: "in-toto"
31+
artifacts.pipelinerun.storage: "oci"
32+
33+
# Rekor integration is disabled for now. It is planned to be re-introduced in the future.
34+
transparency.enabled: "false"
1835
pipeline:
1936
default-service-account: appstudio-pipeline
2037
enable-api-fields: beta

operator/gitops/argocd/pipeline-service/pipelines-as-code/allow-argocd.yaml

Lines changed: 0 additions & 41 deletions
This file was deleted.

operator/gitops/argocd/pipeline-service/pipelines-as-code/controller-sync.yaml

Lines changed: 0 additions & 8 deletions
This file was deleted.

operator/gitops/argocd/pipeline-service/pipelines-as-code/disable-pipelines-as-code-webhook.yaml

Lines changed: 0 additions & 17 deletions
This file was deleted.

operator/gitops/argocd/pipeline-service/pipelines-as-code/kustomization.yaml

Lines changed: 0 additions & 36 deletions
This file was deleted.

operator/gitops/argocd/pipeline-service/pipelines-as-code/watcher-sync.yaml

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)