✨ What's new
-
😱
imgpkg
will no longer by default try to use all IaaS keychains #397In previous version
imgpkg
was always activating all the possible keychains that would try to talk with auth services inside the IaaS even whenimgpkg
was not running in IaaS.
This was expensive because in some casesimgpkg
was trying to access URLs that were not present and wait for timeouts and things like that.
With this new version imgpkg by default will not load the IAAS keychains.
What does this mean:- If you are using
imgpkg
insidegke
and want to enable the GKE Authentication service you will need to set up a new environment flagexport IMGPKG_ACTIVE_KEYCHAINS=gke
- We have keychains for
gke
,aks
,ecr
,github
In the future we will also deprecate the environment variable
IMGPKG_ENABLE_IAAS_AUTH
in a couple of versions.
For now you will get a message if the environment variable is set.
How do can you maintain the old behavior:- You will need to do
export IMGPKG_ACTIVE_KEYCHAINS=gke,aks,ecr
If you are using
imgpkg
as a library this change will also affect you. The struct registry.Opts now has a new member calledActiveKeychains
that is an array of the possible keychain names to keep the previous behavior you need to activate all the keychains.
The major changing is that we no longer rely on k8s-pkg-credentialprovider which will allow yll that useimgpkg
as a library to do not have to patch this library in order to make it work.
For more information/questions fell free to follow the conversation in this slack thread - If you are using
✨ API Changes
- Changed the name of struct returned by
Pull
API functions, #433
Change fromStatus
toPullStatus
to ensure there is no collision in naming
v1.Status
is still present, aliased tov1.PullStatus
and marked as deprecated to allow people to migrate - Add
Describe
functionality to the API #453
🐛 Bug Fixes
- Describe command was no longer printing when tty was not enabled, #434
🔈 Callouts
Thanks to
For helping out with this release
📂 Files Checksum
f6044cd0134fe94ff1117b15545e8b6063b04e6bc602eace79faecfbfa821348 ./imgpkg-darwin-amd64
fbd72290ebf712c0efa2e4f5edc6e46815112b0b97af3d03bd1f9fd8e31bad59 ./imgpkg-darwin-arm64
bfc210872c18fd45e8012aadba27588f51c53cb237e397439abe5fe999e3a6fd ./imgpkg-linux-amd64
9242a604598632d18e673d4ddf0308c0864c32458443b20ee0ff831b394c0070 ./imgpkg-linux-arm64
6f72225e162dd1f421c5bc78e11307b8963e7607d8e8858b7e1261243462827e ./imgpkg-windows-amd64.exe