Begin adding chart for wordpress.

This commit is contained in:
2022-11-15 14:26:15 +13:00
parent 344c7b2201
commit 60cac7d380
8 changed files with 158 additions and 0 deletions

View File

@ -0,0 +1,23 @@
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