UNCLASSIFIED - NO CUI

Skip to content

anchore is not deployable from main with enterprise enabled

Summary

(Summarize the bug encountered or feature requested concisely)

Steps to reproduce

Deploy with overrides:

addons:
  anchore:
    enabled: true
    git:
      repo: https://repo1.dso.mil/big-bang/product/packages/anchore-enterprise.git
      path: "./chart"
      branch: main
      tag:
    enterprise:
      enabled: true

What is the current behavior?

HelmRelease cannot deploy.

What is the expected behavior?

HelmRelease should successfully deploy.

Relevant logs and/or screenshots

jonathan:~$ kubectl get helmrelease anchore -n bigbang -o yaml | yq .status
conditions:
  - lastTransitionTime: "2023-10-25T17:34:21Z"
    message: |+
      Helm uninstall failed: uninstall: Release not loaded: anchore: release: not found

      Last Helm logs:

    reason: UninstallFailed
    status: "False"
    type: Ready
  - lastTransitionTime: "2023-10-25T17:34:21Z"
    message: |+
      Helm install failed: template: anchore/charts/ui-redis/templates/replicas/hpa.yaml:12:14: executing "anchore/charts/ui-redis/templates/replicas/hpa.yaml" at <include "common.labels.standard" (dict "customLabels" .Values.commonLabels "context" $)>: error calling include: template: anchore/charts/anchore-feeds-db/charts/common/templates/_labels.tpl:6:27: executing "common.labels.standard" at <include "common.names.name" .>: error calling include: template: anchore/charts/anchore-feeds-db/charts/common/templates/_names.tpl:6:18: executing "common.names.name" at <.Chart.Name>: nil pointer evaluating interface {}.Name

      Last Helm logs:

    reason: InstallFailed
    status: "False"
    type: Released
  - lastTransitionTime: "2023-10-25T17:34:21Z"
    message: |+
      Helm uninstall failed: uninstall: Release not loaded: anchore: release: not found

      Last Helm logs:

    reason: UninstallFailed
    status: "False"
    type: Remediated
failures: 7
helmChart: bigbang/bigbang-anchore
installFailures: 1
lastAttemptedRevision: 1.27.4-bb.1
lastAttemptedValuesChecksum: 57d0f8a4c25b5b7ae27215e270cfdc73370a2cfa
observedGeneration: 1
Edited by Jonathan Braswell