Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package polaris for openSUSE:Factory checked in at 2023-07-18 21:55:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/polaris (Old) and /work/SRC/openSUSE:Factory/.polaris.new.3193 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "polaris" Tue Jul 18 21:55:06 2023 rev:21 rq:1099005 version:8.4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/polaris/polaris.changes 2023-07-07 15:48:48.964730567 +0200 +++ /work/SRC/openSUSE:Factory/.polaris.new.3193/polaris.changes 2023-07-18 21:55:22.362711736 +0200 @@ -1,0 +2,6 @@ +Mon Jul 17 04:59:19 UTC 2023 - ka...@b1-systems.de + +- Update to version 8.4.0: + * change kubernetes.io/ label from name to instance (#973) + +------------------------------------------------------------------- Old: ---- polaris-8.3.0.obscpio New: ---- polaris-8.4.0.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ polaris.spec ++++++ --- /var/tmp/diff_new_pack.HmNwvF/_old 2023-07-18 21:55:23.314717058 +0200 +++ /var/tmp/diff_new_pack.HmNwvF/_new 2023-07-18 21:55:23.318717080 +0200 @@ -19,7 +19,7 @@ %define __arch_install_post export NO_BRP_STRIP_DEBUG=true Name: polaris -Version: 8.3.0 +Version: 8.4.0 Release: 0 Summary: Validation of best practices in your Kubernetes clusters License: Apache-2.0 ++++++ _service ++++++ --- /var/tmp/diff_new_pack.HmNwvF/_old 2023-07-18 21:55:23.358717304 +0200 +++ /var/tmp/diff_new_pack.HmNwvF/_new 2023-07-18 21:55:23.362717326 +0200 @@ -3,7 +3,7 @@ <param name="url">https://github.com/FairwindsOps/polaris</param> <param name="scm">git</param> <param name="exclude">.git</param> - <param name="revision">8.3.0</param> + <param name="revision">8.4.0</param> <param name="versionformat">@PARENT_TAG@</param> <param name="changesgenerate">enable</param> </service> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.HmNwvF/_old 2023-07-18 21:55:23.386717460 +0200 +++ /var/tmp/diff_new_pack.HmNwvF/_new 2023-07-18 21:55:23.390717483 +0200 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/FairwindsOps/polaris</param> - <param name="changesrevision">d55cd4bdf8cd8d27ebba25442c415f8e19802776</param></service></servicedata> + <param name="changesrevision">e7eb079921622bd896976c5d7c81f0f72dabdcac</param></service></servicedata> (No newline at EOF) ++++++ polaris-8.3.0.obscpio -> polaris-8.4.0.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/polaris-8.3.0/checks/metadataAndInstanceMismatched.yaml new/polaris-8.4.0/checks/metadataAndInstanceMismatched.yaml --- old/polaris-8.3.0/checks/metadataAndInstanceMismatched.yaml 1970-01-01 01:00:00.000000000 +0100 +++ new/polaris-8.4.0/checks/metadataAndInstanceMismatched.yaml 2023-07-13 19:33:15.000000000 +0200 @@ -0,0 +1,18 @@ +successMessage: Label app.kubernetes.io/instance matches metadata.name +failureMessage: Label app.kubernetes.io/instance must match metadata.name +category: Reliability +target: Controller +schema: + '$schema': http://json-schema.org/draft-07/schema + type: object + properties: + metadata: + type: object + required: ["labels"] + properties: + labels: + type: object + required: ["app.kubernetes.io/instance"] + properties: + app.kubernetes.io/instance: + const: "{{ .metadata.name }}" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/polaris-8.3.0/checks/metadataAndNameMismatched.yaml new/polaris-8.4.0/checks/metadataAndNameMismatched.yaml --- old/polaris-8.3.0/checks/metadataAndNameMismatched.yaml 2023-06-29 18:07:26.000000000 +0200 +++ new/polaris-8.4.0/checks/metadataAndNameMismatched.yaml 1970-01-01 01:00:00.000000000 +0100 @@ -1,18 +0,0 @@ -successMessage: Label app.kubernetes.io/name matches metadata.name -failureMessage: Label app.kubernetes.io/name must match metadata.name -category: Reliability -target: Controller -schema: - '$schema': http://json-schema.org/draft-07/schema - type: object - properties: - metadata: - type: object - required: ["labels"] - properties: - labels: - type: object - required: ["app.kubernetes.io/name"] - properties: - app.kubernetes.io/name: - const: "{{ .metadata.name }}" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/polaris-8.3.0/docs/changelog.md new/polaris-8.4.0/docs/changelog.md --- old/polaris-8.3.0/docs/changelog.md 2023-06-29 18:07:26.000000000 +0200 +++ new/polaris-8.4.0/docs/changelog.md 2023-07-13 19:33:15.000000000 +0200 @@ -6,6 +6,9 @@ --- +## Unreleased +* Change `metadataAndNameMismatched` to `metadataAndInstanceMismatched` + ## 8.1.1 * Add category for `metadataAndNameMismatched`. * Fix category for `priorityClassNotSet`. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/polaris-8.3.0/docs/checks/reliability.md new/polaris-8.4.0/docs/checks/reliability.md --- old/polaris-8.3.0/docs/checks/reliability.md 2023-06-29 18:07:26.000000000 +0200 +++ new/polaris-8.4.0/docs/checks/reliability.md 2023-07-13 19:33:15.000000000 +0200 @@ -17,7 +17,7 @@ `priorityClassNotSet` | `warning` | Fails when a priorityClassName is not set for a pod. `deploymentMissingReplicas` | `warning` | Fails when there is only one replica for a deployment. `missingPodDisruptionBudget` | `warning` | Fails when PDB is missing. -`metadataAndNameMismatched` | `warning` | Fails when label `app.kubernetes.io/name` and `metadata.name` mismatch +`metadataAndInstanceMismatched` | `warning` | Fails when label `app.kubernetes.io/instance` and `metadata.name` mismatch `topologySpreadConstraint` | `warning` | Fails when there is no topology spread constraint on the pod ## Background @@ -70,4 +70,4 @@ - [Kubernetes Docs: Configure Liveness and Readiness Probes](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/) - [Utilizing Kubernetes Liveness and Readiness Probes to Automatically Recover From Failure](https://medium.com/spire-labs/utilizing-kubernetes-liveness-and-readiness-probes-to-automatically-recover-from-failure-2fe0314f2b2e) - [Kubernetes Liveness and Readiness Probes: How to Avoid Shooting Yourself in the Foot](https://blog.colinbreck.com/kubernetes-liveness-and-readiness-probes-how-to-avoid-shooting-yourself-in-the-foot/) -- [Topology Spread Constraints](https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/) \ No newline at end of file +- [Topology Spread Constraints](https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/polaris-8.3.0/examples/config-full.yaml new/polaris-8.4.0/examples/config-full.yaml --- old/polaris-8.3.0/examples/config-full.yaml 2023-06-29 18:07:26.000000000 +0200 +++ new/polaris-8.4.0/examples/config-full.yaml 2023-07-13 19:33:15.000000000 +0200 @@ -9,7 +9,7 @@ topologySpreadConstraint: warning pdbDisruptionsIsZero: warning missingPodDisruptionBudget: warning - metadataAndNameMismatched: warning + metadataAndInstanceMismatched: warning # efficiency cpuRequestsMissing: warning diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/polaris-8.3.0/examples/config.yaml new/polaris-8.4.0/examples/config.yaml --- old/polaris-8.3.0/examples/config.yaml 2023-06-29 18:07:26.000000000 +0200 +++ new/polaris-8.4.0/examples/config.yaml 2023-07-13 19:33:15.000000000 +0200 @@ -6,7 +6,7 @@ pullPolicyNotAlways: warning readinessProbeMissing: warning livenessProbeMissing: warning - metadataAndNameMismatched: warning + metadataAndInstanceMismatched: warning pdbDisruptionsIsZero: warning missingPodDisruptionBudget: warning topologySpreadConstraint: warning diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/polaris-8.3.0/pkg/config/checks.go new/polaris-8.4.0/pkg/config/checks.go --- old/polaris-8.3.0/pkg/config/checks.go 2023-06-29 18:07:26.000000000 +0200 +++ new/polaris-8.4.0/pkg/config/checks.go 2023-07-13 19:33:15.000000000 +0200 @@ -55,7 +55,7 @@ // Other checks "tlsSettingsMissing", "pdbDisruptionsIsZero", - "metadataAndNameMismatched", + "metadataAndInstanceMismatched", "missingPodDisruptionBudget", "missingNetworkPolicy", "sensitiveConfigmapContent", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/polaris-8.3.0/test/checks/metadataAndInstanceMismatched/failure.unspecified.yaml new/polaris-8.4.0/test/checks/metadataAndInstanceMismatched/failure.unspecified.yaml --- old/polaris-8.3.0/test/checks/metadataAndInstanceMismatched/failure.unspecified.yaml 1970-01-01 01:00:00.000000000 +0100 +++ new/polaris-8.4.0/test/checks/metadataAndInstanceMismatched/failure.unspecified.yaml 2023-07-13 19:33:15.000000000 +0200 @@ -0,0 +1,8 @@ +apiVersion: v1 +kind: Pod +metadata: + name: nginx +spec: + containers: + - name: nginx + image: nginx diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/polaris-8.3.0/test/checks/metadataAndInstanceMismatched/failure.yaml new/polaris-8.4.0/test/checks/metadataAndInstanceMismatched/failure.yaml --- old/polaris-8.3.0/test/checks/metadataAndInstanceMismatched/failure.yaml 1970-01-01 01:00:00.000000000 +0100 +++ new/polaris-8.4.0/test/checks/metadataAndInstanceMismatched/failure.yaml 2023-07-13 19:33:15.000000000 +0200 @@ -0,0 +1,10 @@ +apiVersion: v1 +kind: Pod +metadata: + name: nginx + labels: + app.kubernetes.io/instance: not-nginx +spec: + containers: + - name: nginx + image: nginx diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/polaris-8.3.0/test/checks/metadataAndInstanceMismatched/success.yaml new/polaris-8.4.0/test/checks/metadataAndInstanceMismatched/success.yaml --- old/polaris-8.3.0/test/checks/metadataAndInstanceMismatched/success.yaml 1970-01-01 01:00:00.000000000 +0100 +++ new/polaris-8.4.0/test/checks/metadataAndInstanceMismatched/success.yaml 2023-07-13 19:33:15.000000000 +0200 @@ -0,0 +1,10 @@ +apiVersion: v1 +kind: Pod +metadata: + name: nginx + labels: + app.kubernetes.io/instance: nginx +spec: + containers: + - name: nginx + image: nginx diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/polaris-8.3.0/test/checks/metadataAndNameMismatched/failure.unspecified.yaml new/polaris-8.4.0/test/checks/metadataAndNameMismatched/failure.unspecified.yaml --- old/polaris-8.3.0/test/checks/metadataAndNameMismatched/failure.unspecified.yaml 2023-06-29 18:07:26.000000000 +0200 +++ new/polaris-8.4.0/test/checks/metadataAndNameMismatched/failure.unspecified.yaml 1970-01-01 01:00:00.000000000 +0100 @@ -1,8 +0,0 @@ -apiVersion: v1 -kind: Pod -metadata: - name: nginx -spec: - containers: - - name: nginx - image: nginx diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/polaris-8.3.0/test/checks/metadataAndNameMismatched/failure.yaml new/polaris-8.4.0/test/checks/metadataAndNameMismatched/failure.yaml --- old/polaris-8.3.0/test/checks/metadataAndNameMismatched/failure.yaml 2023-06-29 18:07:26.000000000 +0200 +++ new/polaris-8.4.0/test/checks/metadataAndNameMismatched/failure.yaml 1970-01-01 01:00:00.000000000 +0100 @@ -1,10 +0,0 @@ -apiVersion: v1 -kind: Pod -metadata: - name: nginx - labels: - app.kubernetes.io/name: not-nginx -spec: - containers: - - name: nginx - image: nginx diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/polaris-8.3.0/test/checks/metadataAndNameMismatched/success.yaml new/polaris-8.4.0/test/checks/metadataAndNameMismatched/success.yaml --- old/polaris-8.3.0/test/checks/metadataAndNameMismatched/success.yaml 2023-06-29 18:07:26.000000000 +0200 +++ new/polaris-8.4.0/test/checks/metadataAndNameMismatched/success.yaml 1970-01-01 01:00:00.000000000 +0100 @@ -1,10 +0,0 @@ -apiVersion: v1 -kind: Pod -metadata: - name: nginx - labels: - app.kubernetes.io/name: nginx -spec: - containers: - - name: nginx - image: nginx ++++++ polaris.obsinfo ++++++ --- /var/tmp/diff_new_pack.HmNwvF/_old 2023-07-18 21:55:23.654718958 +0200 +++ /var/tmp/diff_new_pack.HmNwvF/_new 2023-07-18 21:55:23.658718981 +0200 @@ -1,5 +1,5 @@ name: polaris -version: 8.3.0 -mtime: 1688054846 -commit: d55cd4bdf8cd8d27ebba25442c415f8e19802776 +version: 8.4.0 +mtime: 1689269595 +commit: e7eb079921622bd896976c5d7c81f0f72dabdcac ++++++ vendor.tar.gz ++++++ /work/SRC/openSUSE:Factory/polaris/vendor.tar.gz /work/SRC/openSUSE:Factory/.polaris.new.3193/vendor.tar.gz differ: char 5, line 1