Skip to content

no template "artifactory.getImageInfoByValue" associated with template "gotpl" #80

@wardbryan

Description

@wardbryan

I'm trying to add the contents of the artifactory-ha-values.yaml to an existing artifactory-ha deployment, which is running in an ArgoCD app, and am encountering the following error:

Failed to load target state: failed to generate manifest for source 1 of 1: rpc error: code = Unknown desc = `helm template . --name-template jfrog-artifactory-ha-<redacted> --namespace artifactory --kube-version 1.30 --values /tmp/<redacted> <api versions removed> --include-crds` failed exit status 1: Error: template: artifactory-ha/templates/artifactory-primary-statefulset.yaml:108:3: executing "artifactory-ha/templates/artifactory-primary-statefulset.yaml" at <tpl (include "artifactory-ha.customInitContainersBegin" .) .>: error calling tpl: error during tpl function execution for "- name: \"prepare-fluentd-conf-on-persistent-volume\"\n image: {{ include \"artifactory.getImageInfoByValue\" (list . \"initContainers\") }}\n imagePullPolicy: \"{{ .Values.artifactory.image.pullPolicy }}\"\n command:\n - 'sh'\n - '-c'\n - >\n mkdir -p {{ .Values.artifactory.persistence.mountPath }}/etc/fluentd/;\n curl https://raw.githubusercontent.com/jfrog/log-analytics-splunk/master/fluent.conf.rt -o {{ .Values.artifactory.persistence.mountPath }}/etc/fluentd/fluentd.conf\n volumeMounts:\n - mountPath: \"{{ .Values.artifactory.persistence.mountPath }}\"\n name: volume\n": template: gotpl:2:12: executing "gotpl" at <include "artifactory.getImageInfoByValue" (list . "initContainers")>: error calling include: template: no template "artifactory.getImageInfoByValue" associated with template "gotpl" Use --debug flag to render out invalid YAML

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions