provider-aws
provider-aws copied to clipboard
(Secretsmanager): If the K8s do not exist, the secret is not created with the data from AWS
What happened?
If the K8s do not exist, the secret is not created with the data from AWS. Exist part of the code says it is possible, but don't work. https://github.com/crossplane-contrib/provider-aws/blob/master/pkg/controller/secretsmanager/secret/setup.go#L169C2-L169C64
How can we reproduce it?
Create a secretManager object with this exemple above:
apiVersion: secretsmanager.aws.crossplane.io/v1beta1
kind: Secret
metadata:
name: example-secret-h20
spec:
forProvider:
region: us-east-1
description: "test"
forceDeleteWithoutRecovery: true
stringSecretRef:
name: example-secret-manager-h20
namespace: test-secret
tags:
- key: Name
value: example-secret-h20
What environment did it happen in?
Crossplane version: 1.14.7 Crossplane Contrib Provider Version: v0.48.1