Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- apiVersion: networking.k8s.io/v1
- kind: Ingress
- metadata:
- name: {{ .Release.Name }}-ingress
- namespace: {{ .Release.Namespace }}
- annotations:
- cert-manager.io/cluster-issuer: "letsencrypt-prod"
- nginx.ingress.kubernetes.io/proxy-set-header: |
- X-Forwarded-Proto $scheme
- X-Real-IP $remote_addr
- X-Forwarded-For $proxy_add_x_forwarded_for
- nginx.ingress.kubernetes.io/client-max-body-size: "1024m"
- nginx.ingress.kubernetes.io/client-body-buffer-size: "128k"
- nginx.ingress.kubernetes.io/proxy-connect-timeout: "90"
- nginx.ingress.kubernetes.io/proxy-send-timeout: "90"
- nginx.ingress.kubernetes.io/proxy-read-timeout: "90"
- nginx.ingress.kubernetes.io/proxy-buffers-number: "32"
- nginx.ingress.kubernetes.io/proxy-buffer-size: "4k"
- spec:
- ingressClassName: nginx
- rules:
- - host: {{ .Values.ingress.host | quote }}
- http:
- paths:
- {{- range .Values.ingress.paths }}
- - path: {{ .path }}
- pathType: {{ .pathType }}
- backend:
- service:
- name: {{ .serviceName }}
- port:
- number: {{ .servicePort }}
- {{- end }}
- tls:
- - hosts:
- - {{ .Values.ingress.host }}
- secretName: {{ .Values.ingress.tlsSecretName }}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement