Update oramap to work with mongo
This commit is contained in:
parent
738e9ba325
commit
971e229e22
@ -8,4 +8,24 @@
|
|||||||
|
|
||||||
{{- define "oramap.chart" -}}
|
{{- define "oramap.chart" -}}
|
||||||
{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
|
{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
|
{{/*
|
||||||
|
Common labels
|
||||||
|
*/}}
|
||||||
|
{{- define "oramap.labels" -}}
|
||||||
|
helm.sh/chart: {{ include "oramap.chart" . }}
|
||||||
|
{{ include "oramap.selectorLabels" . }}
|
||||||
|
{{- if .Chart.AppVersion }}
|
||||||
|
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
|
||||||
|
{{- end }}
|
||||||
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
|
{{/*
|
||||||
|
Selector labels
|
||||||
|
*/}}
|
||||||
|
{{- define "oramap.selectorLabels" -}}
|
||||||
|
app.kubernetes.io/name: {{ include "oramap.name" . }}
|
||||||
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
Loading…
x
Reference in New Issue
Block a user