Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move to path.Join for repo + image_name: (#607)
## Description With this a tink-worker can be started without a registry defined and templates in Tink server can specify any registry. ## Why is this needed Currently, if a container registry is not specified then the container image will start with a `/`. This will cause tink worker to fail to pull/run the container. With this change, if a container registry is not specified the `/` will not be added and the contain image will be pulled from the container runtime's default registry. For containerd and docker (which is what Hook runs) the default registry is `docker.io`. Fixes: # ## How Has This Been Tested? ## How are existing users impacted? What migration steps/scripts do we need? ## Checklist: I have: - [ ] updated the documentation and/or roadmap (if required) - [ ] added unit or e2e tests - [ ] provided instructions on how to upgrade
- Loading branch information