Open donovanrost opened 10 months ago
Additionally, I'm on EKS using version 1.25.
I can second this issue.
apiVersion: skaffold/v4beta5
kind: Config
metadata:
name: test-project
build:
artifacts:
- image: image1
kaniko: {}
cluster:
namespace: gitlab-runner
serviceAccount: gitlab-runners
Generating tags...
- image1 -> image1:ec2453c Checking cache...
- image1: Not found. Building Starting build... Building [image1]... creating kaniko pod: pods is forbidden: User "system:serviceaccount:gitlab-runner:default" cannot create resource "pods" in API group "" in the namespace "gitlab-runner"
Expected behavior
I would expect the Kaniko Pod to be deployed in the
platform-gitlab-runners
namespace with the service accountgitlab-runner
as specifed.Actual behavior
Kaniko fails to deploy as the
default
service account is being usedInformation
The skaffold.yaml continues with a handful of
profiles
which I can include if needed relevant.Steps to reproduce the behavior