|
@ -36,7 +36,8 @@ Common labels |
|
|
*/}} |
|
|
*/}} |
|
|
{{- define "portalmodelo.labels" -}} |
|
|
{{- define "portalmodelo.labels" -}} |
|
|
helm.sh/chart: {{ include "portalmodelo.chart" . }} |
|
|
helm.sh/chart: {{ include "portalmodelo.chart" . }} |
|
|
{{ include "portalmodelo.selectorLabels" . }} |
|
|
app.kubernetes.io/name: {{ include "portalmodelo.name" . }} |
|
|
|
|
|
app.kubernetes.io/instance: {{ .Release.Name }} |
|
|
{{- if .Chart.AppVersion }} |
|
|
{{- if .Chart.AppVersion }} |
|
|
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} |
|
|
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} |
|
|
{{- end }} |
|
|
{{- end }} |
|
@ -46,7 +47,14 @@ app.kubernetes.io/managed-by: {{ .Release.Service }} |
|
|
{{/* |
|
|
{{/* |
|
|
Selector labels |
|
|
Selector labels |
|
|
*/}} |
|
|
*/}} |
|
|
{{- define "portalmodelo.selectorLabels" -}} |
|
|
{{- define "portalmodelo.ploneSelectorLabels" -}} |
|
|
|
|
|
app.kubernetes.io/name: {{ include "portalmodelo.name" . }} |
|
|
|
|
|
app.kubernetes.io/instance: {{ .Release.Name }} |
|
|
|
|
|
app.kubernetes.io/component: plone |
|
|
|
|
|
{{- end }} |
|
|
|
|
|
|
|
|
|
|
|
{{- define "portalmodelo.zeoserverSelectorLabels" -}} |
|
|
app.kubernetes.io/name: {{ include "portalmodelo.name" . }} |
|
|
app.kubernetes.io/name: {{ include "portalmodelo.name" . }} |
|
|
app.kubernetes.io/instance: {{ .Release.Name }} |
|
|
app.kubernetes.io/instance: {{ .Release.Name }} |
|
|
|
|
|
app.kubernetes.io/component: zeoserver |
|
|
{{- end }} |
|
|
{{- end }} |
|
|