Fix system upgrade controller certificates
This commit is contained in:
parent
a91c15720e
commit
74829deaa7
@ -113,11 +113,12 @@ resource "hcloud_server" "first_control_plane" {
|
|||||||
"https://raw.githubusercontent.com/hetznercloud/csi-driver/${local.csi_version}/deploy/kubernetes/hcloud-csi.yml",
|
"https://raw.githubusercontent.com/hetznercloud/csi-driver/${local.csi_version}/deploy/kubernetes/hcloud-csi.yml",
|
||||||
"https://github.com/weaveworks/kured/releases/download/${local.kured_version}/kured-${local.kured_version}-dockerhub.yaml",
|
"https://github.com/weaveworks/kured/releases/download/${local.kured_version}/kured-${local.kured_version}-dockerhub.yaml",
|
||||||
"https://raw.githubusercontent.com/rancher/system-upgrade-controller/master/manifests/system-upgrade-controller.yaml",
|
"https://raw.githubusercontent.com/rancher/system-upgrade-controller/master/manifests/system-upgrade-controller.yaml",
|
||||||
"./traefik.yaml",
|
"traefik.yaml",
|
||||||
]
|
]
|
||||||
patchesStrategicMerge = [
|
patchesStrategicMerge = [
|
||||||
file("${path.module}/patches/kured.yaml"),
|
file("${path.module}/patches/kured.yaml"),
|
||||||
file("${path.module}/patches/ccm.yaml")
|
file("${path.module}/patches/ccm.yaml"),
|
||||||
|
file("${path.module}/patches/system-upgrade-controller.yaml")
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
destination = "/tmp/post_install/kustomization.yaml"
|
destination = "/tmp/post_install/kustomization.yaml"
|
||||||
|
18
patches/system-upgrade-controller.yaml
Normal file
18
patches/system-upgrade-controller.yaml
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: system-upgrade-controller
|
||||||
|
namespace: system-upgrade
|
||||||
|
spec:
|
||||||
|
template:
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: system-upgrade-controller
|
||||||
|
volumeMounts:
|
||||||
|
- name: ca-certificates
|
||||||
|
mountPath: /var/lib/ca-certificates
|
||||||
|
volumes:
|
||||||
|
- name: ca-certificates
|
||||||
|
hostPath:
|
||||||
|
path: /var/lib/ca-certificates
|
||||||
|
type: Directory
|
Loading…
Reference in New Issue
Block a user