-
Notifications
You must be signed in to change notification settings - Fork 1.1k
helm-op: Update Kubernetes deps to 1.11 and fix unwanted upgrades #1193
Conversation
- generate Helm CRD clientset, informers and listeners for K8s 1.11
- fix unwanted upgrades on K8s 1.11
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left some comments but mainly just me moaning about generated code :-) Good to go, thanks Stefan 🎇
|
||
[[projects]] | ||
branch = "master" | ||
branch = "release-1.11" |
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
|
||
[[projects]] | ||
branch = "release-1.9" | ||
branch = "release-1.11" |
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
[[override]] | ||
name = "k8s.io/gengo" | ||
revision = "b58fc7edb82e0c6ffc9b8aef61813c7261b785d4" | ||
name = "github.com/json-iterator/go" |
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
@@ -343,3 +341,31 @@ func (c *Controller) deleteRelease(fhr ifv1.FluxHelmRelease) { | |||
} | |||
return | |||
} | |||
|
|||
// needsUpdate compares two FluxHelmRelease and determines if any changes occurred | |||
func needsUpdate(old, new ifv1.FluxHelmRelease) bool { |
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
@@ -37,7 +37,7 @@ func init() { | |||
// | |||
// import ( | |||
// "k8s.io/client-go/kubernetes" | |||
// clientsetscheme "k8s.io/client-go/kuberentes/scheme" | |||
// clientsetscheme "k8s.io/client-go/kubernetes/scheme" |
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
@@ -37,7 +37,7 @@ func init() { | |||
// | |||
// import ( | |||
// "k8s.io/client-go/kubernetes" | |||
// clientsetscheme "k8s.io/client-go/kuberentes/scheme" | |||
// clientsetscheme "k8s.io/client-go/kubernetes/scheme" |
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
Tested on K8s 1.11 and 1.10 with
stefanprodan/helm-operator:k8s11-9d5eb919-wip7