1
0
Fork 0
This repository has been archived on 2025-08-23. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
mareshq-cthulhunetes-gitops/apps/cluster-infrastructure/hetzner-ccm.yaml
Vojtech Mares 6d381fed6d
feat(cluster-infrastructure): add hetzner-ccm
- allows for provisioning of Services, type=LoadBalancer

Signed-off-by: Vojtech Mares <iam@vojtechmares.com>
2023-12-31 11:12:45 +01:00

44 lines
1.2 KiB
YAML

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: hetzner-ccm
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: "10"
spec:
project: cluster-infrastructure
syncPolicy:
automated:
prune: true
selfHeal: true
source:
chart: hcloud-cloud-controller-manager
repoURL: https://charts.hetzner.cloud
targetRevision: 1.19.0
helm:
releaseName: hetzner-ccm
valuesObject:
nameOverride: hetzner-ccm
replicaCount: 2
# Since version 1.19.0, the CCM supports also Hetzner Robot (bare metal)
robot:
enabled: true
env:
HCLOUD_TOKEN:
valueFrom:
secretKeyRef:
name: hetzner-cloud-token
key: cloud-token
ROBOT_USER:
valueFrom:
secretKeyRef:
name: hetzner-robot-credentials
key: robot-user
ROBOT_PASSWORD:
valueFrom:
secretKeyRef:
name: hetzner-robot-credentials
key: robot-password
destination:
server: "https://kubernetes.default.svc"
namespace: kube-system