jenkinsci / kubernetes-cd-plugin

A Jenkins plugin to deploy to Kubernetes cluster
MIT License
140 stars 72 forks source link

Traefik (Custom Resource Definition) ingress route not supported #114

Open olibob opened 4 years ago

olibob commented 4 years ago

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

runzexia commented 4 years ago

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

petershaw commented 4 years ago

Some updates for this issue?

DeanPH commented 4 years ago

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