File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ metadata:
10
10
{{- if .Values.ingress.useOldClassAnnotation }}
11
11
kubernetes.io/ingress.class : {{ .Values.ingress_class | default "nginx" }}
12
12
{{- end }}
13
+ {{- if eq ( .Values.ingress_class | default "nginx" ) "nginx" }}
13
14
nginx.ingress.kubernetes.io/proxy-body-size : " 0"
14
15
nginx.ingress.kubernetes.io/proxy-request-buffering : " off"
15
16
# for larger uploads to not timeout
@@ -22,6 +23,10 @@ metadata:
22
23
{{- else }}
23
24
nginx.ingress.kubernetes.io/ssl-redirect : " false"
24
25
{{- end }}
26
+ {{- end }}
27
+ {{- range $key, $value := .Values.ingress.annotations }}
28
+ {{ $key }}: {{ $value | quote }}
29
+ {{- end }}
25
30
26
31
spec :
27
32
{{- if not .Values.ingress.useOldClassAnnotation }}
Original file line number Diff line number Diff line change @@ -489,6 +489,14 @@ ingress:
489
489
# Optional: Uncomment to use your own cluster-issuer instead of default ACME https validation
490
490
# custom_cluster_issuer: custom_cluster_issuer-name
491
491
492
+ # Optional: Uncomment to apply custom annotations
493
+ # annotations:
494
+ # alb.ingress.kubernetes.io/scheme: internet-facing
495
+ # alb.ingress.kubernetes.io/target-type: ip
496
+ # alb.ingress.kubernetes.io/listen-ports: '[{"HTTPS": 443}]'
497
+ # alb.ingress.kubernetes.io/certificate-arn: "certificate-arn"
498
+
499
+
492
500
ingress_class : nginx
493
501
494
502
# Optional: Front-end injected script
You can’t perform that action at this time.
0 commit comments