Skip to content

Commit

Permalink
remove operator console helpers from helm chart
Browse files Browse the repository at this point in the history
Signed-off-by: pjuarezd <[email protected]>
  • Loading branch information
pjuarezd committed Jul 6, 2024
1 parent 4c94aab commit 9b3ed4b
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions helm/operator/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -57,25 +57,3 @@ Selector labels Operator
app.kubernetes.io/name: {{ include "minio-operator.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end -}}

{{/*
Common labels for console
*/}}
{{- define "minio-operator.console-labels" -}}
helm.sh/chart: {{ include "minio-operator.chart" . }}
{{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
{{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- range $key, $val := .Values.console.additionalLabels }}
{{ $key }}: {{ $val | quote }}
{{- end }}
{{- end -}}

{{/*
Selector labels Console
*/}}
{{- define "minio-operator.console-selectorLabels" -}}
app.kubernetes.io/name: {{ include "minio-operator.name" . }}
app.kubernetes.io/instance: {{ printf "%s-%s" .Release.Name "console" }}
{{- end -}}

0 comments on commit 9b3ed4b

Please sign in to comment.