diff --git a/CHANGELOG.md b/CHANGELOG.md index 71fe2ec0..6944415d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## 0.7.1 + +**Release date:** 2021-03-16 + +This prerelease comes with updates to the runtime packages. + +Improvements: +* Update dependencies + [#121](https://github.com/fluxcd/image-reflector-controller/pull/121) + +Fixes: +* Fix `last scan` print column for `ImageRepository` + [#119](https://github.com/fluxcd/image-reflector-controller/pull/119) + ## 0.7.0 **Release date:** 2021-02-24 diff --git a/Makefile b/Makefile index c369c1ee..1a2dcbcc 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ endif all: manager # Run tests -test: generate fmt vet manifests +test: generate fmt vet manifests api-docs go test ./... -coverprofile cover.out cd api; go test ./... -coverprofile cover.out diff --git a/config/manager/kustomization.yaml b/config/manager/kustomization.yaml index 8dd56929..bb02c37a 100644 --- a/config/manager/kustomization.yaml +++ b/config/manager/kustomization.yaml @@ -5,4 +5,4 @@ resources: images: - name: fluxcd/image-reflector-controller newName: fluxcd/image-reflector-controller - newTag: v0.7.0 + newTag: v0.7.1 diff --git a/docs/api/image-reflector.md b/docs/api/image-reflector.md index 6d4c97e6..d8a3cc8d 100644 --- a/docs/api/image-reflector.md +++ b/docs/api/image-reflector.md @@ -18,7 +18,7 @@ Resource Types: (Appears on: ImagePolicyChoice)

-

AlphabeticalPolicy specifices a alphabetical ordering policy.

+

AlphabeticalPolicy specifies a alphabetical ordering policy.

@@ -197,6 +197,20 @@ AlphabeticalPolicy

Alphabetical set of rules to use for alphabetical ordering of the tags.

+ + + +
+numerical
+ + +NumericalPolicy + + +
+(Optional) +

Numerical set of rules to use for numerical ordering of the tags.

+
@@ -683,6 +697,41 @@ github.com/fluxcd/pkg/apis/meta.ReconcileRequestStatus
+

NumericalPolicy +

+

+(Appears on: +ImagePolicyChoice) +

+

NumericalPolicy specifies a numerical ordering policy.

+
+
+ + + + + + + + + + + + + +
FieldDescription
+order
+ +string + +
+(Optional) +

Order specifies the sorting order of the tags. Given the integer values +from 0 to 9 as tags, ascending order would select 9, and descending order +would select 0.

+
+
+

ScanResult

@@ -731,7 +780,7 @@ Kubernetes meta/v1.Time (Appears on: ImagePolicyChoice)

-

SemVerPolicy specifices a semantic version policy.

+

SemVerPolicy specifies a semantic version policy.

diff --git a/go.mod b/go.mod index a5bce0b9..cdf55f60 100644 --- a/go.mod +++ b/go.mod @@ -7,7 +7,7 @@ replace github.com/fluxcd/image-reflector-controller/api => ./api require ( github.com/Masterminds/semver/v3 v3.1.1 github.com/dgraph-io/badger/v3 v3.2011.1 - github.com/fluxcd/image-reflector-controller/api v0.7.0 + github.com/fluxcd/image-reflector-controller/api v0.7.1 github.com/fluxcd/pkg/apis/meta v0.8.0 github.com/fluxcd/pkg/runtime v0.8.4 github.com/fluxcd/pkg/version v0.0.1