{
  "from_sha256": "47b7ad4214b4bc170ac9cd0f571dcb19cd885e63b33665e84aec96678022f279",
  "k8s_results": {
    "1.35": {
      "adapter": "helm",
      "base_ref": "1.5.9",
      "checked": "files, API server 1.35.0",
      "checks": [
        {
          "name": "helm template",
          "status": "pass",
          "summary": "rendered 67 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": "3 named changes"
        },
        {
          "name": "image tags",
          "status": "pass",
          "summary": "3 new or changed image tags checked"
        },
        {
          "name": "API server 1.35.0",
          "status": "pass",
          "summary": "Kubernetes 1.35.0 accepted the upgrade"
        },
        {
          "name": "impact",
          "status": "fail",
          "summary": "Compared stored objects for 32 of 67 objects, and rendered objects for the rest."
        },
        {
          "name": "k8s 1.35 compatibility",
          "status": "pass",
          "summary": "current Kubernetes was checked by API server 1.35.0"
        }
      ],
      "exit_code": 1,
      "findings": [
        {
          "message": "Helm will delete CustomResourceDefinition/default/apigateways.mesh.consul.hashicorp.com. A templated custom resource definition that the new chart does not render is removed, and Kubernetes then deletes every object of that kind.",
          "resource": "CustomResourceDefinition/default/apigateways.mesh.consul.hashicorp.com",
          "rule_id": "impact.delete.crd",
          "severity": "blocker"
        },
        {
          "message": "Helm will delete CustomResourceDefinition/default/exportedservices.multicluster.consul.hashicorp.com. A templated custom resource definition that the new chart does not render is removed, and Kubernetes then deletes every object of that kind.",
          "resource": "CustomResourceDefinition/default/exportedservices.multicluster.consul.hashicorp.com",
          "rule_id": "impact.delete.crd",
          "severity": "blocker"
        },
        {
          "message": "Helm will delete CustomResourceDefinition/default/gatewayclassconfigs.mesh.consul.hashicorp.com. A templated custom resource definition that the new chart does not render is removed, and Kubernetes then deletes every object of that kind.",
          "resource": "CustomResourceDefinition/default/gatewayclassconfigs.mesh.consul.hashicorp.com",
          "rule_id": "impact.delete.crd",
          "severity": "blocker"
        },
        {
          "message": "Helm will delete CustomResourceDefinition/default/gatewayclasses.mesh.consul.hashicorp.com. A templated custom resource definition that the new chart does not render is removed, and Kubernetes then deletes every object of that kind.",
          "resource": "CustomResourceDefinition/default/gatewayclasses.mesh.consul.hashicorp.com",
          "rule_id": "impact.delete.crd",
          "severity": "blocker"
        },
        {
          "message": "Helm will delete CustomResourceDefinition/default/grpcroutes.mesh.consul.hashicorp.com. A templated custom resource definition that the new chart does not render is removed, and Kubernetes then deletes every object of that kind.",
          "resource": "CustomResourceDefinition/default/grpcroutes.mesh.consul.hashicorp.com",
          "rule_id": "impact.delete.crd",
          "severity": "blocker"
        },
        {
          "message": "Helm will delete CustomResourceDefinition/default/httproutes.mesh.consul.hashicorp.com. A templated custom resource definition that the new chart does not render is removed, and Kubernetes then deletes every object of that kind.",
          "resource": "CustomResourceDefinition/default/httproutes.mesh.consul.hashicorp.com",
          "rule_id": "impact.delete.crd",
          "severity": "blocker"
        },
        {
          "message": "Helm will delete CustomResourceDefinition/default/meshconfigurations.mesh.consul.hashicorp.com. A templated custom resource definition that the new chart does not render is removed, and Kubernetes then deletes every object of that kind.",
          "resource": "CustomResourceDefinition/default/meshconfigurations.mesh.consul.hashicorp.com",
          "rule_id": "impact.delete.crd",
          "severity": "blocker"
        },
        {
          "message": "Helm will delete CustomResourceDefinition/default/meshgateways.mesh.consul.hashicorp.com. A templated custom resource definition that the new chart does not render is removed, and Kubernetes then deletes every object of that kind.",
          "resource": "CustomResourceDefinition/default/meshgateways.mesh.consul.hashicorp.com",
          "rule_id": "impact.delete.crd",
          "severity": "blocker"
        },
        {
          "message": "Helm will delete CustomResourceDefinition/default/proxyconfigurations.mesh.consul.hashicorp.com. A templated custom resource definition that the new chart does not render is removed, and Kubernetes then deletes every object of that kind.",
          "resource": "CustomResourceDefinition/default/proxyconfigurations.mesh.consul.hashicorp.com",
          "rule_id": "impact.delete.crd",
          "severity": "blocker"
        },
        {
          "message": "Helm will delete CustomResourceDefinition/default/tcproutes.mesh.consul.hashicorp.com. A templated custom resource definition that the new chart does not render is removed, and Kubernetes then deletes every object of that kind.",
          "resource": "CustomResourceDefinition/default/tcproutes.mesh.consul.hashicorp.com",
          "rule_id": "impact.delete.crd",
          "severity": "blocker"
        },
        {
          "message": "ClusterRole/default/stageproof-rel-consul-gateway-resources adds rules that the current chart did not have.",
          "resource": "ClusterRole/default/stageproof-rel-consul-gateway-resources",
          "rule_id": "impact.privilege.rbac",
          "severity": "warning"
        },
        {
          "detail": "Affected objects: Deployment/stageproof-check/stageproof-rel-consul-connect-injector, Pod/stageproof-check/stageproof-rel-consul-test, StatefulSet/stageproof-check/stageproof-rel-consul-server",
          "message": "Chart default `global.image` changed from `hashicorp/consul:1.19.2` to `hashicorp/consul:1.20.2` and the rendered objects differ.",
          "proof": "render",
          "resource": "global.image",
          "rule_id": "helm.values.default_changed",
          "severity": "warning"
        },
        {
          "detail": "Affected objects: Deployment/stageproof-check/stageproof-rel-consul-connect-injector",
          "message": "Chart default `global.imageConsulDataplane` changed from `hashicorp/consul-dataplane:1.5.9` to `hashicorp/consul-dataplane:1.6.2` and the rendered objects differ.",
          "proof": "render",
          "resource": "global.imageConsulDataplane",
          "rule_id": "helm.values.default_changed",
          "severity": "warning"
        },
        {
          "detail": "Affected objects: Deployment/stageproof-check/stageproof-rel-consul-connect-injector, Deployment/stageproof-check/stageproof-rel-consul-webhook-cert-manager, Job/stageproof-check/stageproof-rel-consul-gateway-cleanup, Job/stageproof-check/stageproof-rel-consul-gateway-resources, StatefulSet/stageproof-check/stageproof-rel-consul-server",
          "message": "Chart default `global.imageK8S` changed from `hashicorp/consul-k8s-control-plane:1.5.9` to `hashicorp/consul-k8s-control-plane:1.6.2` and the rendered objects differ.",
          "proof": "render",
          "resource": "global.imageK8S",
          "rule_id": "helm.values.default_changed",
          "severity": "warning"
        },
        {
          "message": "The pod template of Deployment/stageproof-check/stageproof-rel-consul-connect-injector changed at spec.template.spec.containers[name=sidecar-injector].command[2]. The pods will restart. A restart is normal for an upgrade.",
          "resource": "Deployment/stageproof-check/stageproof-rel-consul-connect-injector",
          "rule_id": "impact.restart",
          "severity": "info"
        },
        {
          "message": "The pod template of Deployment/stageproof-check/stageproof-rel-consul-webhook-cert-manager changed at spec.template.spec.containers[name=webhook-cert-manager].image. The pods will restart. A restart is normal for an upgrade.",
          "resource": "Deployment/stageproof-check/stageproof-rel-consul-webhook-cert-manager",
          "rule_id": "impact.restart",
          "severity": "info"
        },
        {
          "message": "The pod template of StatefulSet/stageproof-check/stageproof-rel-consul-server changed at spec.template.spec.containers[name=consul].image. The pods will restart. A restart is normal for an upgrade.",
          "resource": "StatefulSet/stageproof-check/stageproof-rel-consul-server",
          "rule_id": "impact.restart",
          "severity": "info"
        },
        {
          "detail": "This is the chart's declared application version. It is not a test that the registry tag exists.",
          "message": "appVersion moves from 1.19.2 to 1.20.2. The image that the chart runs may change with it.",
          "rule_id": "helm.release.app_version_changed",
          "severity": "warning"
        },
        {
          "detail": "The render names a different image, including images on custom resources and images passed as container arguments. Whether that tag exists is a separate check.",
          "message": "3 container images changed. Deployment/stageproof-check/stageproof-rel-consul-connect-injector.template.spec.containers[0] sidecar-injector container moves from hashicorp/consul-k8s-control-plane:1.5.9 to hashicorp/consul-k8s-control-plane:1.6.2. Deployment/stageproof-check/stageproof-rel-consul-connect-injector hashicorp/consul image moves from hashicorp/consul:1.19.2 to hashicorp/consul:1.20.2. Deployment/stageproof-check/stageproof-rel-consul-connect-injector hashicorp/consul-dataplane image moves from hashicorp/consul-dataplane:1.5.9 to hashicorp/consul-dataplane:1.6.2.",
          "rule_id": "helm.image.changed",
          "severity": "warning"
        },
        {
          "detail": "A rehearsal installs the chart into an empty cluster. It does not upgrade data that is already there. An empty-cluster result of 0 restarts does not mean an existing workload stayed up.",
          "message": "This chart ships custom resource definitions, and the application it runs is changing. Custom resources that already exist on a real cluster are not in this check.",
          "rule_id": "helm.operator.existing_custom_resources",
          "severity": "warning"
        },
        {
          "detail": "Webhook configurations and API services would call an address that is not running. Objects without a name cannot be applied.",
          "message": "Not sent to the API server: MutatingWebhookConfiguration/stageproof-check/stageproof-rel-consul-connect-injector, ValidatingWebhookConfiguration/stageproof-check/stageproof-rel-consul-connect-injector, MutatingWebhookConfiguration/stageproof-check/stageproof-rel-consul-connect-injector, ValidatingWebhookConfiguration/stageproof-check/stageproof-rel-consul-connect-injector.",
          "rule_id": "k8s.apply.not_exercised",
          "severity": "info"
        }
      ],
      "head_ref": "1.6.2",
      "schema_version": 1,
      "target_k8s": "1.35",
      "verdict": "BLOCKED"
    }
  },
  "notice": "chart defaults only; run with your values files",
  "reproduce_command": "stageproof check --repo https://helm.releases.hashicorp.com --chart consul --from 1.5.9 --to 1.6.2 --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": "9b7884893a6f7d55d565c472b306c9fa9ac5de726935eb5146cb775567802303"
}
