Skip to content

Commit

Permalink
Kubernetes v1.9.0 Support (#135)
Browse files Browse the repository at this point in the history
This adds support for Kubernetes v1.9.0. No major surprises so far. The
usual nginx smoke test and exposing via LB works.

The Openstack cloud-provider now only supports Cinder v3. The expected
major pain didn't actually kick in. It just works. TM. Famous last
words.
  • Loading branch information
BugRoger committed Dec 22, 2017
1 parent 4ed6346 commit 375b3c0
Show file tree
Hide file tree
Showing 7 changed files with 389 additions and 6 deletions.
2 changes: 1 addition & 1 deletion charts/kube-master/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: v1
description: A Helm chart for Kubernetes
name: kube-master
version: 1.8.5-kubernikus.0
version: 1.9.0-kubernikus.0
2 changes: 1 addition & 1 deletion charts/kube-master/charts/etcd/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Declare variables to be passed into your templates.
image:
repository: gcr.io/google_containers/etcd
tag: 3.0.17
tag: 3.1.10
pullPolicy: IfNotPresent
## Persist data to a persitent volume
persistence:
Expand Down
4 changes: 2 additions & 2 deletions charts/kube-master/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Declare variables to be passed into your templates.
image:
repository: quay.io/coreos/hyperkube
tag: v1.8.5_coreos.0
tag: v1.9.0_coreos.0
pullPolicy: IfNotPresent

# Settings for the openstack cloudprovider
Expand Down Expand Up @@ -33,7 +33,7 @@ advertiseAddress: 198.18.128.1

version:
# kubernikus:
kubernetes: 1.8.5
kubernetes: 1.9.0

api:
replicaCount: 1
Expand Down
2 changes: 1 addition & 1 deletion pkg/controller/ground/bootstrap/dns/dns.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const (
SERVICE_ACCOUNT = "kube-dns"
CONFIGMAP = "kube-dns"
DEFAULT_REPOSITORY = "gcr.io/google_containers"
DEFAULT_VERSION = "1.14.5"
DEFAULT_VERSION = "1.14.7"
)

var (
Expand Down
2 changes: 2 additions & 0 deletions pkg/templates/ignition.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ var Ignition = &ignition{

func (i *ignition) getIgnitionTemplate(kluster *kubernikusv1.Kluster) string {
switch {
case strings.HasPrefix(kluster.Spec.Version, "1.9"):
return Node_1_9
case strings.HasPrefix(kluster.Spec.Version, "1.8"):
return Node_1_8
default:
Expand Down
Loading

0 comments on commit 375b3c0

Please sign in to comment.