-
Notifications
You must be signed in to change notification settings - Fork 261
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add cost-management prod external secret (#5663)
* Fix adding of secrets to staging instance * Add cost-management production external secret This is required to enable access to production Konflux clusters data via service account. --------- Co-authored-by: rrajashe <rrajashe@redhat.com>
- Loading branch information
Showing
10 changed files
with
66 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
components/cost-management/production/cost-mangement-external-secret-patch.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
- op: add | ||
path: /spec/dataFrom/0/extract/key | ||
value: production/cost-management/konflux-service-account |
8 changes: 7 additions & 1 deletion
8
components/cost-management/production/kflux-ocp-p01/cost-management-config-source-patch.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,10 @@ | ||
--- | ||
- op: add | ||
path: /spec/source/name | ||
value: konflux-ocp-p01 | ||
value: kflux-ocp-p01 | ||
- op: replace | ||
path: /spec/authentication/type | ||
value: service-account | ||
- op: add | ||
path: /spec/authentication/secret_name | ||
value: konflux-service-account |
8 changes: 7 additions & 1 deletion
8
...onents/cost-management/production/kflux-prd-es01/cost-management-config-source-patch.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,10 @@ | ||
--- | ||
- op: add | ||
path: /spec/source/name | ||
value: konflux-prd-es01 | ||
value: kflux-prd-es01 | ||
- op: replace | ||
path: /spec/authentication/type | ||
value: service-account | ||
- op: add | ||
path: /spec/authentication/secret_name | ||
value: konflux-service-account |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
resources: | ||
- ../base | ||
|
||
patches: | ||
- path: cost-mangement-external-secret-patch.yaml | ||
target: | ||
name: konflux-service-account | ||
kind: ExternalSecret | ||
group: external-secrets.io | ||
version: v1beta1 |
8 changes: 7 additions & 1 deletion
8
...nents/cost-management/production/stone-prd-host1/cost-management-config-source-patch.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,10 @@ | ||
--- | ||
- op: add | ||
path: /spec/source/name | ||
value: konflux-prd-host1 | ||
value: stone-prd-host1 | ||
- op: replace | ||
path: /spec/authentication/type | ||
value: service-account | ||
- op: add | ||
path: /spec/authentication/secret_name | ||
value: konflux-service-account |
8 changes: 7 additions & 1 deletion
8
...onents/cost-management/production/stone-prd-rh01/cost-management-config-source-patch.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,10 @@ | ||
--- | ||
- op: add | ||
path: /spec/source/name | ||
value: konflux-prd-rh01 | ||
value: stone-prd-rh01 | ||
- op: replace | ||
path: /spec/authentication/type | ||
value: service-account | ||
- op: add | ||
path: /spec/authentication/secret_name | ||
value: konflux-service-account |
8 changes: 7 additions & 1 deletion
8
...onents/cost-management/production/stone-prd-rh02/cost-management-config-source-patch.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,10 @@ | ||
--- | ||
- op: add | ||
path: /spec/source/name | ||
value: konflux-prd-rh02 | ||
value: stone-prd-rh02 | ||
- op: replace | ||
path: /spec/authentication/type | ||
value: service-account | ||
- op: add | ||
path: /spec/authentication/secret_name | ||
value: konflux-service-account |
8 changes: 7 additions & 1 deletion
8
...onents/cost-management/production/stone-prod-p01/cost-management-config-source-patch.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,10 @@ | ||
--- | ||
- op: add | ||
path: /spec/source/name | ||
value: konflux-prod-p01 | ||
value: stone-prod-p01 | ||
- op: replace | ||
path: /spec/authentication/type | ||
value: service-account | ||
- op: add | ||
path: /spec/authentication/secret_name | ||
value: konflux-service-account |
8 changes: 7 additions & 1 deletion
8
...onents/cost-management/production/stone-prod-p02/cost-management-config-source-patch.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,10 @@ | ||
--- | ||
- op: add | ||
path: /spec/source/name | ||
value: konflux-prod-p02 | ||
value: stone-prod-p02 | ||
- op: replace | ||
path: /spec/authentication/type | ||
value: service-account | ||
- op: add | ||
path: /spec/authentication/secret_name | ||
value: konflux-service-account |