kpt icon indicating copy to clipboard operation
kpt copied to clipboard

Porch Repository do not reflect change in auth secret

Open alexcastilio opened this issue 2 years ago • 0 comments

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:

  1. Create repository with wrong credentials and try to init a package (kpt alpha rpkg init ...). This will fail due to wrong credentials.
  2. Create new secret with correct credentials.
  3. Edit spec.git.secretRef.name in repository created to point to new secret with correct credentials.
  4. Try again to init a package. It still fails

kpt version: 1.0.0-beta.44 Repository apiVersion: config.porch.kpt.dev/v1alpha1

alexcastilio avatar Nov 21 '23 09:11 alexcastilio