From c7c92e26f7886bc08546dd70b150217be7f19c61 Mon Sep 17 00:00:00 2001 From: Davanum Srinivas Date: Wed, 13 Sep 2023 18:50:25 -0400 Subject: [PATCH] New secret to migrate from a legacy AWS account Signed-off-by: Davanum Srinivas --- .../resources/test-pods/externalsecrets.yaml | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/infra/aws/terraform/prow-build-cluster/resources/test-pods/externalsecrets.yaml b/infra/aws/terraform/prow-build-cluster/resources/test-pods/externalsecrets.yaml index c22dd56330f..119b599ab38 100644 --- a/infra/aws/terraform/prow-build-cluster/resources/test-pods/externalsecrets.yaml +++ b/infra/aws/terraform/prow-build-cluster/resources/test-pods/externalsecrets.yaml @@ -38,3 +38,30 @@ spec: remoteRef: key: prow-prod/k8s-infra-e2e-boskos-scale-001/kops property: sharedCredentialsFile +--- +apiVersion: external-secrets.io/v1beta1 +kind: ExternalSecret +metadata: + name: aws-credentials-209411653980 + namespace: test-pods +spec: + refreshInterval: 1h + secretStoreRef: + name: aws-secerts-manager + kind: ClusterSecretStore + target: + name: aws-credentials-209411653980 + creationPolicy: Owner + data: + - secretKey: accessKeyId + remoteRef: + key: prow-prod/k8s-infra-eks-e2e-shared-001/kops + property: accessKeyId + - secretKey: secretAccessKey + remoteRef: + key: prow-prod/k8s-infra-eks-e2e-shared-001/kops + property: secretAccessKey + - secretKey: sharedCredentialsFile + remoteRef: + key: prow-prod/k8s-infra-eks-e2e-shared-001/kops + property: sharedCredentialsFile