-
Notifications
You must be signed in to change notification settings - Fork 830
Closed as not planned
goharbor/harbor
#22710Closed as not planned
Copy link
Labels
Description
Kustomize seems to fail with valid values setting because of lookup use, argo does the same.
kustomize build . --enable-helm --debug (main|✔)
Error: unknown flag: --debug
ashtonian@Mac harbor % kustomize build . --enable-helm (main|✔)
Error: Error: template: harbor/templates/trivy/trivy-sts.yaml:29:28: executing "harbor/templates/trivy/trivy-sts.yaml" at <include (print $.Template.BasePath "/trivy/trivy-secret.yaml") .>: error calling include: template: harbor/templates/trivy/trivy-secret.yaml:11:15: executing "harbor/templates/trivy/trivy-secret.yaml" at <include "harbor.redis.urlForTrivy" .>: error calling include: template: harbor/templates/_helpers.tpl:239:48: executing "harbor.redis.urlForTrivy" at <include "harbor.redis.url" $>: error calling include: template: harbor/templates/_helpers.tpl:207:64: executing "harbor.redis.url" at <include "harbor.redis.cred" $>: error calling include: template: harbor/templates/_helpers.tpl:196:25: executing "harbor.redis.cred" at <include "harbor.redis.pwdfromsecret" $>: error calling include: template: harbor/templates/_helpers.tpl:190:56: executing "harbor.redis.pwdfromsecret" at <.Values.redis.external.existingSecret>: nil pointer evaluating interface {}.REDIS_PASSWORD
Use --debug flag to render out invalid YAML
: unable to run: 'helm template harbor /Users/ashtonian/projects/hops/k8s/dev/harbor/charts/harbor-1.17.0/harbor --namespace dev -f /var/folders/jv/f_n4zzr921z8qjd2_nb6ns500000gn/T/kustomize-helm-1169992686/harbor-kustomize-values.yaml --include-crds' with env=[HELM_CONFIG_HOME=/var/folders/jv/f_n4zzr921z8qjd2_nb6ns500000gn/T/kustomize-helm-1169992686/helm HELM_CACHE_HOME=/var/folders/jv/f_n4zzr921z8qjd2_nb6ns500000gn/T/kustomize-helm-1169992686/helm/.cache HELM_DATA_HOME=/var/folders/jv/f_n4zzr921z8qjd2_nb6ns500000gn/T/kustomize-helm-1169992686/helm/.data] (is 'helm' installed?): exit status 1
ashtonian@Mac harbor %