Skip to content

Commit

Permalink
feat(helm-chart): add commonLabels capability (#487)
Browse files Browse the repository at this point in the history
  • Loading branch information
JohGirard authored Sep 27, 2023
1 parent 2aedacc commit 9067c4a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions helm/yatai/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

{{/*
Expand Down
2 changes: 2 additions & 0 deletions helm/yatai/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ autoscaling:
targetCPUUtilizationPercentage: 80
# targetMemoryUtilizationPercentage: 80

commonLabels: {}

nodeSelector: {}

tolerations: []
Expand Down

0 comments on commit 9067c4a

Please sign in to comment.