diff --git a/charts/bbgo/templates/_helpers.tpl b/charts/bbgo/templates/_helpers.tpl index 7060adbd8..6b9829c58 100644 --- a/charts/bbgo/templates/_helpers.tpl +++ b/charts/bbgo/templates/_helpers.tpl @@ -36,6 +36,9 @@ Common labels {{- define "bbgo.labels" -}} helm.sh/chart: {{ include "bbgo.chart" . }} {{ include "bbgo.selectorLabels" . }} +{{- if .Values.addtionalLabels }} +{{ toYaml .Values.additionalLabels }} +{{- end }} {{- if .Chart.AppVersion }} app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} {{- end }} diff --git a/charts/bbgo/values.yaml b/charts/bbgo/values.yaml index 179c31777..1fe20f538 100644 --- a/charts/bbgo/values.yaml +++ b/charts/bbgo/values.yaml @@ -37,6 +37,8 @@ serviceAccount: # If not set and create is true, a name is generated using the fullname template name: "" +additionalLabels: {} + podAnnotations: {} podSecurityContext: {}