Skip to content
Snippets Groups Projects
Commit 091ffe87 authored by Arie Peterson's avatar Arie Peterson
Browse files

Update to stable ingress API

parent a988e30c
No related branches found
No related tags found
1 merge request!59Resolve "Switch Ingress to networking.k8s.io/v1 api"
## Unreleased
* Update to stable ingress API
## [0.4.0] - 2021-10-20
* Update redis chart to version 15
......
{{- if .Values.ingress.enabled -}}
{{- $fullName := include "wordpress.fullname" . -}}
{{- $ingressPath := .Values.ingress.path -}}
apiVersion: networking.k8s.io/v1beta1
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ $fullName }}
......@@ -40,8 +40,11 @@ spec:
http:
paths:
- path: {{ $ingressPath }}
pathType: Prefix
backend:
serviceName: {{ $fullName }}
servicePort: http
service:
name: {{ $fullName }}
port:
name: http
{{- end }}
{{- end }}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment