Skip to content

Commit b93611b

Browse files
authored
Update Mintmaker staging deployment (#3868)
1. Add the `pipelines-as-code-secret` to staging env, this secret is required for Mintmaker to communicate with the Konflux PaC GitHub app. We use the secret from build-service. 2. Mount CA bundle with `rh-certs` component, it's required for Mintmaker to call Githup APIs. Signed-off-by: Qixiang Wan <[email protected]>
1 parent a173fab commit b93611b

File tree

5 files changed

+39
-18
lines changed

5 files changed

+39
-18
lines changed

argo-cd-apps/base/member/infra-deployments/mintmaker/mintmaker.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,11 @@ spec:
1212
values:
1313
sourceRoot: components/mintmaker
1414
environment: staging
15-
clusterDir: ""
15+
clusterDir: base
1616
- list:
17-
elements: []
17+
elements:
18+
- nameNormalized: stone-stage-p01
19+
values.clusterDir: stone-stage-p01
1820
template:
1921
metadata:
2022
name: mintmaker-{{nameNormalized}}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
apiVersion: kustomize.config.k8s.io/v1beta1
2+
kind: Kustomization
3+
resources:
4+
- ../../base
5+
- ../../base/external-secrets
6+
- https://github.com/konflux-ci/mintmaker/config/default?ref=f6a6a9c25b02d3ca6cd808d5d440529de006d994
7+
8+
namespace: mintmaker
9+
10+
images:
11+
- name: quay.io/konflux-ci/mintmaker
12+
newName: quay.io/konflux-ci/mintmaker
13+
newTag: f6a6a9c25b02d3ca6cd808d5d440529de006d994
14+
15+
commonAnnotations:
16+
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true

components/mintmaker/staging/kustomization.yaml

Lines changed: 0 additions & 16 deletions
This file was deleted.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
apiVersion: kustomize.config.k8s.io/v1beta1
2+
kind: Kustomization
3+
resources:
4+
- ../base
5+
namespace: mintmaker
6+
patches:
7+
- path: pipelines-as-code-secret-path.yaml
8+
target:
9+
name: pipelines-as-code-secret
10+
group: external-secrets.io
11+
version: v1beta1
12+
kind: ExternalSecret
13+
14+
components:
15+
- ../../components/rh-certs
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
- op: add
3+
path: /spec/dataFrom/0/extract/key
4+
value: staging/build/stone-stage-p01/github-app

0 commit comments

Comments
 (0)