Files
charts/wordpress/templates/ingress.yaml

24 lines
602 B
YAML

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ .Release.Name }}
annotations:
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/proxy-body-size: {{ .Values.proxyBodySize }}
spec:
tls:
- hosts:
- {{ .Values.host }}
secretName: {{ .Release.Name }}-tls
rules:
- host: {{ required ".Values.host is required" .Values.host }}
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: {{ .Release.Name }}
port:
name: http