Skip to content

Releases: plexsystems/sinker

v0.12.0

21 Aug 15:32
Compare
Choose a tag to compare

ENHANCEMENTS

  • Add support for container arguments in Kubernetes manifests that set their values via newline.

v0.11.2

27 Jul 15:58
Compare
Choose a tag to compare

MINOR ENHANCEMENT

Add support for piping in kustomize results

v0.11.1

27 Jul 01:37
Compare
Choose a tag to compare

BUG FIX

  • Do not attempt to auto-detect the host when the host is different from the set target.

v0.11.0

26 Jul 21:34
c2e899a
Compare
Choose a tag to compare

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

20 Jul 16:41
Compare
Choose a tag to compare
  • Fix an issue where a target image would not be tagged when the source image was already present on the host.

v0.10.1

18 Jul 13:14
Compare
Choose a tag to compare

Minor addition

Allow users to set command line args through environment variables. Environment variables are prefixed with SINKER_.

e.g. --manifest path/to/manifest or SINKER_MANIFEST=path/to/manifest

v0.10.0

18 Jul 00:36
Compare
Choose a tag to compare

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

14 Jul 23:18
Compare
Choose a tag to compare

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 from Docker Hub. The check 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

07 Jul 18:55
1487997
Compare
Choose a tag to compare

ENHANCEMENT

  • Add the --manifest flag in order to set the location where the manifest file lives. Defaults to working directory.

v0.8.0

07 Jul 14:17
Compare
Choose a tag to compare

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 to host
    • images section has been renamed to sources
    • source in the sources section has been renamed to host
    • version in the sources section has been renamed to tag

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 either source or target. 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.