Skip to content

Commit 3460391

Browse files
committed
Update Ingress to non-beta version
1 parent 586f750 commit 3460391

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v2
22
name: netbox
3-
version: 3.0.0
3+
version: 3.0.1
44
appVersion: v2.10.4
55
description: IP address management (IPAM) and data center infrastructure management (DCIM) tool
66
home: https://github.com/bootc/netbox-chart

templates/ingress.yaml

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{{- if .Values.ingress.enabled -}}
22
{{- $fullName := include "netbox.fullname" . -}}
3-
apiVersion: networking.k8s.io/v1beta1
3+
apiVersion: networking.k8s.io/v1
44
kind: Ingress
55
metadata:
66
name: {{ $fullName }}
@@ -30,8 +30,10 @@ spec:
3030
{{- if kindIs "string" . }}
3131
- path: {{ . }}
3232
backend:
33-
serviceName: {{ $fullName }}
34-
servicePort: http
33+
service:
34+
name: {{ $fullName }}
35+
port:
36+
name: http
3537
{{- else }}
3638
- {{ . | toYaml | indent 12 | trim }}
3739
{{- end }}

0 commit comments

Comments
 (0)