Skip to content

Commit

Permalink
Switch IBM Cloud for multi-platform to new account (#2996)
Browse files Browse the repository at this point in the history
The new ssh secrets have alreay been added to the vault.

The previous commit (9b26ed3) adding this
was then reverted with 78cf724 as the
external secrets configuration was missed.

Signed-off-by: arewm <[email protected]>
  • Loading branch information
arewm authored Jan 4, 2024
1 parent 78cf724 commit 7ecde5d
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,49 @@ spec:
creationPolicy: Owner
deletionPolicy: Delete
name: aws-account
---
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: ibm-production-ppc64le-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/ibm-production-ppc64le-ssh-key
refreshInterval: 1h
secretStoreRef:
kind: ClusterSecretStore
name: appsre-stonesoup-vault
target:
creationPolicy: Owner
deletionPolicy: Delete
name: ibm-production-ppc64le-ssh-key
---
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: ibm-production-s390x-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/ibm-production-s390x-ssh-key
refreshInterval: 1h
secretStoreRef:
kind: ClusterSecretStore
name: appsre-stonesoup-vault
target:
creationPolicy: Owner
deletionPolicy: Delete
name: ibm-production-s390x-ssh-key
16 changes: 8 additions & 8 deletions components/multi-platform-controller/production/host-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,26 +30,26 @@ data:
dynamic.linux-amd64.security-group: "launch-wizard-1"
dynamic.linux-amd64.max-instances: "10"

host.power-rhtap-prod-1.address: "150.240.147.196"
host.power-rhtap-prod-1.address: "52.117.38.109"
host.power-rhtap-prod-1.platform: "linux/ppc64le"
host.power-rhtap-prod-1.user: "root"
host.power-rhtap-prod-1.secret: "ibm-ssh-key"
host.power-rhtap-prod-1.secret: "ibm-production-ppc64le-ssh-key"
host.power-rhtap-prod-1.concurrency: "4"

host.power-rhtap-prod-2.address: "150.240.147.194"
host.power-rhtap-prod-2.address: "52.117.38.109"
host.power-rhtap-prod-2.platform: "linux/ppc64le"
host.power-rhtap-prod-2.user: "root"
host.power-rhtap-prod-2.secret: "ibm-ssh-key"
host.power-rhtap-prod-2.secret: "ibm-production-ppc64le-ssh-key"
host.power-rhtap-prod-2.concurrency: "4"

host.sysz-rhtap-prod-1.address: "169.59.160.96"
host.sysz-rhtap-prod-1.address: "169.63.184.30"
host.sysz-rhtap-prod-1.platform: "linux/s390x"
host.sysz-rhtap-prod-1.user: "root"
host.sysz-rhtap-prod-1.secret: "ibm-ssh-key"
host.sysz-rhtap-prod-1.secret: "ibm-production-s390x-ssh-key"
host.sysz-rhtap-prod-1.concurrency: "4"

host.sysz-rhtap-prod-2.address: "169.63.178.13"
host.sysz-rhtap-prod-2.address: "169.59.164.141"
host.sysz-rhtap-prod-2.platform: "linux/s390x"
host.sysz-rhtap-prod-2.user: "root"
host.sysz-rhtap-prod-2.secret: "ibm-ssh-key"
host.sysz-rhtap-prod-2.secret: "ibm-production-s390x-ssh-key"
host.sysz-rhtap-prod-2.concurrency: "4"

0 comments on commit 7ecde5d

Please sign in to comment.