Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve handling of missing namespace in
SecretKeyReference
(#146)
Fixes aws-controllers-k8s/community#1699 When reconciling a resource that references a Kubernetes Secret via a `SecretKeyReference`, if the namespace field is not specified, the code previously defaulted to the "default" namespace. This commit changes that behavior to instead use the namespace of the resource being reconciled, if available in the reconcile context. Signed-off-by: Amine Hilaly <[email protected]> By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
- Loading branch information