You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(notebook): add secret handling for private registry image pull (#1265)
* feat(notebook): add secret handling for private registry image pull
This secret is created by the admin deploying the platform and is
not user accessible.
* chore: update patch_sesssion for new image pull secret implementation
* fix: add missing None check for private registry secret handling
* chore: simplify secret return handling
When going through this if, the secret is created, thus returning early
is the right action.
Co-authored-by: Flora Thiebaut <flora@leafty.dev>
* chore: make created image pull secret adoption explicit
While this is the default value, this make the intention
clearer with regard to the use of a pre-created secret
such as the one used for the private image registry used
when building images from a private repository.
* feat(builds): validate private/public image prefix to be different
This avoids accidentally sending images built from
private repositories to the same registry used for
public repositories.
* feat: add tests for image prefix validation
* chore: fix format issues
---------
Co-authored-by: Flora Thiebaut <flora@leafty.dev>
0 commit comments