UNCLASSIFIED - NO CUI

Skip to content

Helm uninstall failed: uninstall: Release not loaded: gatekeeper-system-gatekeeper: release: not found

Myself and my team have been experimenting with deploying BigBang into Azure over the past week.

Several of us managed to successfully deploy it.

Today however when we try we are seeing this
Helm uninstall failed: uninstall: Release not loaded: gatekeeper-system-gatekeeper: release: not found
Against the gatekeeper helmrelease in the bigbang namespace

We don't think we've changed anything, and in my case it's a totally fresh deployment into a new Kubernetes cluster (AKS)

I've tried pointing to an older tag for the bigbang repo in my dev/kustomization.yaml but this has not resolved it

Here's the error details from running kubectl describe hr gatekeeper -n bigbang

Status:
  Conditions:
    Last Transition Time:  2021-07-05T12:58:34Z
    Message:               Helm uninstall failed: uninstall: Release not loaded: gatekeeper-system-gatekeeper: release: not found

Last Helm logs:


    Reason:                UninstallFailed
    Status:                False
    Type:                  Ready
    Last Transition Time:  2021-07-05T12:58:34Z
    Message:               Helm install failed: error while running post render on files: map[string]interface {}(nil): yaml: unmarshal errors:
  line 117: mapping key "affinity" already defined at line 41

Last Helm logs:

CRD constraintpodstatuses.status.gatekeeper.sh is already present. Skipping.
creating 1 resource(s)
CRD constrainttemplates.templates.gatekeeper.sh is already present. Skipping.
creating 1 resource(s)
CRD constrainttemplatepodstatuses.status.gatekeeper.sh is already present. Skipping.
    Reason:                InstallFailed
    Status:                False
    Type:                  Released
Edited by Ben Coleman