Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

helm-op: Update Kubernetes deps to 1.11 and fix unwanted upgrades #1193

Merged
merged 2 commits into from
Jul 3, 2018

Conversation

stefanprodan
Copy link
Member

  • update Kubernetes deps to 1.11 and client-go to 8.0
  • generate Helm CRD clientset, informers and listeners for K8s 1.11
  • fix unwanted upgrades on K8s 1.11 by triggering a Helm upgrade only when FHR values changed

Tested on K8s 1.11 and 1.10 with stefanprodan/helm-operator:k8s11-9d5eb919-wip7

- generate Helm CRD clientset, informers  and listeners for K8s 1.11
 - fix unwanted upgrades on K8s 1.11
Copy link
Member

@squaremo squaremo left a 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.


[[projects]]
branch = "release-1.9"
branch = "release-1.11"

This comment was marked as abuse.

[[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.

@@ -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.

@@ -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.

@@ -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.

@stefanprodan stefanprodan merged commit 932b7b2 into master Jul 3, 2018
@stefanprodan stefanprodan deleted the k8s11 branch July 3, 2018 15:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants