-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BUG: substitutevalues:5: function "instance" not defined #565
Comments
After looking at the section on templating and also the kustomize specific section I tried disabling templating by patching all of my configmaps with this addition to my patches:
- target:
version: v1
kind: ConfigMap
patch: |-
apiVersion: v1
kind: Configmap
metadata:
name: ignored # required but not used
annotations:
projectsveltos.io/template: "false" Unfortunately it doesn't seem to have helped. |
Thank you @rbjorklin This is a use case I have not considered. Looking at the kustomize output, I see for instance
that needs no instantiation. I believe in your case you want to express path as a template
but then what is found inside that path requires no instantiation. So I will change Sveltos logic. Do not assume the content of a Kustomize output is a template unless there are
|
Resolved. Fix will be in v0.31.0 |
Problem Description
I'm trying to provision Prometheus but unfortunately I'm met with:
My Cluster Profile looks like this:
My Kustomization file looks like this:
And the contents of the folder referenced via the
kustomization.yaml
file was generated by executing:System Information
CLUSTERAPI VERSION:
v1.7.2
SVELTOS VERSION:
0.30.0
KUBERNETES VERSION:
v1.30.1
Logs
The text was updated successfully, but these errors were encountered: