[bitnami/sonarqube] Support for customizing standard labels (#18748)

This commit is contained in:
Juan Ariza Toledano
2023-08-29 09:52:18 +02:00
committed by GitHub
parent 2ac1ad8501
commit e4683d1693
14 changed files with 42 additions and 108 deletions

View File

@@ -9,10 +9,7 @@ kind: Secret
metadata:
name: {{ printf "%s-externaldb" (include "common.names.fullname" .) }}
namespace: {{ .Release.Namespace }}
labels: {{- include "common.labels.standard" . | nindent 4 }}
{{- if .Values.commonLabels }}
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}
{{- end }}
labels: {{- include "common.labels.standard" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }}
{{- if .Values.commonAnnotations }}
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
{{- end }}