ValidationError(Ingress.spec.rules[0].http):缺少必填字段 "paths"
ValidationError(Ingress.spec.rules[0].http): missing required field "paths"
我的 values.yaml 文件中有以下代码:
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
当我运行:helm upgrade --install fusionauth-init --values fusionauth/values.yaml fusionauth
我收到以下错误: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
我是 Helm 的新手,但我似乎无法找到我逻辑中的错误所在。
在此先感谢您的帮助。
基于之前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创建K8s Ingress资源,不需要再次使用helm部署Ingress
我的 values.yaml 文件中有以下代码:
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
当我运行:helm upgrade --install fusionauth-init --values fusionauth/values.yaml fusionauth
我收到以下错误: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
我是 Helm 的新手,但我似乎无法找到我逻辑中的错误所在。
在此先感谢您的帮助。
基于之前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创建K8s Ingress资源,不需要再次使用helm部署Ingress