kubernetes-cd-plugin icon indicating copy to clipboard operation
kubernetes-cd-plugin copied to clipboard

Traefik (Custom Resource Definition) ingress route not supported

Open olibob opened this issue 5 years ago • 3 comments

Hi,

I was testing Traefik Kubernetes ingress route and stumbled on this trying to integrate it in a deployment file (deployment + service + traefik ingress route).

Starting Kubernetes deployment
Loading configuration: /home/jenkins/agent/workspace/hooktest_dev/myapp-k8s-deploy.yaml
ERROR: ERROR: java.io.IOException: ERROR: YAML file myapp-k8s-deploy.yaml is invalid, please check it. Details: java.io.IOException: Unknown apiVersionKind: traefik.containo.us/v1alpha1/IngressRoute known kinds are:

I know this is alpha but any plans to support it in future releases?

Thanks

olibob avatar Nov 21 '19 12:11 olibob

Currently there is no universal support for CRD for kubernetes java client, we need to write some code to support various types of resources. https://github.com/kubernetes-client/java/pull/738

runzexia avatar Dec 17 '19 06:12 runzexia

Some updates for this issue?

petershaw avatar Feb 05 '20 10:02 petershaw

Looks like the support was added to the Java Client 3 days ago as per link you posted @runzexia

DeanPH avatar Feb 25 '20 11:02 DeanPH