Trying new names for chart in template

This commit is contained in:
Isaac Abadi
2020-12-31 15:32:07 -05:00
parent 85e2958be3
commit 9d6887a92c
4 changed files with 8 additions and 8 deletions

View File

@@ -1,5 +1,5 @@
{{- if .Values.ingress.enabled -}}
{{- $fullName := include "youtubedl-material.fullname" . -}}
{{- $fullName := include "ytdl-material.fullname" . -}}
{{- $svcPort := .Values.service.port -}}
{{- if semverCompare ">=1.14-0" .Capabilities.KubeVersion.GitVersion -}}
apiVersion: networking.k8s.io/v1beta1
@@ -10,7 +10,7 @@ kind: Ingress
metadata:
name: {{ $fullName }}
labels:
{{- include "youtubedl-material.labels" . | nindent 4 }}
{{- include "ytdl-material.labels" . | nindent 4 }}
{{- with .Values.ingress.annotations }}
annotations:
{{- toYaml . | nindent 4 }}

View File

@@ -1,9 +1,9 @@
apiVersion: v1
kind: Service
metadata:
name: {{ include "youtubedl-material.fullname" . }}
name: {{ include "ytdl-material.fullname" . }}
labels:
{{- include "youtubedl-material.labels" . | nindent 4 }}
{{- include "ytdl-material.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.type }}
ports:
@@ -12,4 +12,4 @@ spec:
protocol: TCP
name: http
selector:
{{- include "youtubedl-material.selectorLabels" . | nindent 4 }}
{{- include "ytdl-material.selectorLabels" . | nindent 4 }}