Skip to content

Add ClusterSecretStore for IBM provider's Secrets Manager #7904

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 22, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions kubernetes/ibm-ppc64le/prow/external-secrets.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: k8s-infra-ibmcloud-iam
namespace: test-pods
spec:
refreshInterval: 60m
secretStoreRef:
name: secretstore-ibm-k8s
kind: ClusterSecretStore
target:
name: k8s-infra-ibmcloud-iam
creationPolicy: Owner
data:
- secretKey: key
remoteRef:
key: iam_credentials/c4c5e90a-408d-69de-38b2-0d56d58d29db
---
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: k8s-infra-ssh-key
namespace: test-pods
spec:
refreshInterval: 60m
secretStoreRef:
name: secretstore-ibm-k8s
kind: ClusterSecretStore
target:
name: k8s-infra-ssh-key
creationPolicy: Owner
data:
- secretKey: ssh-privatekey
remoteRef:
key: 72d8039f-6cfc-1bbf-ba8e-d85985b42ee0
14 changes: 14 additions & 0 deletions kubernetes/ibm-ppc64le/prow/secretstore-ibm-k8s.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
apiVersion: external-secrets.io/v1beta1
kind: ClusterSecretStore
metadata:
name: secretstore-ibm-k8s
spec:
provider:
ibm:
serviceUrl: "https://3297fd32-6322-45e2-af3f-00b1a5af3565.us-south.secrets-manager.appdomain.cloud"
auth:
secretRef:
secretApiKeySecretRef:
name: ibm-sm-apikey
key: API_KEY
namespace: external-secrets