Skip to content

Commit

Permalink
Update Results to version 0.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
enarha committed Nov 24, 2024
1 parent 5b34974 commit 9508e24
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 6 deletions.
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

0 comments on commit 9508e24

Please sign in to comment.