Skip to content

Commit c4a4247

Browse files
authored
feat: support deployment labels from values (#631)
* feat: support deployment labels from values * add feature to changelog
1 parent 18ff410 commit c4a4247

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

β€Ždocs/changelog.rstβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
CHANGELOG
22
=====================================
3+
| April 7, 2022: feat: Support adding deployment labels from values `#631 <https://github.com/mergeability/mergeable/pull/631>`_
34
| March 22, 2022: fix: pass comment instance to removeErrorComments `#626 <https://github.com/mergeability/mergeable/pull/626>`_
45
| February 24, 2022: fix: correct indentation on documentation `#623 <https://github.com/mergeability/mergeable/pull/623>`_
56
| February 8, 2022: feat: Allow all option on must_include and must_include inside changeset validator `#611 <https://github.com/mergeability/mergeable/pull/611>`_

β€Žhelm/mergeable/templates/deployment.yamlβ€Ž

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ spec:
1818
{{- toYaml . | nindent 8 }}
1919
{{- end }}
2020
labels:
21+
{{- if .Values.labels -}}
22+
{{ toYaml .Values.labels | nindent 8 }}
23+
{{- end -}}
2124
{{- include "mergeable.selectorLabels" . | nindent 8 }}
2225
spec:
2326
{{- with .Values.imagePullSecrets }}

0 commit comments

Comments
Β (0)