Skip to content
Snippets Groups Projects
Commit 36d13eeb authored by Javion Cai's avatar Javion Cai
Browse files

Merge branch gitlab-runner:main into javion3-main-patch-94666

parents e52f14f6 c93ebe73
No related branches found
No related tags found
1 merge request!413Adds new preRegistrationScript to run commands before the registration happens
## v0.55.0 (2023-07-23)
### New features
- Update GitLab Runner version to v16.2.0
- Hpa: Support newer apiVersions !391 (Cameron Boulton @iAnomaly)
### Bug fixes
- Set the config toml according to the runAsNonRoot property !414
- Remove extra condition on cache secret !409
## v0.54.0 (2023-06-21)
### New features
......
apiVersion: v1
name: gitlab-runner
version: 0.55.0-beta
version: 0.56.0-beta
appVersion: bleeding
description: GitLab Runner
keywords:
......
......@@ -76,7 +76,10 @@ data:
fi
# Start the runner
exec /entrypoint run --user=gitlab-runner \
exec /entrypoint run \
{{- if and .Values.runners.executor (ne "shell" ((.Values.runners.executor) | toString)) }}
--user=gitlab-runner \
{{- end }}
--working-directory=/home/gitlab-runner
config.toml: |
......
......@@ -5,7 +5,7 @@ metadata:
{{- if .Values.rbac.serviceAccountAnnotations }}
annotations:
{{- range $key, $value := .Values.rbac.serviceAccountAnnotations }}
{{ $key }}: {{ $value | quote }}
{{ $key }}: {{ tpl ($value) $ | quote }}
{{- end }}
{{- end}}
name: {{ include "gitlab-runner.fullname" . }}
......
......@@ -173,7 +173,10 @@ rbac:
##
# serviceAccountName: default
## Specify annotations for Service Accounts, useful for annotations such as eks.amazonaws.com/role-arn
## Specify annotations for Service Accounts, useful for annotations such as eks.amazonaws.com/role-arn.
## Values may refer other values as the _tpl_ function is implicitly applied. Mind the quotes when using this, e.g.
## serviceAccountAnnotations:
## eks.amazonaws.com/role-arn: "arn:aws:iam::{{ .Values.global.accountId }}:role/{{ .Values.global.iamRoleName }}"
##
## ref: https://docs.aws.amazon.com/eks/latest/userguide/specify-service-account-role.html
##
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment