2023-08-13 12:13:53 -05:00
---
2023-10-26 17:56:34 -05:00
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/helmrelease-helm-v2beta1.json
2023-08-13 12:13:53 -05:00
apiVersion : helm.toolkit.fluxcd.io/v2beta1
kind : HelmRelease
metadata :
2023-12-01 09:04:57 -06:00
name : ingress-nginx-hsn
2023-08-13 12:13:53 -05:00
spec :
interval : 30m
chart :
spec :
chart : ingress-nginx
2023-10-25 12:00:18 -05:00
version : 4.8 .3
2023-08-13 12:13:53 -05:00
sourceRef :
kind : HelmRepository
name : ingress-nginx
namespace : flux-system
interval : 30m
values :
controller :
2023-11-30 12:31:23 -06:00
replicaCount : 2
2023-08-13 12:13:53 -05:00
updateStrategy :
2023-10-03 12:32:41 -05:00
type : RollingUpdate
2023-10-11 12:52:04 -05:00
allowSnippetAnnotations : true
2023-10-26 17:56:34 -05:00
enableAnnotationValidations : true
2023-08-13 12:13:53 -05:00
service :
enabled : true
type : LoadBalancer
annotations :
2023-10-01 19:53:28 -05:00
load-balancer.hetzner.cloud/location : fsn1
2023-10-01 21:32:49 -05:00
load-balancer.hetzner.cloud/protocol : tcp
2023-11-27 20:05:14 -06:00
load-balancer.hetzner.cloud/name : hsn-nginx
2023-10-01 21:32:49 -05:00
load-balancer.hetzner.cloud/uses-proxyprotocol : true
2023-10-01 19:53:28 -05:00
2023-08-13 12:13:53 -05:00
publishService :
enabled : true
metrics :
enabled : true
serviceMonitor :
enabled : true
namespace : network
namespaceSelector :
any : true
ingressClassResource :
2023-11-27 22:31:02 -06:00
name : hsn-nginx
2023-08-13 12:13:53 -05:00
default : true
config :
2023-10-11 12:52:04 -05:00
block-user-agents : "GPTBot,~*GPTBot*,ChatGPT-User,~*ChatGPT-User*,Google-Extended,~*Google-Extended*,CCBot,~*CCBot*,Omgilibot,~*Omgilibot*,FacebookBot,~*FacebookBot*" # taken from https://github.com/superseriousbusiness/gotosocial/blob/main/internal/web/robots.go
2023-08-13 12:13:53 -05:00
client-header-timeout : 120
client-body-buffer-size : "100M"
client-body-timeout : 120
enable-brotli : "true"
2023-10-11 12:52:04 -05:00
enable-ocsp : "true"
2023-08-13 12:13:53 -05:00
enable-real-ip : "true"
use-proxy-protocol : "true"
2023-10-11 12:52:04 -05:00
hide-headers : Server,X-Powered-By
2023-08-13 12:13:53 -05:00
hsts-max-age : "31449600"
keep-alive : 120
keep-alive-requests : 10000
proxy-body-size : 0
proxy-buffer-size : "16k"
ssl-protocols : "TLSv1.3 TLSv1.2"
use-forwarded-headers : "true"
extraArgs :
2023-11-27 22:31:02 -06:00
default-ssl-certificate : "network/hsn-dev-tls"
2023-08-13 12:13:53 -05:00
topologySpreadConstraints :
- maxSkew : 2
topologyKey : kubernetes.io/hostname
whenUnsatisfiable : DoNotSchedule
labelSelector :
matchLabels :
2023-12-01 10:42:56 -06:00
app.kubernetes.io/instance : ingress-nginx-hsn
2023-08-13 12:13:53 -05:00
app.kubernetes.io/component : controller
affinity :
podAntiAffinity :
requiredDuringSchedulingIgnoredDuringExecution :
- labelSelector :
matchExpressions :
- key : app.kubernetes.io/component
operator : In
values :
- controller
- key : app.kubernetes.io/instance
operator : In
values :
2023-12-01 10:42:56 -06:00
- ingress-nginx-hsn
2023-08-13 12:13:53 -05:00
topologyKey : kubernetes.io/hostname
resources :
requests :
cpu : 23m
memory : 381M
defaultBackend :
enabled : false