Skip to content

Commit 5c503ca

Browse files
committed
Deploy TektonConfig w/ ArgoCD on c-stg-i01
Since previous attempts to disable Tekton Results failed (see #269 and #254) , deploy a disabled Tekton Results `TektonConfig` to allow ArgoCD to manage the resource instead of the openshift-pipelines operator. Assisted-by: Gemini KFLUXINFRA-3014
1 parent ff1e46a commit 5c503ca

3 files changed

Lines changed: 142 additions & 13 deletions

File tree

components/openshift-pipelines/internal-staging/kustomization.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,5 @@ kind: Kustomization
44
resources:
55
# Base resources
66
- ../base
7-
8-
patches:
9-
- path: tekton-config-patch.yaml
10-
target:
11-
kind: TektonConfig
12-
name: config
7+
# Disable Tekton Results by letting ArgoCD deploy the TektonConfig
8+
- tekton-config.yaml

components/openshift-pipelines/internal-staging/tekton-config-patch.yaml

Lines changed: 0 additions & 7 deletions
This file was deleted.
Lines changed: 140 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,140 @@
1+
# Adding this TektonConfig resource allows ArgoCD to control the TektonConfig deployment in contrast
2+
# to letting the openshift-pipelines operator control it. This way, Tekton Results can be disabled.
3+
apiVersion: operator.tekton.dev/v1alpha1
4+
kind: TektonConfig
5+
metadata:
6+
finalizers:
7+
- tektonconfigs.operator.tekton.dev
8+
labels:
9+
openshift-pipelines.tekton.dev/sa-created: 'true'
10+
operator.tekton.dev/release-version: 1.21.0
11+
name: config
12+
spec:
13+
addon:
14+
params:
15+
- name: resolverStepActions
16+
value: 'true'
17+
- name: communityResolverTasks
18+
value: 'true'
19+
- name: pipelineTemplates
20+
value: 'true'
21+
- name: resolverTasks
22+
value: 'true'
23+
platforms:
24+
openshift:
25+
pipelinesAsCode:
26+
enable: true
27+
options: {}
28+
settings:
29+
bitbucket-cloud-additional-source-ip: ''
30+
auto-configure-repo-namespace-template: ''
31+
tekton-dashboard-url: ''
32+
custom-console-url-pr-tasklog: ''
33+
bitbucket-cloud-check-source-ip: 'true'
34+
hub-catalog-type: artifacthub
35+
enable-cancel-in-progress-on-push: 'false'
36+
custom-console-url-pr-details: ''
37+
auto-configure-repo-repository-template: ''
38+
remote-tasks: 'true'
39+
application-name: Pipelines as Code CI
40+
auto-configure-new-github-repo: 'false'
41+
custom-console-url-namespace: ''
42+
skip-push-event-for-pr-commits: 'true'
43+
max-keep-run-upper-limit: '0'
44+
error-log-snippet-number-of-lines: '3'
45+
error-log-snippet: 'true'
46+
error-detection-from-container-logs: 'true'
47+
secret-github-app-scope-extra-repos: ''
48+
remember-ok-to-test: 'false'
49+
hub-url: 'https://artifacthub.io'
50+
error-detection-max-number-of-lines: '50'
51+
error-detection-simple-regexp: '^(?P<filename>[^:]*):(?P<line>[0-9]+):(?P<column>[0-9]+)?([ ]*)?(?P<error>.*)'
52+
require-ok-to-test-sha: 'false'
53+
default-max-keep-runs: '0'
54+
custom-console-name: ''
55+
secret-auto-create: 'true'
56+
custom-console-url: ''
57+
secret-github-app-token-scoped: 'true'
58+
enable-cancel-in-progress-on-pull-requests: 'false'
59+
scc:
60+
default: pipelines-scc
61+
tektonpruner:
62+
disabled: true
63+
global-config:
64+
enforcedConfigLevel: global
65+
historyLimit: 100
66+
options: {}
67+
chain:
68+
artifacts.taskrun.storage: oci
69+
artifacts.pipelinerun.storage: oci
70+
artifacts.pipelinerun.format: in-toto
71+
artifacts.taskrun.format: in-toto
72+
performance:
73+
disable-ha: false
74+
artifacts.oci.storage: oci
75+
disabled: false
76+
artifacts.oci.format: simplesigning
77+
options: {}
78+
pipeline:
79+
running-in-environment-with-injected-sidecars: true
80+
metrics.taskrun.duration-type: histogram
81+
results-from: termination-message
82+
enforce-nonfalsifiability: none
83+
enable-cluster-resolver: true
84+
metrics.pipelinerun.duration-type: histogram
85+
await-sidecar-readiness: true
86+
coschedule: workspaces
87+
metrics.count.enable-reason: false
88+
params:
89+
- name: enableMetrics
90+
value: 'true'
91+
enable-step-actions: true
92+
max-result-size: 4096
93+
enable-hub-resolver: true
94+
default-service-account: pipeline
95+
enable-param-enum: false
96+
enable-git-resolver: true
97+
enable-bundles-resolver: true
98+
require-git-ssh-secret-known-hosts: false
99+
set-security-context: false
100+
enable-cel-in-whenexpression: false
101+
performance:
102+
disable-ha: false
103+
send-cloudevents-for-runs: false
104+
metrics.taskrun.level: task
105+
trusted-resources-verification-no-match-policy: ignore
106+
metrics.pipelinerun.level: pipeline
107+
enable-api-fields: beta
108+
keep-pod-on-cancel: false
109+
enable-provenance-in-status: true
110+
enable-custom-tasks: true
111+
disable-creds-init: false
112+
options: {}
113+
disable-affinity-assistant: true
114+
config: {}
115+
pruner:
116+
disabled: false
117+
keep: 100
118+
resources:
119+
- pipelinerun
120+
schedule: 0 8 * * *
121+
profile: all
122+
targetNamespace: openshift-pipelines
123+
dashboard:
124+
options: {}
125+
readonly: false
126+
hub:
127+
options: {}
128+
trigger:
129+
default-service-account: pipeline
130+
disabled: false
131+
enable-api-fields: stable
132+
options: {}
133+
result:
134+
disabled: true
135+
is_external_db: false
136+
options: {}
137+
performance:
138+
disable-ha: false
139+
route_enabled: true
140+
route_tls_termination: edge

0 commit comments

Comments
 (0)