diff --git a/helm/yatai/templates/_helpers.tpl b/helm/yatai/templates/_helpers.tpl index 4010d335..573064cf 100644 --- a/helm/yatai/templates/_helpers.tpl +++ b/helm/yatai/templates/_helpers.tpl @@ -45,6 +45,7 @@ helm.sh/chart: {{ include "yatai.chart" . }} app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} {{- end }} app.kubernetes.io/managed-by: {{ .Release.Service }} +{{- toYaml .Values.commonLabels | nindent 0 }} {{- end }} {{/* diff --git a/helm/yatai/values.yaml b/helm/yatai/values.yaml index 11a6e331..7b2638b1 100644 --- a/helm/yatai/values.yaml +++ b/helm/yatai/values.yaml @@ -76,6 +76,8 @@ autoscaling: targetCPUUtilizationPercentage: 80 # targetMemoryUtilizationPercentage: 80 +commonLabels: {} + nodeSelector: {} tolerations: []