{
  "from_sha256": "4f60e1be77d8408fdbca24396918d30c8a63736e2c7bdf7cbf30e3c4e532db61",
  "k8s_results": {
    "1.35": {
      "adapter": "helm",
      "base_ref": "6.10.2",
      "checked": "files, API server 1.35.0",
      "checks": [
        {
          "name": "helm template",
          "status": "pass",
          "summary": "rendered 6 Kubernetes objects cleanly"
        },
        {
          "name": "values.yaml AST",
          "status": "pass",
          "summary": "no custom -f overlay passed (default chart values verified)"
        },
        {
          "name": "upgrade signals",
          "status": "warn",
          "summary": "1 named change"
        },
        {
          "name": "image tags",
          "status": "pass",
          "summary": "no new or changed image"
        },
        {
          "name": "API server 1.35.0",
          "status": "fail",
          "summary": "1 rejection"
        },
        {
          "name": "impact",
          "status": "pass",
          "summary": "Compared stored objects for 5 of 6 objects, and rendered objects for the rest."
        },
        {
          "name": "k8s 1.35 compatibility",
          "status": "fail",
          "summary": "1 removed API or immutable upgrade blocker"
        }
      ],
      "exit_code": 1,
      "findings": [
        {
          "message": "The pod template of Deployment/stageproof-check/stageproof-rel-prometheus-postgres-exporter changed at spec.template.metadata.annotations.checksum/secrets. The pods will restart. A restart is normal for an upgrade.",
          "resource": "Deployment/stageproof-check/stageproof-rel-prometheus-postgres-exporter",
          "rule_id": "impact.restart",
          "severity": "info"
        },
        {
          "detail": "Stageproof does not read that project's upgrade notes. A skip of more than one minor version, or a new major version, is named here and does not block.",
          "message": "Chart version moves from 6.10.2 to 7.0.0, a new major version.",
          "rule_id": "helm.release.version_span",
          "severity": "warning"
        },
        {
          "message": "Kubernetes rejected the update. `spec.selector` is immutable.",
          "resource": "Deployment/stageproof-check/stageproof-rel-prometheus-postgres-exporter",
          "rule_id": "k8s.apply.immutable_field",
          "severity": "blocker"
        },
        {
          "detail": "Kubernetes forbids mutating Deployment/StatefulSet/DaemonSet label selectors in-place without recreating the workload.",
          "message": "Immutable `spec.selector.matchLabels` changed from map[app:prometheus-postgres-exporter release:stageproof-rel] to map[app.kubernetes.io/instance:stageproof-rel app.kubernetes.io/name:prometheus-postgres-exporter]. An in-place `helm upgrade` will fail.",
          "resource": "Deployment/stageproof-check/stageproof-rel-prometheus-postgres-exporter",
          "rule_id": "k8s.upgrade.immutable_selector_changed",
          "severity": "blocker"
        }
      ],
      "head_ref": "7.0.0",
      "schema_version": 1,
      "target_k8s": "1.35",
      "verdict": "BLOCKED"
    }
  },
  "notice": "chart defaults only; run with your values files",
  "reproduce_command": "stageproof check --repo https://prometheus-community.github.io/helm-charts --chart prometheus-postgres-exporter --from 6.10.2 --to 7.0.0 --values-proof full --current-k8s 1.35 --api-server auto --format json",
  "schema_version": 1,
  "scope": "chart-defaults-only",
  "stageproof_version": "v0.4.0",
  "to_sha256": "25614d175e61735e800ab5d492263a783d04fca58263e5750f1e05275467390b"
}
