Skip to content

Commit

Permalink
Bump to 1.23 (#637)
Browse files Browse the repository at this point in the history
* bump to k8s 1.23

* temporarily bump azure apps versions

* temporarily bump azure apps versions

* bump stuff

* fix liveness probe

* bump stuff

* use docker.io registry where possible

* use docker.io registry where possible
  • Loading branch information
whites11 authored Aug 22, 2022
1 parent 8c21dea commit 6626606
Show file tree
Hide file tree
Showing 17 changed files with 86 additions and 25 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]

### Changed

- Bump to flatcar `3227.2.1`.
- Bump to kubernetes `1.23.9`.
- Bump to cilium app version `0.2.6`.
- Bump to coredns app version `1.11.0`.
- Bump to nginx-ingress-controller app version `2.15.1`.
- [AWS] Bump to aws-cloud-controller-manager app version `1.23.2-gs2`.
- [AWS] Bump to aws-ebs-csi-driver app version `2.16.1`.
- [Azure] Bump azure-cloud-controller-manager app to version `1.23.17-gs2`.
- [Azure] Bump azure-cloud-node-manager app to version `1.23.17-gs1`.
- [Azure] Bump azuredisk-ebs-driver app to version `1.21.0-gs1`.
- Enable `--allocate-node-cidrs` to controller-manager flags.
- Bump `azure-cloud-controller-manager` to `1.1.17-gs2`.

Expand Down
4 changes: 2 additions & 2 deletions platforms/aws/giantnetes/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ variable "flatcar_linux_channel" {
variable "flatcar_linux_version" {
description = "Flatcar linux version."
type = string
default = "3139.2.3"
default = "3227.2.1"
}

variable "flatcar_ami_owner" {
Expand All @@ -150,7 +150,7 @@ variable "docker_registry_mirror" {

variable "hyperkube_version" {
type = string
default = "1.22.11"
default = "1.23.9"
}

### DNS ###
Expand Down
4 changes: 2 additions & 2 deletions platforms/azure/giantnetes/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ variable "flatcar_linux_channel" {
variable "flatcar_linux_version" {
description = "Flatcar linux version."
type = string
default = "3139.2.3"
default = "3227.2.1"
}

variable "vault_image_publisher" {
Expand Down Expand Up @@ -168,7 +168,7 @@ variable "docker_registry_mirror" {

variable "hyperkube_version" {
type = string
default = "1.22.11"
default = "1.23.9"
}

variable "pod_infra_image" {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ spec:
secret:
name: ""
namespace: ""
version: 1.22.4-gs1
version: 1.23.2-gs2
2 changes: 1 addition & 1 deletion templates/files/apps/aws/aws-ebs-csi-driver-app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@ spec:
secret:
name: ""
namespace: ""
version: 2.15.0
version: 2.16.1
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ metadata:
namespace: giantswarm
data:
values: |
image:
registry: {{ .DockerRegistry }}
cluster:
calico:
CIDR: {{ .PodCIDR }}
Expand Down Expand Up @@ -41,5 +43,5 @@ spec:
secret:
name: ""
namespace: ""
version: 1.1.17-gs2
version: v1.23.17-gs2

16 changes: 13 additions & 3 deletions templates/files/apps/azure/azure-cloud-node-manager.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: azure-cloud-node-manager-user-values
namespace: giantswarm
data:
values: |
image:
registry: {{ .DockerRegistry }}
---
apiVersion: application.giantswarm.io/v1alpha1
kind: App
metadata:
Expand Down Expand Up @@ -25,10 +35,10 @@ spec:
namespaceConfig: {}
userConfig:
configMap:
name: ""
namespace: ""
name: "azure-cloud-node-manager-user-values"
namespace: "giantswarm"
secret:
name: ""
namespace: ""
version: 1.1.17-gs1
version: v1.23.17-gs1

16 changes: 14 additions & 2 deletions templates/files/apps/azure/azure-scheduled-events.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: azure-scheduled-events-user-values
namespace: giantswarm
data:
values: |
Installation:
V1:
Registry:
Domain: {{ .DockerRegistry }}
---
apiVersion: application.giantswarm.io/v1alpha1
kind: App
metadata:
Expand Down Expand Up @@ -25,8 +37,8 @@ spec:
namespaceConfig: {}
userConfig:
configMap:
name: ""
namespace: ""
name: "azure-scheduled-events-user-values"
namespace: "giantswarm"
secret:
name: ""
namespace: ""
Expand Down
16 changes: 13 additions & 3 deletions templates/files/apps/azure/azuredisk-csi-driver.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: azuredisk-csi-driver-user-values
namespace: giantswarm
data:
values: |
image:
baseRepo: {{ .DockerRegistry }}/giantswarm/
---
apiVersion: application.giantswarm.io/v1alpha1
kind: App
metadata:
Expand Down Expand Up @@ -25,10 +35,10 @@ spec:
namespaceConfig: {}
userConfig:
configMap:
name: ""
namespace: ""
name: "azuredisk-csi-driver-user-values"
namespace: "giantswarm"
secret:
name: ""
namespace: ""
version: v1.19.0-gs1
version: v1.21.0-gs1

2 changes: 1 addition & 1 deletion templates/files/apps/common/cilium-app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,4 @@ spec:
secret:
name: ""
namespace: ""
version: 0.2.3
version: 0.2.6
4 changes: 3 additions & 1 deletion templates/files/apps/common/coredns-app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ metadata:
namespace: giantswarm
data:
values: |
image:
registry: {{ .DockerRegistry }}
cluster:
kubernetes:
clusterDomain: {{ .ClusterDomain }}
Expand Down Expand Up @@ -49,4 +51,4 @@ spec:
secret:
name: ""
namespace: ""
version: 1.10.1
version: 1.11.0
4 changes: 3 additions & 1 deletion templates/files/apps/common/ingress-controller-app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ metadata:
namespace: giantswarm
data:
configmap-values.yaml: |
image:
registry: {{ .DockerRegistry }}
configmap:
use-forwarded-headers: "false"
{{- if eq .Provider "aws" }}
Expand Down Expand Up @@ -50,4 +52,4 @@ spec:
secret:
name: ""
namespace: ""
version: 2.14.0
version: 2.15.1
2 changes: 1 addition & 1 deletion templates/files/config/scheduler.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
kind: KubeSchedulerConfiguration
apiVersion: kubescheduler.config.k8s.io/v1beta1
apiVersion: kubescheduler.config.k8s.io/v1beta3
clientConnection:
kubeconfig: /etc/kubernetes/kubeconfig/scheduler.yaml
3 changes: 2 additions & 1 deletion templates/files/manifests/controller-manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ spec:
httpGet:
host: 127.0.0.1
path: /healthz
port: 10251
port: 10257
scheme: HTTPS
initialDelaySeconds: 15
timeoutSeconds: 15
volumeMounts:
Expand Down
3 changes: 2 additions & 1 deletion templates/files/manifests/scheduler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ spec:
httpGet:
host: 127.0.0.1
path: /healthz
port: 10251
port: 10257
scheme: HTTPS
initialDelaySeconds: 15
timeoutSeconds: 15
volumeMounts:
Expand Down
9 changes: 7 additions & 2 deletions templates/master.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -670,8 +670,13 @@ systemd:
[Service]
Type=oneshot
RemainAfterExit=yes
EnvironmentFile=/etc/network-environment
ExecStart=/bin/bash -c '/usr/bin/envsubst </etc/kubernetes/config/kubelet.yaml.tmpl >/etc/kubernetes/config/kubelet.yaml'
TimeoutStartSec=0
Environment=IMAGE={{.DockerRegistry}}/giantswarm/alpine:3.16.1-envsubst
ExecStart=docker run --rm \
--env-file /etc/network-environment \
-v /etc/kubernetes/config/:/etc/kubernetes/config/ \
$IMAGE \
ash -c "cat /etc/kubernetes/config/kubelet.yaml.tmpl |envsubst >/etc/kubernetes/config/kubelet.yaml"

[Install]
WantedBy=multi-user.target
Expand Down
9 changes: 7 additions & 2 deletions templates/worker.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -353,8 +353,13 @@ systemd:
[Service]
Type=oneshot
RemainAfterExit=yes
EnvironmentFile=/etc/network-environment
ExecStart=/bin/bash -c '/usr/bin/envsubst </etc/kubernetes/config/kubelet.yaml.tmpl >/etc/kubernetes/config/kubelet.yaml'
TimeoutStartSec=0
Environment=IMAGE={{.DockerRegistry}}/giantswarm/alpine:3.16.1-envsubst
ExecStart=docker run --rm \
--env-file /etc/network-environment \
-v /etc/kubernetes/config/:/etc/kubernetes/config/ \
$IMAGE \
ash -c "cat /etc/kubernetes/config/kubelet.yaml.tmpl |envsubst >/etc/kubernetes/config/kubelet.yaml"

[Install]
WantedBy=multi-user.target
Expand Down

0 comments on commit 6626606

Please sign in to comment.