Skip to content

Commit ce80adb

Browse files
wherka-amaWaldek Herka
andauthored
Allow custom labels to be specified for controller pods (#2952)
Co-authored-by: Waldek Herka <waldek.herka@no.reply>
1 parent 1a8abb6 commit ce80adb

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

charts/gha-runner-scale-set-controller/templates/deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ spec:
2727
app.kubernetes.io/component: controller-manager
2828
app.kubernetes.io/version: {{ .Chart.Version }}
2929
{{- include "gha-runner-scale-set-controller.selectorLabels" . | nindent 8 }}
30+
{{- with .Values.podLabels }}
31+
{{- toYaml . | nindent 8 }}
32+
{{- end }}
3033
spec:
3134
{{- with .Values.imagePullSecrets }}
3235
imagePullSecrets:

charts/gha-runner-scale-set-controller/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ serviceAccount:
4141

4242
podAnnotations: {}
4343

44+
podLabels: {}
45+
4446
podSecurityContext: {}
4547
# fsGroup: 2000
4648

0 commit comments

Comments
 (0)