I'm looking to install the nginx ingress
from argocd
. In argocd
application referring nginx-ingress` public helm chart as source with 2 custom values files. 1 with common values across envs and 2nd with specific.
for ex: 1. common-values.yaml
controller:
ingressClass: nginx-internal
service:
internal:
loadBalancerIP: {{ .Values.public_ip }}
- dev-specific.yaml file
public_ip: "1.2.3.4"
finally I want it looking like this one
controller:
ingressClass: nginx-internal
service:
internal:
loadBalancerIP: 1.2.3.4
I don't want to keep the same yaml reference in both the values.yaml
files which is also possible, because I am going to output specific values from my terraform as json.
for example test.json
{
"internal_ip": "1.2.3.4"
}
Another possible way is to keep one values yaml file in helm template folder and pass values.yaml file and generate a new yaml file with all rendered values, but in my case I cannot play around with ingress helm chart template files, looking for a alternative from values files itself.
I tried creating variables like $public_ip in values.yaml and try pass values from another values and helm chart is not rendering from values.yaml file