Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Results to version 0.13.0 #1039

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
annotations:
argocd.argoproj.io/sync-wave: "0"
spec:
channel: latest
channel: pipelines-5.0
name: openshift-pipelines-operator-rh
source: custom-operators
sourceNamespace: openshift-marketplace
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ metadata:
argocd.argoproj.io/sync-wave: "0"
spec:
sourceType: grpc
image: quay.io/openshift-pipeline/openshift-pipelines-pipelines-operator-bundle-container-index@sha256:99d1e1ba1c24d950db7147e26041193304247ed92e88788023b58eb787282a9a
image: quay.io/openshift-pipeline/openshift-pipelines-pipelines-operator-bundle-container-index@sha256:7444d41ebe811a505866a99a92e24ca390677835dfdd597bed2e0b5d66780c5b
displayName: custom-operators
updateStrategy:
registryPoll:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ spec:
enable-cluster-resolver: true
enable-git-resolver: true
enable-hub-resolver: true
enable-tekton-oci-bundles: true
enable-step-actions: true
options:
disabled: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: tekton-results
resources:
- https://github.com/openshift-pipelines/tektoncd-results.git/config/overlays/base-only/?ref=e35af9274c0df84386b73aae8df0ad496ad175df
- https://github.com/openshift-pipelines/tektoncd-results.git/config/overlays/base-only/?ref=b4017a355cafd589c3ae9a31f3d869e21a4b77fe
- namespace.yaml
- api-route.yaml
- watcher-logging-rbac.yaml
Expand All @@ -13,10 +13,13 @@ resources:
images:
- name: ko://github.com/tektoncd/results/cmd/api
newName: quay.io/konflux-ci/tekton-results-api
newTag: e35af9274c0df84386b73aae8df0ad496ad175df
newTag: b4017a355cafd589c3ae9a31f3d869e21a4b77fe
- name: ko://github.com/tektoncd/results/cmd/watcher
newName: quay.io/konflux-ci/tekton-results-watcher
newTag: e35af9274c0df84386b73aae8df0ad496ad175df
newTag: b4017a355cafd589c3ae9a31f3d869e21a4b77fe
- name: ko://github.com/tektoncd/results/cmd/retention-policy-agent
newName: quay.io/konflux-ci/tekton-results-retention-policy-agent
newTag: b4017a355cafd589c3ae9a31f3d869e21a4b77fe

# generate a new configmap with updated values (logs api, db ssl mode) and replace the default one
configMapGenerator:
Expand Down Expand Up @@ -51,3 +54,9 @@ patches:
kind: Service
name: tekton-results-api-service
labelSelector: "app.kubernetes.io/name=tekton-results-api"
- path: retention-policy-agent-deployment.yaml
target:
kind: Deployment
group: apps
version: v1
name: tekton-results-retention-policy-agent
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
- op: replace
path: /spec/replicas
value: 0
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: tekton-results-retention-policy-agent
annotations:
argocd.argoproj.io/sync-wave: "2"
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ spec:
"-check_owner=false",
"-completed_run_grace_period",
"10m",
"-logs_api=true"
]
resources:
requests:
Expand Down