Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package pluto for openSUSE:Factory checked in at 2023-07-12 17:27:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pluto (Old) and /work/SRC/openSUSE:Factory/.pluto.new.8922 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pluto" Wed Jul 12 17:27:51 2023 rev:32 rq:1098304 version:5.18.0 Changes: -------- --- /work/SRC/openSUSE:Factory/pluto/pluto.changes 2023-06-14 16:31:14.367168967 +0200 +++ /work/SRC/openSUSE:Factory/.pluto.new.8922/pluto.changes 2023-07-12 17:28:24.378940982 +0200 @@ -1,0 +2,9 @@ +Wed Jul 12 06:36:14 UTC 2023 - ka...@b1-systems.de + +- Update to version 5.18.0: + * Update FAQ with more details about last-applied-configuration + issues (#498) + * Fix the makefile for local dev (#496) + * Add flowcontrol deprecations (#493) + +------------------------------------------------------------------- Old: ---- pluto-5.17.0.obscpio New: ---- pluto-5.18.0.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pluto.spec ++++++ --- /var/tmp/diff_new_pack.jatxML/_old 2023-07-12 17:28:25.214946769 +0200 +++ /var/tmp/diff_new_pack.jatxML/_new 2023-07-12 17:28:25.214946769 +0200 @@ -19,7 +19,7 @@ %define __arch_install_post export NO_BRP_STRIP_DEBUG=true Name: pluto -Version: 5.17.0 +Version: 5.18.0 Release: 0 Summary: A cli tool to help discover deprecated apiVersions in Kubernetes License: Apache-2.0 ++++++ _service ++++++ --- /var/tmp/diff_new_pack.jatxML/_old 2023-07-12 17:28:25.254947046 +0200 +++ /var/tmp/diff_new_pack.jatxML/_new 2023-07-12 17:28:25.258947074 +0200 @@ -3,7 +3,7 @@ <param name="url">https://github.com/FairwindsOps/pluto</param> <param name="scm">git</param> <param name="exclude">.git</param> - <param name="revision">v5.17.0</param> + <param name="revision">v5.18.0</param> <param name="versionformat">@PARENT_TAG@</param> <param name="changesgenerate">enable</param> <param name="versionrewrite-pattern">v(.*)</param> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.jatxML/_old 2023-07-12 17:28:25.282947240 +0200 +++ /var/tmp/diff_new_pack.jatxML/_new 2023-07-12 17:28:25.286947267 +0200 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/FairwindsOps/pluto</param> - <param name="changesrevision">b9fe341136dfc3164f9138910ade351a6a021142</param></service></servicedata> + <param name="changesrevision">b6702365f3af13588a790d7e9b8ddab14d3d60fd</param></service></servicedata> (No newline at EOF) ++++++ pluto-5.17.0.obscpio -> pluto-5.18.0.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pluto-5.17.0/Makefile new/pluto-5.18.0/Makefile --- old/pluto-5.17.0/Makefile 2023-06-13 18:34:18.000000000 +0200 +++ new/pluto-5.18.0/Makefile 2023-07-11 21:51:07.000000000 +0200 @@ -9,7 +9,7 @@ all: lint test build: - $(GOBUILD) -o $(BINARY_NAME) -ldflags "-X main.version=$(VERSION) -X main.commit=$(COMMIT) -s -w" -v cmd/pluto/main.go + $(GOBUILD) -o $(BINARY_NAME) -ldflags "-X main.version=$(VERSION) -X main.commit=$(COMMIT) -s -w" -v ./cmd/pluto/main.go lint: golangci-lint run reportcard: @@ -27,11 +27,11 @@ rm -f $(BINARY_NAME) # Cross compilation build-linux: - CGO_ENABLED=0 GOOS=linux GOARCH=amd64 $(GOBUILD) -o $(BINARY_NAME) -ldflags "-X main.version=$(VERSION) -X main.commit=$(COMMIT) -s -w" -v + CGO_ENABLED=0 GOOS=linux GOARCH=amd64 $(GOBUILD) -o $(BINARY_NAME) -ldflags "-X main.version=$(VERSION) -X main.commit=$(COMMIT) -s -w" -v ./cmd/pluto/main.go build-windows: - CGO_ENABLED=0 GOOS=windows GOARCH=amd64 $(GOBUILD) -o $(BINARY_NAME) -ldflags "-X main.version=$(VERSION) -X main.commit=$(COMMIT) -s -w" -v + CGO_ENABLED=0 GOOS=windows GOARCH=amd64 $(GOBUILD) -o $(BINARY_NAME) -ldflags "-X main.version=$(VERSION) -X main.commit=$(COMMIT) -s -w" -v ./cmd/pluto/main.go build-docker: build-linux - docker build --build-arg version=$(VERSION) --build-arg commit=$(COMMIT) -t quay.io/reactiveops/$(BINARY_NAME):dev . + docker build --build-arg version=$(VERSION) --build-arg commit=$(COMMIT) -t us-docker.pkg.dev/fairwinds-ops/oss/pluto/$(BINARY_NAME):dev . orb-validate: circleci orb pack orb/ > orb.yml circleci orb validate orb.yml diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pluto-5.17.0/docs/faq.md new/pluto-5.18.0/docs/faq.md --- old/pluto-5.17.0/docs/faq.md 2023-06-13 18:34:18.000000000 +0200 +++ new/pluto-5.18.0/docs/faq.md 2023-07-11 21:51:07.000000000 +0200 @@ -17,6 +17,9 @@ Pluto looks at the API Versions of objects in releases that are in a `Deployed` state, and Helm has an issue where it might list old revisions of a release as still being in a `Deployed` state. To fix this, look at the release revision history with `helm history <release name>`, and determine if older releases still show a `Deployed` state. If so, delete the Helm release secret(s) associated with the revision number(s). For example, `kubectl delete secret sh.helm.release.v1.my-release.v10` where `10` corresponds to the release number. Then run Pluto again to see if the object has been removed from the report. -### Why API version check on a live cluster using the "last-applied-configuration" annotation is not reliable? +### Why API is version check on a live cluster using the "last-applied-configuration" annotation not reliable? -The annotation `kubectl.kubernetes.io/last-applied-configuration` on an object in your cluster holds the API version by which it was created. In fact, others have pointed out that updating the same object with `kubectl patch` will **remove** the annotation. Hence this is not a reliable method to detect deprecated API's from a live cluster. \ No newline at end of file +When using `--detect-api-resources` or `--detect-all-in-cluster`, there are some potential issues to be aware of: + + * The annotation `kubectl.kubernetes.io/last-applied-configuration` on an object in your cluster holds the API version by which it was created. In fact, others have pointed out that updating the same object with `kubectl patch` will **remove** the annotation. Hence this is not a reliable method to detect deprecated API's from a live cluster. + * You may get false positives in the first change after fixing the apiVersion. Please see [this issue](https://github.com/FairwindsOps/pluto/issues/495) for more details. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pluto-5.17.0/versions.yaml new/pluto-5.18.0/versions.yaml --- old/pluto-5.17.0/versions.yaml 2023-06-13 18:34:18.000000000 +0200 +++ new/pluto-5.18.0/versions.yaml 2023-07-11 21:51:07.000000000 +0200 @@ -541,6 +541,30 @@ removed-in: v1.6.0 replacement-api: cert-manager.io/v1 component: cert-manager + - version: flowcontrol.apiserver.k8s.io/v1beta2 + kind: FlowSchema + deprecated-in: v1.24.0 + removed-in: v1.29.0 + replacement-api: flowcontrol.apiserver.k8s.io/v1beta3 + component: k8s + - version: flowcontrol.apiserver.k8s.io/v1beta2 + kind: PriorityLevelConfiguration + deprecated-in: v1.24.0 + removed-in: v1.29.0 + replacement-api: flowcontrol.apiserver.k8s.io/v1beta3 + component: k8s + - version: flowcontrol.apiserver.k8s.io/v1beta1 + kind: PriorityLevelConfiguration + deprecated-in: v1.24.0 + removed-in: v1.29.0 + replacement-api: flowcontrol.apiserver.k8s.io/v1beta3 + component: k8s + - version: flowcontrol.apiserver.k8s.io/v1beta1 + kind: FLowSchema + deprecated-in: v1.24.0 + removed-in: v1.29.0 + replacement-api: flowcontrol.apiserver.k8s.io/v1beta3 + component: k8s target-versions: cert-manager: v1.5.3 istio: v1.11.0 ++++++ pluto.obsinfo ++++++ --- /var/tmp/diff_new_pack.jatxML/_old 2023-07-12 17:28:25.490948680 +0200 +++ /var/tmp/diff_new_pack.jatxML/_new 2023-07-12 17:28:25.494948707 +0200 @@ -1,5 +1,5 @@ name: pluto -version: 5.17.0 -mtime: 1686674058 -commit: b9fe341136dfc3164f9138910ade351a6a021142 +version: 5.18.0 +mtime: 1689105067 +commit: b6702365f3af13588a790d7e9b8ddab14d3d60fd ++++++ vendor.tar.gz ++++++ /work/SRC/openSUSE:Factory/pluto/vendor.tar.gz /work/SRC/openSUSE:Factory/.pluto.new.8922/vendor.tar.gz differ: char 5, line 1