Renaming HELM Package
This commit is contained in:
parent
fa49e16454
commit
b01ec6a09a
8 changed files with 53 additions and 53 deletions
|
|
@ -1,7 +1,7 @@
|
|||
{{/*
|
||||
Expand the name of the chart.
|
||||
*/}}
|
||||
{{- define "easyhaproxy-ingress.name" -}}
|
||||
{{- define "easyhaproxy.name" -}}
|
||||
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }}
|
||||
{{- end }}
|
||||
|
||||
|
|
@ -10,7 +10,7 @@ Create a default fully qualified app name.
|
|||
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
|
||||
If release name contains chart name it will be used as a full name.
|
||||
*/}}
|
||||
{{- define "easyhaproxy-ingress.fullname" -}}
|
||||
{{- define "easyhaproxy.fullname" -}}
|
||||
{{- if .Values.fullnameOverride }}
|
||||
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }}
|
||||
{{- else }}
|
||||
|
|
@ -26,16 +26,16 @@ If release name contains chart name it will be used as a full name.
|
|||
{{/*
|
||||
Create chart name and version as used by the chart label.
|
||||
*/}}
|
||||
{{- define "easyhaproxy-ingress.chart" -}}
|
||||
{{- define "easyhaproxy.chart" -}}
|
||||
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
|
||||
{{- end }}
|
||||
|
||||
{{/*
|
||||
Common labels
|
||||
*/}}
|
||||
{{- define "easyhaproxy-ingress.labels" -}}
|
||||
helm.sh/chart: {{ include "easyhaproxy-ingress.chart" . }}
|
||||
{{ include "easyhaproxy-ingress.selectorLabels" . }}
|
||||
{{- define "easyhaproxy.labels" -}}
|
||||
helm.sh/chart: {{ include "easyhaproxy.chart" . }}
|
||||
{{ include "easyhaproxy.selectorLabels" . }}
|
||||
{{- if .Chart.AppVersion }}
|
||||
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
|
||||
{{- end }}
|
||||
|
|
@ -45,17 +45,17 @@ app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|||
{{/*
|
||||
Selector labels
|
||||
*/}}
|
||||
{{- define "easyhaproxy-ingress.selectorLabels" -}}
|
||||
app.kubernetes.io/name: {{ include "easyhaproxy-ingress.name" . }}
|
||||
{{- define "easyhaproxy.selectorLabels" -}}
|
||||
app.kubernetes.io/name: {{ include "easyhaproxy.name" . }}
|
||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
{{- end }}
|
||||
|
||||
{{/*
|
||||
Create the name of the service account to use
|
||||
*/}}
|
||||
{{- define "easyhaproxy-ingress.serviceAccountName" -}}
|
||||
{{- define "easyhaproxy.serviceAccountName" -}}
|
||||
{{- if .Values.serviceAccount.create }}
|
||||
{{- default (include "easyhaproxy-ingress.fullname" .) .Values.serviceAccount.name }}
|
||||
{{- default (include "easyhaproxy.fullname" .) .Values.serviceAccount.name }}
|
||||
{{- else }}
|
||||
{{- default "default" .Values.serviceAccount.name }}
|
||||
{{- end }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue