jenkinsci / kubernetes-cd-plugin

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

bump to kubernetes client 7.0.0 #116

Closed runzexia closed 4 years ago

runzexia commented 4 years ago

Signed-off-by: runzexia runzexia@yunify.com

@gavinfish Kubernetes client did not support IntOrString fields in previous versions. This prevents some correct yaml from being submitted, for example:

  strategy:
    type: RollingUpdate
    rollingUpdate:
      maxSurge: 2
      maxUnavailable: 1
Invalid value: intstr.IntOrString{Type:1, IntVal:0, StrVal:\"2\"}: a valid percent string must be a numeric string followed by an ending '%' (e.g. '1%',  or '93%', regex used for validation is '[0-9]+%')