Releases: plexsystems/sinker
v0.12.0
v0.11.2
v0.11.1
v0.11.0
ENHANCEMENTS
Add support for pushing to registries that do not support nested paths
For example, quay.io
only supports quay.io/namespace/repo:tag
not quay.io/namespace/another/repo:tag
If a registry does not support nested paths, only the base path will be pushed (in the above example, repo
)
Add support for standard input
This enables checking/updating/creating image manifests from even more sources. It's possible to create manifests from currently running Kubernetes clusters by using the following:
$ kubectl get pods --all-namespaces -o jsonpath="{.items[*].spec.containers[*].image}" | sinker create - --target mytarget.com
and update them with
$ kubectl get pods --all-namespaces -o jsonpath="{.items[*].spec.containers[*].image}" | sinker update -
or if you're bored, dog food the list commands
$ sinker list source | sinker update -
BUG FIX
Fixed a bug where Pods would not be found when creating/updating manifests based on Kubernetes resources.
v0.10.2
v0.10.1
v0.10.0
Enhancements
Pull
- Added an
--images
(-i) flag to enable the pulling of images via the command line.
$ sinker pull -i busybox:latest,quay.io/coreos/prometheus-operator:v0.40.0
Push
- Added the
--images
(-i) and--target
(-t) flags to enable the pushing of images via the command line.
$ sinker push -i busybox:latest,quay.io/coreos/prometheus-operator:v0.40.0 -t host.com/repo
Check
- Added an
--images
(-i) flag to enable checking for new images via the command line.
$ sinker check -i busybox:1.30.0,quay.io/coreos/prometheus-operator:v0.40.0
v0.9.0
ENHANCEMENTS
Digests
Added initial support for digests
. In a source configuration, instead of a tag, a digest can now be specified.
sources:
- repository: busybox
digest: sha256@abc123
During a pull, the digest in the manifest will be pulled. During a push, an image will be pushed with a tag that matches the SHA of the image (e.g. busybox:abc123
)
Retries
Both the pull
and push
commands are now equipped with retries. In the event of a transient error, Sinker will attempt the operation 3 times in total before failing.
Enhanced logging
pull
and push
commands will now display the current status of their operations, giving more insight into what is happening.
Check command
-
Previously the
check
command only worked on images sourced fromDocker Hub
. Thecheck
command should now work on any host. -
Added
--images
flag. The--images
flag takes in a comma delimited set of repositories to check images for without the need for the manifest file. The intent is to allow more commands to not rely on the manifest file
File support for --manifest flag
The --manifest
flag now supports filenames other than .images.yaml
. When --manifest
is a directory, Sinker will still look for a file named .images.yaml
v0.8.1
v0.8.0
BREAKING CHANGE
- Updated the keys in the
.yaml
file to more accurately describe the data that they hold.registry
in the target section has been renamed tohost
images
section has been renamed tosources
source
in the sources section has been renamed tohost
version
in the sources section has been renamed totag
By adopting similar language to the Docker docs, the intent for each field should be more clear and allows for future growth (version->tag enables a cleaner transition to introducing digest
)
All relevant documentation has been updated in the README
ENHANCEMENTS
- Added a parameter to the
pull
command that supports eithersource
ortarget
. Enabling users to pull either source or target images, rather than just source images.
The image repository/tag logic is now a lot less clever. Rather than trying to figure out empty hosts/docker.io, library
/non-library
images, etc. Sinker will now act upon what is presented in the manifest.