Skip to content

Commit

Permalink
Remove PaC ConfigMap Prod (#2372)
Browse files Browse the repository at this point in the history
We now deploy PaC through the OSP operator, so the configuration is read
from the TektonConfig CR. The change has been validated in Staging.
CLEANUP: pipelines-as-code-secret-path.yaml was a leftover from a previous
change and it was not used.
  • Loading branch information
enarha authored Sep 7, 2023
1 parent 140bd67 commit 0f3db0b
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 10 deletions.
11 changes: 5 additions & 6 deletions components/pipeline-service/production/base/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,23 @@ commonAnnotations:
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true

resources:
- git::https://github.com/openshift-pipelines/pipeline-service.git/operator/gitops/argocd/pipeline-service?ref=153ce437712b2da250c5d9b168ac0fed5e0ffd85
- git::https://github.com/openshift-pipelines/pipeline-service.git/operator/gitops/argocd/pipeline-service?ref=a806b150697f03f47395a8c998d4fc82dbc25f95
- pipelines-as-code-secret.yaml # create external secret in openshift-pipelines namespace
- ../../base/external-secrets
- ../../base/testing
- ../../base/rbac
- team-support-rbac.yaml

patches:
- path: pac-config.yaml
target:
kind: ConfigMap
name: pipelines-as-code
namespace: openshift-pipelines
# - path: scale-down-exporter.yaml
# target:
# kind: Deployment
# name: pipeline-metrics-exporter
# namespace: openshift-pipelines
- path: update-tekton-config-pac.yaml
target:
kind: TektonConfig
name: config
- path: update-tekton-config-performance.yaml
target:
kind: TektonConfig
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
- op: add
path: /spec/platforms/openshift/pipelinesAsCode/settings
value:
application-name: Red Hat Trusted App Pipeline
custom-console-name: Red Hat Trusted App Pipeline
custom-console-url: https://console.redhat.com/preview/application-pipeline
custom-console-url-pr-details: https://console.redhat.com/preview/application-pipeline
custom-console-url-pr-tasklog: https://console.redhat.com/preview/application-pipeline

0 comments on commit 0f3db0b

Please sign in to comment.