diff --git a/charts/actions-runner-controller/templates/deployment.yaml b/charts/actions-runner-controller/templates/deployment.yaml index 8175ac8e..9abe6bd2 100644 --- a/charts/actions-runner-controller/templates/deployment.yaml +++ b/charts/actions-runner-controller/templates/deployment.yaml @@ -18,6 +18,9 @@ spec: {{- end }} labels: {{- include "actions-runner-controller.selectorLabels" . | nindent 8 }} + {{- with .Values.podLabels }} + {{- toYaml . | nindent 8 }} + {{- end }} spec: {{- with .Values.imagePullSecrets }} imagePullSecrets: diff --git a/charts/actions-runner-controller/templates/githubwebhook.deployment.yaml b/charts/actions-runner-controller/templates/githubwebhook.deployment.yaml index 68756ba3..e88e8c54 100644 --- a/charts/actions-runner-controller/templates/githubwebhook.deployment.yaml +++ b/charts/actions-runner-controller/templates/githubwebhook.deployment.yaml @@ -19,6 +19,9 @@ spec: {{- end }} labels: {{- include "actions-runner-controller-github-webhook-server.selectorLabels" . | nindent 8 }} + {{- with .Values.githubWebhookServer.podLabels }} + {{- toYaml . | nindent 8 }} + {{- end }} spec: {{- with .Values.githubWebhookServer.imagePullSecrets }} imagePullSecrets: diff --git a/charts/actions-runner-controller/values.yaml b/charts/actions-runner-controller/values.yaml index e5cb7215..b582fa6d 100644 --- a/charts/actions-runner-controller/values.yaml +++ b/charts/actions-runner-controller/values.yaml @@ -45,6 +45,8 @@ serviceAccount: podAnnotations: {} +podLabels: {} + podSecurityContext: {} # fsGroup: 2000 @@ -128,6 +130,7 @@ githubWebhookServer: # If not set and create is true, a name is generated using the fullname template name: "" podAnnotations: {} + podLabels: {} podSecurityContext: {} # fsGroup: 2000 securityContext: {}