kochetkov-ma / allure-server

Allure Server. Save/ generate / provide allure2 reports in one place
http://allure.iopump.ru
Apache License 2.0
213 stars 63 forks source link

Helm Chart install fails on recent K8s versions #79

Closed philippt closed 9 months ago

philippt commented 11 months ago

Trying to install from the Helm chart into Kubernetes running a recent version, an error like this is raised:

Required value: pathType must be specified

Full output/more details:

% minikube version
minikube version: v1.31.1
commit: fd3f3801765d093a485d255043149f92ec0a695f

% kubectl version --short
Client Version: v1.27.4
Kustomize Version: v5.0.1
Server Version: v1.26.3

% kubectl create namespace allure     
namespace/allure created

% helm upgrade --install allure-server . -n allure      
Release "allure-server" does not exist. Installing it now.
W1203 14:16:41.635416    8185 warnings.go:70] unknown field "spec.rules[0].http.paths[0].backend.serviceName"
W1203 14:16:41.635432    8185 warnings.go:70] unknown field "spec.rules[0].http.paths[0].backend.servicePort"
W1203 14:16:41.635434    8185 warnings.go:70] unknown field "spec.rules[1].http.paths[0].backend.serviceName"
W1203 14:16:41.635436    8185 warnings.go:70] unknown field "spec.rules[1].http.paths[0].backend.servicePort"
Error: 1 error occurred:
  * Ingress.extensions "allure-server-ingress" is invalid: [spec.rules[0].http.paths[0].pathType: Required value: pathType must be specified, spec.rules[1].http.paths[0].pathType: Required value: pathType must be specified]

It seems to me that new syntax is required in the Ingress spec, potentially since > 1.18, see e.g. here: https://kubernetes.github.io/ingress-nginx/user-guide/basic-usage/