-
Notifications
You must be signed in to change notification settings - Fork 55
Expand file tree
/
Copy pathingress-helm-values.ftl.yaml
More file actions
93 lines (81 loc) · 2.4 KB
/
ingress-helm-values.ftl.yaml
File metadata and controls
93 lines (81 loc) · 2.4 KB
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<#assign DockerImageParser=statics['com.cloudogu.gitops.utils.DockerImageParser']>
<#if config.features.ingress.helm.image?has_content>
<#assign imageObject = DockerImageParser.parse(config.features.ingress.helm.image)>
image:
repository: ${imageObject.registryAndRepositoryAsString}
tag: ${imageObject.tag}
# Changing the image will change digest, so don't use the default.
# A digest can also be appended to the tag
digest: null
</#if>
deployment:
kind: Deployment
<#if config.registry.createImagePullSecrets == true>
imagePullSecrets:
- name: proxy-registry
</#if>
podAnnotations:
ingressclass.kubernetes.io/is-default-class: "true"
podLabels:
traefik.http.middlewares.gzip.compress: "true"
admissionWebhooks:
enabled: false
<#if config.application.netpols == true>
networkPolicy:
enabled: true
</#if>
service:
# Preserve client ip address
# https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
externalTrafficPolicy: Local
ports:
websecure:
proxyProtocol:
trustedIPs:
- "127.0.0.1/32"
- "172.18.0.0/12"
forwardedHeaders:
trustedIPs:
- "127.0.0.1/32"
- "172.18.0.0/12"
replicaCount: 2
resources:
# Be generous to our Single Point of failure
limits:
cpu: '1'
memory: 1Gi
requests:
cpu: 100m
memory: 90Mi
logs:
general:
level: INFO
access:
enabled: true
# Traefik default access log format format: "common"
# <remote_IP_address> - <client_user_name_if_available> [<timestamp>] "<request_method> <request_path> <request_protocol>" <HTTP_status> <content-length> "<request_referrer>" "<request_user_agent>" <number_of_requests_received_since_Traefik_started> "<Traefik_router_name>" "<Traefik_server_URL>" <request_duration_in_ms>ms logs:
global:
checknewversion: false
sendAnonymousUsage: false
<#if config.features.monitoring.active == true>
metrics:
enabled: true
prometheus:
enabled: true
service:
enabled: true
serviceMonitor:
enabled: true
namespace: ${config.application.namePrefix}monitoring
additionalLabels:
release: kube-prometheus-stack
</#if>
# Enable Kubernetes Gateway API
providers:
kubernetesGateway:
enabled: true
gatewayClass:
enabled: true
name: "traefik"
gateway:
enabled: true