blob: c1aca57de6086c68bc2dab8779bd5cb9d966c147 (
plain) (
blame)
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
  | 
controller:
  # Will add custom headers before sending response traffic to the client according to: https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/configmap/#add-headers
  addHeaders:
    x-powered-by: Joe Banks
  config:
    enable-real-ip: true
    forwarded-for-header: cf-connecting-ip
    generate-request-id: true
    allow-snippet-annotations: true
    annotations-risk-level: Critical
    allow-cross-namespace-resources: true
  extraArgs:
    default-ssl-certificate: "default/pythondiscord.com-tls"
  # This section refers to the creation of the IngressClass resource
  # IngressClass resources are supported since k8s >= 1.18
  ingressClassResource:
    enabled: true
    default: true
  kind: DaemonSet
  service:
    annotations:
      service.beta.kubernetes.io/linode-loadbalancer-throttle: 0
      service.beta.kubernetes.io/linode-loadbalancer-default-proxy-protocol: none
  metrics:
    port: 10254
    enabled: true
    service:
      annotations:
        prometheus.io/scrape: "true"
        prometheus.io/port: "10254"
 
  |