Skip to content

Commit

Permalink
KFLUXINFRA-1163: Updating Host Config for MPC (#5187)
Browse files Browse the repository at this point in the history
With Addition of kflux-prd-rh02 in the list, this pull request will retructure the production overlay
by further creating base, stone-prd-rh01 and kflux-prd-rh02 overlays

Signed-off-by: Manish Kumar <[email protected]>
  • Loading branch information
manish-jangra authored Dec 20, 2024
1 parent 395b105 commit a8c939a
Show file tree
Hide file tree
Showing 7 changed files with 608 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ spec:
values.clusterDir: stone-prod-p01
- nameNormalized: stone-prod-p02
values.clusterDir: stone-prod-p02
- nameNormalized: stone-prd-rh01
values.clusterDir: stone-prd-rh01
- nameNormalized: kflux-prd-rh02
values.clusterDir: kflux-prd-rh02
template:
metadata:
name: multi-platform-controller-{{nameNormalized}}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: aws-ssh-key
namespace: multi-platform-controller
labels:
build.appstudio.redhat.com/multi-platform-secret: "true"
annotations:
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
argocd.argoproj.io/sync-wave: "-1"
spec:
dataFrom:
- extract:
key: production/build/multi-platform-controller/kflux-prd-rh02-ssh-key
refreshInterval: 1h
secretStoreRef:
kind: ClusterSecretStore
name: appsre-stonesoup-vault
target:
creationPolicy: Owner
deletionPolicy: Delete
name: aws-ssh-key
---
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: aws-account
namespace: multi-platform-controller
labels:
build.appstudio.redhat.com/multi-platform-secret: "true"
annotations:
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
argocd.argoproj.io/sync-wave: "-1"
spec:
dataFrom:
- extract:
key: production/build/multi-platform-controller/kflux-prd-rh02-aws-account
refreshInterval: 1h
secretStoreRef:
kind: ClusterSecretStore
name: appsre-stonesoup-vault
target:
creationPolicy: Owner
deletionPolicy: Delete
name: aws-account
---
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: ibm-ssh-key
namespace: multi-platform-controller
labels:
build.appstudio.redhat.com/multi-platform-secret: "true"
annotations:
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
argocd.argoproj.io/sync-wave: "-1"
spec:
dataFrom:
- extract:
key: production/build/multi-platform-controller/prod-rh02-ibm-ssh-key
refreshInterval: 1h
secretStoreRef:
kind: ClusterSecretStore
name: appsre-stonesoup-vault
target:
creationPolicy: Owner
deletionPolicy: Delete
name: ibm-ssh-key
---
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: ibm-api-key
namespace: multi-platform-controller
labels:
build.appstudio.redhat.com/multi-platform-secret: "true"
annotations:
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
argocd.argoproj.io/sync-wave: "-1"
spec:
dataFrom:
- extract:
key: production/build/multi-platform-controller/prod-rh02-ibm-api-key
refreshInterval: 1h
secretStoreRef:
kind: ClusterSecretStore
name: appsre-stonesoup-vault
target:
creationPolicy: Owner
deletionPolicy: Delete
name: ibm-api-key
Loading

0 comments on commit a8c939a

Please sign in to comment.