chart: add podLabels to helm chart (#583)

* Add pod labels to helm chart

* fix: make podLabels consistent to podAnnotations

* Update charts/actions-runner-controller/Chart.yaml

Co-authored-by: Yusuke Kuoka <[email protected]>
This commit is contained in:
Christian Dobinsky
2021-06-01 09:21:32 +09:00
committed by GitHub
co-authored by Yusuke Kuoka
parent 2e083bca28
commit e108e04dda
3 changed files with 9 additions and 0 deletions
@@ -18,6 +18,9 @@ spec:
{{- end }} {{- end }}
labels: labels:
{{- include "actions-runner-controller.selectorLabels" . | nindent 8 }} {{- include "actions-runner-controller.selectorLabels" . | nindent 8 }}
{{- with .Values.podLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
spec: spec:
{{- with .Values.imagePullSecrets }} {{- with .Values.imagePullSecrets }}
imagePullSecrets: imagePullSecrets:
@@ -19,6 +19,9 @@ spec:
{{- end }} {{- end }}
labels: labels:
{{- include "actions-runner-controller-github-webhook-server.selectorLabels" . | nindent 8 }} {{- include "actions-runner-controller-github-webhook-server.selectorLabels" . | nindent 8 }}
{{- with .Values.githubWebhookServer.podLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
spec: spec:
{{- with .Values.githubWebhookServer.imagePullSecrets }} {{- with .Values.githubWebhookServer.imagePullSecrets }}
imagePullSecrets: imagePullSecrets:
@@ -45,6 +45,8 @@ serviceAccount:
podAnnotations: {} podAnnotations: {}
podLabels: {}
podSecurityContext: podSecurityContext:
{} {}
# fsGroup: 2000 # fsGroup: 2000
@@ -128,6 +130,7 @@ githubWebhookServer:
# If not set and create is true, a name is generated using the fullname template # If not set and create is true, a name is generated using the fullname template
name: "" name: ""
podAnnotations: {} podAnnotations: {}
podLabels: {}
podSecurityContext: {} podSecurityContext: {}
# fsGroup: 2000 # fsGroup: 2000
securityContext: {} securityContext: {}