Chart: Include value for annotations in controller (deployment)

This commit is contained in:
Javier Cortejoso 2024-01-15 11:38:38 +01:00 committed by GitHub
parent 47dfed3ced
commit 28be5ea9bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 7 deletions

View File

@ -57,6 +57,7 @@ All additional docs are kept in the `docs/` folder, this README is solely for do
| `nameOverride` | Override the resource name prefix | |
| `serviceAccount.annotations` | Set annotations to the service account | |
| `serviceAccount.create` | Deploy the controller pod under a service account | true |
| `annotations` | Set annotations for the controller deployment | |
| `podAnnotations` | Set annotations for the controller pod | |
| `podLabels` | Set labels for the controller pod | |
| `serviceAccount.name` | Set the name of the service account | |

View File

@ -3,6 +3,10 @@ kind: Deployment
metadata:
name: {{ include "actions-runner-controller.fullname" . }}
namespace: {{ .Release.Namespace }}
{{- with .Values.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
labels:
{{- include "actions-runner-controller.labels" . | nindent 4 }}
spec:

View File

@ -83,6 +83,7 @@ serviceAccount:
# If not set and create is true, a name is generated using the fullname template
name: ""
annotations: {}
podAnnotations: {}
podLabels: {}