-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathnginx-internal.yaml
77 lines (77 loc) · 1.95 KB
/
nginx-internal.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: ingress-nginx-internal
namespace: kube-system
spec:
interval: 5m
chart:
spec:
# renovate: registryUrl=https://kubernetes.github.io/ingress-nginx
chart: ingress-nginx
version: 4.12.0
sourceRef:
kind: HelmRepository
name: ingress-nginx-charts
namespace: flux-system
interval: 5m
values:
controller:
ingressClass: nginx-internal
ingressClassByName: true
ingressClassResource:
name: nginx-internal
enabled: true
default: true
controllerValue: "k8s.io/ingress-nginx-internal"
admissionWebhooks:
objectSelector:
matchExpressions:
- key: ingress-class
operator: In
values:
- nginx-internal
replicaCount: 2
config:
custom-http-errors: 404,401,403,500,503
hsts-max-age: "31449600"
use-forwarded-headers: "true"
service:
type: LoadBalancer
exernalIPs:
- ${SVC_NGINX_INTERNAL_IP}
loadBalancerIP: ${SVC_NGINX_INTERNAL_IP}
externalTrafficPolicy: Local
metrics:
enabled: true
serviceMonitor:
enabled: true
namespace: kube-system
prometheusRule:
enabled: false
tolerations:
- key: "arm"
operator: "Exists"
extraArgs:
default-ssl-certificate: "cert-manager/acme-crt-secret"
resources:
requests:
memory: 500Mi
cpu: 25m
limits:
memory: 600Mi
defaultBackend:
enabled: true
image:
repository: ghcr.io/tarampampam/error-pages
tag: 3.3.1
extraEnvs:
- { name: TEMPLATE_NAME, value: shuffle }
- { name: SHOW_DETAILS, value: "false" }
resources:
requests:
memory: 250Mi
cpu: 25m
limits:
memory: 350Mi