feat(hcloud): migrate from infrastructure repo
All checks were successful
Renovate / renovate (push) Successful in 21s

This commit is contained in:
Peter 2024-05-05 16:20:29 +02:00
parent 9e43341646
commit bbd70949e2
Signed by: prskr
GPG key ID: F56BED6903BC5E37
6 changed files with 57 additions and 0 deletions

1
hcloud/.gitattributes vendored Normal file
View file

@ -0,0 +1 @@
secret.*.yaml filter=age diff=age merge=age -text

View 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"

View file

@ -0,0 +1,10 @@
controller:
hcloudToken:
existingSecret:
name: hcloud
key: token
metrics:
enabled: true
serviceMonitor:
enabled: true

23
hcloud/kustomization.yaml Normal file
View 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

Binary file not shown.

View 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