Skip to content

Commit

Permalink
feat(apps/crossplane/minio): put secret into external-secrets ns
Browse files Browse the repository at this point in the history
  • Loading branch information
qlonik committed Jun 30, 2024
1 parent ae52297 commit 0c6475b
Showing 1 changed file with 7 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ spec:
providerConfigRef:
name: ""
writeConnectionSecretToRef:
namespace: crossplane-system
namespace: external-secrets
name: ""
connectionDetails:
- name: AWS_ACCESS_KEY_ID
Expand All @@ -86,15 +86,13 @@ spec:
- type: string
string:
fmt: "%s-private"
- type: CombineFromComposite
- type: FromCompositeFieldPath
fromFieldPath: metadata.name
toFieldPath: spec.writeConnectionSecretToRef.name
combine:
variables:
- fromFieldPath: metadata.name
- fromFieldPath: metadata.uid
strategy: string
string:
fmt: "%s-%s-secret"
transforms:
- type: string
string:
fmt: "minio-%s-secret"
- type: ToCompositeFieldPath
fromFieldPath: status.atProvider.userName
toFieldPath: status.atProvider.userName

0 comments on commit 0c6475b

Please sign in to comment.