Skip to content

Commit 92fd0ad

Browse files
authored
feat(KFLUXUI-901): deploy correct secrets for kite (#10197)
* feat: deploy correct secrets for kite Deploy correct secret database for kite instance in each cluster. Jira KFLUXUI-901 * feat: deploy kite to kflux-rhel-p01
1 parent e0c6708 commit 92fd0ad

File tree

11 files changed

+47
-7
lines changed

11 files changed

+47
-7
lines changed

argo-cd-apps/base/member/infra-deployments/konflux-kite/konflux-kite.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ spec:
2626
values.clusterDir: kflux-ocp-p01
2727
- nameNormalized: kflux-osp-p01
2828
values.clusterDir: kflux-osp-p01
29+
- nameNormalized: kflux-rhel-p01
30+
values.clusterDir: kflux-rhel-p01
2931
- nameNormalized: kflux-prd-rh02
3032
values.clusterDir: kflux-prd-rh02
3133
- nameNormalized: kflux-prd-rh03
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
---
22
- op: add
33
path: /spec/dataFrom/0/extract/key
4-
value: integrations-output/external-resources/appsrep11ue1/stonesoup-infra-production/issues-dashboard-production-rds
4+
value: integrations-output/external-resources/appsrep09ue1/kflux-ocp-p01/kflux-ocp-p01-issues-dashboard-rds
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
---
22
- op: add
33
path: /spec/dataFrom/0/extract/key
4-
value: integrations-output/external-resources/appsrep11ue1/stonesoup-infra-production/issues-dashboard-production-rds
4+
value: production/platform/terraform/generated/kflux-osp-p01/issues-dashboard-database
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
---
22
- op: add
33
path: /spec/dataFrom/0/extract/key
4-
value: integrations-output/external-resources/appsrep11ue1/stonesoup-infra-production/issues-dashboard-production-rds
4+
value: integrations-output/external-resources/appsrep09ue1/kflux-prd-rh02/kflux-prd-rh02-issues-dashboard-rds
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
---
22
- op: add
33
path: /spec/dataFrom/0/extract/key
4-
value: integrations-output/external-resources/appsrep11ue1/stonesoup-infra-production/issues-dashboard-production-rds
4+
value: production/platform/terraform/generated/kflux-prd-rh03/issues-dashboard-database
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: production/platform/terraform/generated/kflux-rhel-p01/issues-dashboard-database
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
apiVersion: kustomize.config.k8s.io/v1beta1
2+
kind: Kustomization
3+
resources:
4+
- ../base
5+
6+
patches:
7+
- path: database-secret-path.yaml
8+
target:
9+
name: database-secret
10+
group: external-secrets.io
11+
version: v1beta1
12+
kind: ExternalSecret
13+
# Delete the base secret since we're using External Secret
14+
- patch: |-
15+
$patch: delete
16+
apiVersion: v1
17+
kind: Secret
18+
metadata:
19+
name: kite-database-credentials
20+
namespace: konflux-kite
21+
22+
# Only update some parts of the generated development configmap
23+
configMapGenerator:
24+
- name: kite-config
25+
namespace: konflux-kite
26+
literals:
27+
- KITE_PROJECT_ENV=production
28+
- KITE_DB_SSL_MODE=require
29+
- KITE_LOG_LEVEL=info
30+
- KITE_LOG_FORMAT=json
31+
- KITE_FEATURE_NAMESPACE_CHECKING=true
32+
- AUTH_IMPERSONATE=true
33+
behavior: merge
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
---
22
- op: add
33
path: /spec/dataFrom/0/extract/key
4-
value: integrations-output/external-resources/appsrep11ue1/stonesoup-infra-production/issues-dashboard-production-rds
4+
value: integrations-output/external-resources/appsrep09ue1/stone-prod-p01/stone-prod-p01-issues-dashboard
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
---
22
- op: add
33
path: /spec/dataFrom/0/extract/key
4-
value: integrations-output/external-resources/appsrep11ue1/stonesoup-infra-production/issues-dashboard-production-rds
4+
value: integrations-output/external-resources/appsrep09ue1/konflux-internal-prod/stone-prod-p02-issues-dashboard-rds
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
---
22
- op: add
33
path: /spec/dataFrom/0/extract/key
4-
value: integrations-output/external-resources/appsres11ue1/stonesoup-infra-stage/issues-dashboard-staging-rds
4+
value: integrations-output/external-resources/appsres09ue1/stone-stage-p01/stone-stage-p01-issues-dashboard

0 commit comments

Comments
 (0)