You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hetzner-ansible/roles/kubernetes/ingress-controller/defaults/main.yml

45 lines
1.5 KiB
YAML

---
k8s_prometheus_helm__name: "prometheus"
k8s_ingress_helm__release_namespace: "ingress"
k8s_ingress_helm__release_values:
controller:
replicaCount: 3
config:
use-forwarded-headers: "true"
compute-full-forwarded-for: "true"
use-proxy-protocol: "true"
ssl-ciphers: "EECDH+AESGCM:EDH+AESGCM"
ssl-protocols: "TLSv1.3"
service:
externalTrafficPolicy: Local
healthCheckNodePort: &healthchecknodeport 31066
nodePorts:
http: &httpnodeport 30473
https: 30474
annotations:
load-balancer.hetzner.cloud/type: "lb11"
load-balancer.hetzner.cloud/location: nbg1
load-balancer.hetzner.cloud/name: "{{ stage }}-ingress"
load-balancer.hetzner.cloud/disable-public-network: true
load-balancer.hetzner.cloud/disable-private-ingress: true
load-balancer.hetzner.cloud/use-private-ip: true
load-balancer.hetzner.cloud/uses-proxyprotocol: true
load-balancer.hetzner.cloud/health-check-interval: "3s"
load-balancer.hetzner.cloud/health-check-timeout: "1s"
load-balancer.hetzner.cloud/health-check-retries: 3
load-balancer.hetzner.cloud/health-check-protocol: "tcp"
load-balancer.hetzner.cloud/health-check-port: *httpnodeport
metrics:
enabled: true
serviceMonitor:
enabled: true
namespace: "{{ k8s_ingress_helm__release_namespace }}"
additionalLabels:
release: "{{ k8s_prometheus_helm__name }}"
defaultBackend:
enabled: true
# TODO nginx ingress dashboard 9614