-
Notifications
You must be signed in to change notification settings - Fork 211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
not able to install ingress #965
Comments
@lilyhe123, I believe we just fixed this with PR #951, correct? |
Not sure. Usually the misplaced annotation doesn't cause any validation error, at least on bare-metal environment. But you can try the fix anyway. @rkaler |
Tried on the latest build as well. I am getting the same exception. I tried to install the traefik-operator again with the new build and then tried to install ingress-per-domain again.. but it fails with the same exception @lilyhe123 @rjeberhard |
@rkaler can you add
|
It gives the sample exception even with the debug logs sh-4.2$ helm install --dry-run --debug ingress-per-domain --name soa-ingress --namespace rkoim --values ingress-per-domain/values.yaml [debug] SERVER: "127.0.0.1:50560" [debug] Original chart version: "" Error: error validating "": error validating data: found invalid field annotations for v1beta1.IngressSpec |
Per our IM, the k8s version you used is v1.9.2 that is an old version the operator doesn't support. See doc https://oracle.github.io/weblogic-kubernetes-operator/userguide/introduction/introduction/#prerequisites. Pls upgrade to k8s 1.10 at least and rerun. |
command used:
helm install ingress-per-domain --name soa-ingress --namespace rkoim --values ingress-per-domain/values.yaml
Error Message :
Error: error validating "": error validating data: found invalid field annotations for v1beta1.IngressSpec
Values.xml
sh-4.2$ cat ingress-per-domain/values.yaml
type: TRAEFIK
wlsDomain:
domainUID: soainfra
clusterName: soa_cluster
managedServerPort: 8001
traefik:
hostname: adc00wvh.us.oracle.com
sh-4.2$ cat ingress-per-domain/templates/traefik-ingress.yaml
{{- if eq .Values.type "TRAEFIK" }}
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: {{ .Values.wlsDomain.domainUID }}-traefik
namespace: {{ .Release.Namespace }}
labels:
weblogic.resourceVersion: domain-v2
spec:
annotations:
kubernetes.io/ingress.class: traefik
rules:
http:
paths:
backend:
serviceName: '{{ .Values.wlsDomain.domainUID }}-cluster-{{ .Values.wlsDomain.clusterName | lower | replace "_" "-" }}'
servicePort: {{ .Values.wlsDomain.managedServerPort }}
{{- end }}
The text was updated successfully, but these errors were encountered: