diff --git a/charts/netbox/Chart.yaml b/charts/netbox/Chart.yaml index cffc3a87..231fc19e 100644 --- a/charts/netbox/Chart.yaml +++ b/charts/netbox/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: netbox -version: 5.0.0-beta3 +version: 5.0.0-beta4 appVersion: "v3.6.4" type: application kubeVersion: ^1.25.0-0 diff --git a/charts/netbox/templates/ingress.yaml b/charts/netbox/templates/ingress.yaml index 8ad007be..b937c4f3 100644 --- a/charts/netbox/templates/ingress.yaml +++ b/charts/netbox/templates/ingress.yaml @@ -30,11 +30,7 @@ spec: {{- if kindIs "string" . }} - path: {{ . }} pathType: Prefix - backend: - service: - name: {{ include "common.names.fullname" . }} - port: - name: http + backend: {{- include "common.ingress.backend" (dict "serviceName" (include "common.names.fullname" $) "servicePort" "http" "context" $) | nindent 10 }} {{- else }} {{- (list .) | toYaml | nindent 6 }} {{- end }}