feat(hcloud): migrate from infrastructure repo
All checks were successful
Renovate / renovate (push) Successful in 21s
All checks were successful
Renovate / renovate (push) Successful in 21s
This commit is contained in:
parent
9e43341646
commit
bbd70949e2
6 changed files with 57 additions and 0 deletions
1
hcloud/.gitattributes
vendored
Normal file
1
hcloud/.gitattributes
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
secret.*.yaml filter=age diff=age merge=age -text
|
13
hcloud/config/values.ccm.yaml
Normal file
13
hcloud/config/values.ccm.yaml
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
monitoring:
|
||||||
|
podMonitor:
|
||||||
|
enabled: true
|
||||||
|
|
||||||
|
networking:
|
||||||
|
enabled: true
|
||||||
|
clusterCIDR: 10.42.0.0/24
|
||||||
|
|
||||||
|
env:
|
||||||
|
HCLOUD_LOAD_BALANCERS_USE_PRIVATE_IP:
|
||||||
|
value: "true"
|
||||||
|
HCLOUD_LOAD_BALANCERS_LOCATION:
|
||||||
|
value: "hel1"
|
10
hcloud/config/values.csi.yaml
Normal file
10
hcloud/config/values.csi.yaml
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
controller:
|
||||||
|
hcloudToken:
|
||||||
|
existingSecret:
|
||||||
|
name: hcloud
|
||||||
|
key: token
|
||||||
|
|
||||||
|
metrics:
|
||||||
|
enabled: true
|
||||||
|
serviceMonitor:
|
||||||
|
enabled: true
|
23
hcloud/kustomization.yaml
Normal file
23
hcloud/kustomization.yaml
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
|
||||||
|
namespace: kube-system
|
||||||
|
|
||||||
|
resources:
|
||||||
|
- resources/storageclass.xfs.yaml
|
||||||
|
- resources/secret.hcloud.yaml
|
||||||
|
|
||||||
|
helmCharts:
|
||||||
|
- name: hcloud-cloud-controller-manager
|
||||||
|
repo: https://charts.hetzner.cloud
|
||||||
|
releaseName: hccm
|
||||||
|
namespace: kube-system
|
||||||
|
version: "1.19.0"
|
||||||
|
valuesFile: config/values.ccm.yaml
|
||||||
|
|
||||||
|
- name: hcloud-csi
|
||||||
|
repo: https://charts.hetzner.cloud
|
||||||
|
releaseName: hcloud-csi-driver
|
||||||
|
namespace: kube-system
|
||||||
|
version: "2.6.0"
|
||||||
|
valuesFile: config/values.csi.yaml
|
BIN
hcloud/resources/secret.hcloud.yaml
Normal file
BIN
hcloud/resources/secret.hcloud.yaml
Normal file
Binary file not shown.
10
hcloud/resources/storageclass.xfs.yaml
Normal file
10
hcloud/resources/storageclass.xfs.yaml
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
apiVersion: storage.k8s.io/v1
|
||||||
|
kind: StorageClass
|
||||||
|
metadata:
|
||||||
|
name: hcloud-volumes-xfs
|
||||||
|
allowVolumeExpansion: true
|
||||||
|
provisioner: csi.hetzner.cloud
|
||||||
|
reclaimPolicy: Delete
|
||||||
|
volumeBindingMode: WaitForFirstConsumer
|
||||||
|
parameters:
|
||||||
|
fsType: xfs
|
Loading…
Reference in a new issue