Skip to content

Commit

Permalink
Fixing SecretStore reference for dex and minio on test
Browse files Browse the repository at this point in the history
There isn't a ClusterSecretStore in the nerc-ocp-test cluster, so we
will use namespace SecretStores instead for dex and minio.
  • Loading branch information
computate committed Nov 27, 2024
1 parent e3b6a14 commit 62320bb
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: dex
components:
- ../../../../components/nerc-secret-store
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ resources:
- openshift-logging
- group-sync-operator
- curator-system
- dex
- minio
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: minio
components:
- ../../../../components/nerc-secret-store
4 changes: 2 additions & 2 deletions dex/base/externalsecrets/dex-clients.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ metadata:
name: dex-clients
spec:
secretStoreRef:
name: nerc-cluster-secrets
kind: ClusterSecretStore
name: nerc-secret-store
kind: SecretStore
refreshInterval: "1h"
target:
name: dex-clients
Expand Down
4 changes: 2 additions & 2 deletions minio/base/externalsecret-minio-admin-credentials.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ metadata:
spec:
refreshInterval: "1h"
secretStoreRef:
name: nerc-cluster-secrets
kind: ClusterSecretStore
name: nerc-secret-store
kind: SecretStore
target:
name: minio-admin-credentials
dataFrom:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ auth:
- curator-system
- csi-wekafsplugin
- dex
- minio
name: secret-reader
policies:
- nerc-common-reader
Expand Down

0 comments on commit 62320bb

Please sign in to comment.