From 2fd14ecc4078322c945146ee1b387734f78b15b3 Mon Sep 17 00:00:00 2001 From: Bama Charan Kundu Date: Wed, 29 May 2024 20:03:00 +0530 Subject: [PATCH] Internal Prod host-config for IBM builds (#3808) Signed-off-by: Bama Charan Kundu --- .../external-secrets.yaml | 46 +++++++++++++++++++ .../production-downstream/host-config.yaml | 26 +++++++++++ 2 files changed, 72 insertions(+) diff --git a/components/multi-platform-controller/production-downstream/external-secrets.yaml b/components/multi-platform-controller/production-downstream/external-secrets.yaml index d7d0fb4e646..30ca246f4d3 100644 --- a/components/multi-platform-controller/production-downstream/external-secrets.yaml +++ b/components/multi-platform-controller/production-downstream/external-secrets.yaml @@ -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 diff --git a/components/multi-platform-controller/production-downstream/host-config.yaml b/components/multi-platform-controller/production-downstream/host-config.yaml index 6a9d9faf60f..4b4227e4c83 100644 --- a/components/multi-platform-controller/production-downstream/host-config.yaml +++ b/components/multi-platform-controller/production-downstream/host-config.yaml @@ -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"