Porch Repository do not reflect change in auth secret
alexcastilio opened this issue · 0 comments
alexcastilio commented
Expected behavior
After updating repository object in k8s cluster to get credentials from new secret, repository is supposed to reflect access level provided by new credentials.
Actual behavior
After updating repository object in k8s cluster to get credentials from new secret, it does not reflect access level provided by new credentials.
Information
Steps to reproduce behavior:
- Create repository with wrong credentials and try to init a package (kpt alpha rpkg init ...). This will fail due to wrong credentials.
- Create new secret with correct credentials.
- Edit spec.git.secretRef.name in repository created to point to new secret with correct credentials.
- Try again to init a package. It still fails
kpt version: 1.0.0-beta.44
Repository apiVersion: config.porch.kpt.dev/v1alpha1