I want to set wildcard subdomain for my project, using k8s, nginx ingress controller, helm chart:
In ingress.yaml
file:
...
rules:
- host: {{ .Values.ingress.host }}
...
In values.yaml
file, I change host example.local
to *.example.local
:
...
ingress:
enabled: true
host: "*.example.local"
...
Then, when I install chart using helm chart:
Error: YAML parse error on example/templates/ingress.yaml: error converting YAML to JSON: yaml: line 15: did not find expected alphabetic or numeric character
How can I fix it?
Thank for your support.