Skip to content

Commit

Permalink
Internal Prod host-config for IBM builds (redhat-appstudio#3808)
Browse files Browse the repository at this point in the history
Signed-off-by: Bama Charan Kundu <[email protected]>
  • Loading branch information
bamachrn authored May 29, 2024
1 parent 9073140 commit 2fd14ec
Show file tree
Hide file tree
Showing 2 changed files with 72 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,49 @@ spec:
creationPolicy: Owner
deletionPolicy: Delete
name: aws-account
---
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: internal-prod-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/internal-prod-ibm-ssh-key
refreshInterval: 1h
secretStoreRef:
kind: ClusterSecretStore
name: appsre-stonesoup-vault
target:
creationPolicy: Owner
deletionPolicy: Delete
name: internal-prod-ibm-ssh-key
---
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: internal-prod-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/internal-prod-ibm-api-key
refreshInterval: 1h
secretStoreRef:
kind: ClusterSecretStore
name: appsre-stonesoup-vault
target:
creationPolicy: Owner
deletionPolicy: Delete
name: internal-prod-ibm-api-key
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,29 @@ data:
dynamic.linux-root-amd64.subnet-id: subnet-0aa719a6c5b602b16
dynamic.linux-root-amd64.max-instances: "10"
dynamic.linux-root-amd64.sudo-commands: "/usr/bin/podman"

dynamic.linux-s390x.type: ibmz
dynamic.linux-s390x.ssh-secret: "internal-prod-ibm-ssh-key"
dynamic.linux-s390x.secret: "internal-prod-ibm-api-key"
dynamic.linux-s390x.vpc: "konflux-internal-prod-us-east-1"
dynamic.linux-s390x.key: "internal-prod-key"
dynamic.linux-s390x.subnet: "internal-a"
dynamic.linux-s390x.image-id: "r014-23be9e67-4ab2-4dc9-9a51-d56efb06943d"
dynamic.linux-s390x.region: "us-east-1"
dynamic.linux-s390x.url: "https://us-east.iaas.cloud.ibm.com/v1"
dynamic.linux-s390x.profile: "bz2-1x4"
dynamic.linux-s390x.max-instances: "2"
dynamic.linux-s390x.private-ip: "true"

dynamic.linux-ppc64le.type: ibmp
dynamic.linux-ppc64le.ssh-secret: "internal-prod-ibm-ssh-key"
dynamic.linux-ppc64le.secret: "internal-prod-ibm-api-key"
dynamic.linux-ppc64le.key: "prod-konflux-infra"
dynamic.linux-ppc64le.image: "RHEL9-SP2"
dynamic.linux-ppc64le.crn: "crn:v1:bluemix:public:power-iaas:wdc06:a/5cb0704ee6304413bd0b171372c0fd77:4e9dc638-7a78-4e7c-b432-e83b7010c531::"
dynamic.linux-ppc64le.url: "https://us-east.power-iaas.cloud.ibm.com"
dynamic.linux-ppc64le.network: "a6d8d6da-c412-4106-9b57-4e25541b2e7f"
dynamic.linux-ppc64le.system: "e980"
dynamic.linux-ppc64le.cores: "0.25"
dynamic.linux-ppc64le.memory: "2"
dynamic.linux-ppc64le.max-instances: "2"

0 comments on commit 2fd14ec

Please sign in to comment.