I have the following code in my values.yaml file:
ingress:
kind: Ingress
hostname: auth.localhost
enabled: true
metadata: fusionauth-ingress
hosts:
- host: auth.local
spec:
rules:
http:
paths: "/"
path:
pathType: Prefix
backend:
service:
name: web
port:
number: 8080
serviceName: fusionauth
servicePort: 9011
When I run: helm upgrade --install fusionauth-init --values fusionauth/values.yaml fusionauth
I get the following error: Error: UPGRADE FAILED: error validating "": error validating data: ValidationError(Ingress.spec.rules[0].http): missing required field "paths" in io.k8s.api.networking.v1.HTTPIngressRuleValue
I am new to Helm but I cannot seem to find where the error in my logic is.
Thanks in advance for the help.
Base on the chart source, your values are all invalid. You cannot copy K8s ingress spec directly for FusionAuth, you need to follow the structure of the chart values.yaml, the chart value meanings are here. If you were following the instruction here previously to create an K8s Ingress resource, you do not need to deploy Ingress again using helm.