Commit b647d471 authored by Waqar Ahmed's avatar Waqar Ahmed

Update minio deployment labels to be backwards compatible

parent e7c69889
{{ $scheme := "http" }} {{ $scheme := "http" }}
{{ include "common.deployment.common_config" . | nindent 0 }} apiVersion: {{ template "common.capabilities.deployment.apiVersion" . }}
spec: {{ include "common.deployment.common_spec" . | nindent 2 }} kind: Deployment
template: {{ include "common.deployment.pod.metadata" . | nindent 4 }} metadata:
name: {{ template "common.names.fullname" . }}
labels:
app: {{ template "common.names.name" . }}
chart: {{ template "common.names.chart" . }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
spec:
replicas: {{ (default 1 .Values.replicas) }}
strategy:
type: {{ (default "Recreate" .Values.updateStrategy ) }}
selector:
matchLabels:
app: {{ template "common.names.name" . }}
release: {{ .Release.Name }}
template:
metadata:
name: {{ template "common.names.fullname" . }}
labels:
app: {{ template "common.names.name" . }}
release: {{ .Release.Name }}
annotations: {{ include "common.annotations" . | nindent 8 }}
spec: spec:
serviceAccountName: {{ include "common.names.serviceAccountName" . | quote }} serviceAccountName: {{ include "common.names.serviceAccountName" . | quote }}
containers: containers:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment