Skip to content

Fix ignored secretRef.namespace in namespaced ProviderConfigs #323

Open
aerfio wants to merge 1 commit intocrossplane-contrib:mainfrom
cennso:aerfio/fix-provider-config-ref
Open

Fix ignored secretRef.namespace in namespaced ProviderConfigs #323
aerfio wants to merge 1 commit intocrossplane-contrib:mainfrom
cennso:aerfio/fix-provider-config-ref

Conversation

@aerfio
Copy link

@aerfio aerfio commented Feb 20, 2026

Description of your changes

Previous implementation overrides the secretRef.namespace field of the ProviderConfig, it uses the namespace of the namespaced Release object instead. I treat it as a bug, because this field is effectively ignored and useless in this case. We'd rather not copy the secret with kubeconfig to each namespace where it's consumed.

I have:

  • Read and followed Crossplane's contribution process.
  • Run make reviewable to ensure this PR is ready for review.

How has this code been tested

Added new unit test for the resolveProviderConfigModern function.

…erconfigs

Signed-off-by: Mateusz Puczyński <mateusz.puczynski@travelping.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant