summaryrefslogtreecommitdiffstats
path: root/kubernetes/contrib/charts/netbox/templates/ingress.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/contrib/charts/netbox/templates/ingress.yaml')
-rwxr-xr-xkubernetes/contrib/charts/netbox/templates/ingress.yaml8
1 files changed, 4 insertions, 4 deletions
diff --git a/kubernetes/contrib/charts/netbox/templates/ingress.yaml b/kubernetes/contrib/charts/netbox/templates/ingress.yaml
index dacea0cb97..701d4c8063 100755
--- a/kubernetes/contrib/charts/netbox/templates/ingress.yaml
+++ b/kubernetes/contrib/charts/netbox/templates/ingress.yaml
@@ -14,16 +14,16 @@
# limitations under the License.
*/}}
{{- if .Values.ingress.enabled -}}
-{{- $serviceName := include "fullname" . -}}
+{{- $serviceName := include "common.fullname" . -}}
{{- $servicePort := .Values.service.externalPort -}}
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
- name: {{ template "fullname" . }}
+ name: {{ $serviceName }}
labels:
- app: {{ template "name" . }}
+ app: {{ include "common.name" . }}
chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
- release: {{ .Release.Name }}
+ release: {{ include "common.release" . }}
heritage: {{ .Release.Service }}
annotations:
{{- range $key, $value := .Values.ingress.annotations }}