Skip to content

Commit bbb59ed

Browse files
committed
Test.
1 parent 0420b84 commit bbb59ed

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.gitlab-ci.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -144,16 +144,16 @@ default:
144144
image: wunderio/silta-cicd:circleci-php8.3-node22-composer2-v1
145145

146146
variables:
147-
# Todo: Create a separate service account for the runner and use it here.
148-
KUBERNETES_SERVICE_ACCOUNT_OVERWRITE: gitlab-gitlab-runner
149-
KUBERNETES_SERVICE_ACCOUNT_OVERWRITE_ALLOWED: .*
147+
KUBERNETES_SERVICE_ACCOUNT_OVERWRITE: gitlab-executor-sa
148+
KUBERNETES_SERVICE_ACCOUNT_OVERWRITE_ALLOWED: ^gitlab-executor-sa$
150149

151150
stages:
152151
- build
153152

154153
build-job0:
155154
stage: build
156155
script:
156+
- echo "Running with service account: $KUBERNETES_SERVICE_ACCOUNT"
157157
- kubectl get pods
158158
- sleep 300
159159
rules:

0 commit comments

Comments
 (0)