Skip to content

Commit

Permalink
configure a dedicated service account for Azure Jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
upodroid committed Aug 4, 2024
1 parent 65277a1 commit 91f1a2f
Show file tree
Hide file tree
Showing 23 changed files with 103 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ presubmits:
path_alias: sigs.k8s.io/cluster-api-provider-azure
workdir: true
spec:
serviceAccountName: azure
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240725-1d8ea3e909-master
command:
Expand Down Expand Up @@ -109,6 +110,7 @@ presubmits:
path_alias: sigs.k8s.io/cluster-api-provider-azure
workdir: true
spec:
serviceAccountName: azure
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240725-1d8ea3e909-master
command:
Expand Down Expand Up @@ -168,6 +170,7 @@ presubmits:
path_alias: sigs.k8s.io/cluster-api-provider-azure
workdir: true
spec:
serviceAccountName: azure
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240725-1d8ea3e909-master
command:
Expand Down Expand Up @@ -227,6 +230,7 @@ presubmits:
path_alias: sigs.k8s.io/cluster-api-provider-azure
workdir: true
spec:
serviceAccountName: azure
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240725-1d8ea3e909-master
command:
Expand Down Expand Up @@ -307,6 +311,7 @@ presubmits:
path_alias: k8s.io/kubernetes
workdir: false
spec:
serviceAccountName: azure
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240725-1d8ea3e909-master
command:
Expand Down Expand Up @@ -369,6 +374,7 @@ presubmits:
path_alias: sigs.k8s.io/cluster-api-provider-azure
workdir: true
spec:
serviceAccountName: azure
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240725-1d8ea3e909-master
command:
Expand Down Expand Up @@ -426,6 +432,7 @@ presubmits:
path_alias: sigs.k8s.io/cluster-api-provider-azure
workdir: true
spec:
serviceAccountName: azure
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240725-1d8ea3e909-master
command:
Expand Down Expand Up @@ -485,6 +492,7 @@ presubmits:
path_alias: sigs.k8s.io/cluster-api-provider-azure
workdir: true
spec:
serviceAccountName: azure
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240725-1d8ea3e909-master
command:
Expand Down Expand Up @@ -545,6 +553,7 @@ presubmits:
path_alias: sigs.k8s.io/cluster-api-provider-azure
workdir: true
spec:
serviceAccountName: azure
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240725-1d8ea3e909-master
command:
Expand Down Expand Up @@ -620,6 +629,7 @@ presubmits:
path_alias: sigs.k8s.io/cluster-api-provider-azure
workdir: true
spec:
serviceAccountName: azure
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240725-1d8ea3e909-master
command:
Expand Down Expand Up @@ -720,6 +730,7 @@ presubmits:
path_alias: sigs.k8s.io/cluster-api-provider-azure
workdir: true
spec:
serviceAccountName: azure
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240725-1d8ea3e909-master
command:
Expand Down Expand Up @@ -798,6 +809,7 @@ periodics:
path_alias: sigs.k8s.io/cloud-provider-azure
workdir: false
spec:
serviceAccountName: azure
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240725-1d8ea3e909-master
command:
Expand Down Expand Up @@ -859,6 +871,7 @@ periodics:
path_alias: sigs.k8s.io/cloud-provider-azure
workdir: false
spec:
serviceAccountName: azure
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240725-1d8ea3e909-master
command:
Expand Down Expand Up @@ -920,6 +933,7 @@ periodics:
path_alias: sigs.k8s.io/cloud-provider-azure
workdir: false
spec:
serviceAccountName: azure
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240725-1d8ea3e909-master
command:
Expand Down Expand Up @@ -981,6 +995,7 @@ periodics:
path_alias: sigs.k8s.io/cloud-provider-azure
workdir: false
spec:
serviceAccountName: azure
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240725-1d8ea3e909-master
command:
Expand Down Expand Up @@ -1042,6 +1057,7 @@ periodics:
path_alias: sigs.k8s.io/cloud-provider-azure
workdir: false
spec:
serviceAccountName: azure
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240725-1d8ea3e909-master
command:
Expand Down Expand Up @@ -1161,6 +1177,7 @@ periodics:
path_alias: sigs.k8s.io/cloud-provider-azure
workdir: false
spec:
serviceAccountName: azure
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240725-1d8ea3e909-master
command:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ periodics:
base_ref: master
path_alias: k8s.io/kubernetes
spec:
serviceAccountName: azure
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240725-1d8ea3e909-1.29
args:
Expand Down Expand Up @@ -66,6 +67,7 @@ periodics:
base_ref: master
path_alias: k8s.io/kubernetes
spec:
serviceAccountName: azure
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240725-1d8ea3e909-1.29
args:
Expand Down Expand Up @@ -114,6 +116,7 @@ periodics:
base_ref: master
path_alias: k8s.io/kubernetes
spec:
serviceAccountName: azure
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240725-1d8ea3e909-1.29
args:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ periodics:
base_ref: main
path_alias: "sigs.k8s.io/cluster-api-provider-azure"
spec:
serviceAccountName: azure
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240725-1d8ea3e909-1.29
command:
Expand Down Expand Up @@ -58,6 +59,7 @@ periodics:
path_alias: sigs.k8s.io/cloud-provider-azure
workdir: false
spec:
serviceAccountName: azure
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240725-1d8ea3e909-1.29
command:
Expand Down Expand Up @@ -98,6 +100,7 @@ periodics:
base_ref: main
path_alias: "sigs.k8s.io/cluster-api-provider-azure"
spec:
serviceAccountName: azure
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240725-1d8ea3e909-1.29
command:
Expand Down Expand Up @@ -139,6 +142,7 @@ periodics:
base_ref: main
path_alias: "sigs.k8s.io/cluster-api-provider-azure"
spec:
serviceAccountName: azure
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240725-1d8ea3e909-1.29
command:
Expand Down Expand Up @@ -221,6 +225,7 @@ periodics:
base_ref: main
path_alias: "sigs.k8s.io/cluster-api-provider-azure"
spec:
serviceAccountName: azure
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240725-1d8ea3e909-1.29
command:
Expand Down Expand Up @@ -262,6 +267,7 @@ periodics:
base_ref: main
path_alias: "sigs.k8s.io/cluster-api-provider-azure"
spec:
serviceAccountName: azure
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240725-1d8ea3e909-1.29
command:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ periodics:
base_ref: release-1.15
path_alias: "sigs.k8s.io/cluster-api-provider-azure"
spec:
serviceAccountName: azure
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240725-1d8ea3e909-1.29
command:
Expand Down Expand Up @@ -56,6 +57,7 @@ periodics:
base_ref: release-1.15
path_alias: "sigs.k8s.io/cluster-api-provider-azure"
spec:
serviceAccountName: azure
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240725-1d8ea3e909-1.29
command:
Expand Down Expand Up @@ -97,6 +99,7 @@ periodics:
base_ref: release-1.15
path_alias: "sigs.k8s.io/cluster-api-provider-azure"
spec:
serviceAccountName: azure
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240725-1d8ea3e909-1.29
command:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ periodics:
base_ref: release-1.16
path_alias: "sigs.k8s.io/cluster-api-provider-azure"
spec:
serviceAccountName: azure
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240725-1d8ea3e909-1.29
command:
Expand Down Expand Up @@ -58,6 +59,7 @@ periodics:
path_alias: sigs.k8s.io/cloud-provider-azure
workdir: false
spec:
serviceAccountName: azure
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240725-1d8ea3e909-1.29
command:
Expand Down Expand Up @@ -98,6 +100,7 @@ periodics:
base_ref: release-1.16
path_alias: "sigs.k8s.io/cluster-api-provider-azure"
spec:
serviceAccountName: azure
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240725-1d8ea3e909-1.29
command:
Expand Down Expand Up @@ -139,6 +142,7 @@ periodics:
base_ref: release-1.16
path_alias: "sigs.k8s.io/cluster-api-provider-azure"
spec:
serviceAccountName: azure
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240725-1d8ea3e909-1.29
command:
Expand Down Expand Up @@ -180,6 +184,7 @@ periodics:
base_ref: release-1.16
path_alias: "sigs.k8s.io/cluster-api-provider-azure"
spec:
serviceAccountName: azure
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240725-1d8ea3e909-1.29
command:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ presubmits:
# docker-in-docker needs privileged mode
securityContext:
privileged: true
serviceAccountName: azure
annotations:
testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-azure
testgrid-tab-name: capz-pr-e2e-main
Expand Down Expand Up @@ -144,6 +145,7 @@ presubmits:
# docker-in-docker needs privileged mode
securityContext:
privileged: true
serviceAccountName: azure
annotations:
testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-azure
testgrid-tab-name: capz-pr-e2e-optional-main
Expand All @@ -164,6 +166,7 @@ presubmits:
branches:
- ^main$
spec:
serviceAccountName: azure
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240725-1d8ea3e909-1.29
command:
Expand Down Expand Up @@ -206,6 +209,7 @@ presubmits:
branches:
- ^main$
spec:
serviceAccountName: azure
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240725-1d8ea3e909-1.29
command:
Expand Down Expand Up @@ -279,6 +283,7 @@ presubmits:
branches:
- ^main$
spec:
serviceAccountName: azure
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240725-1d8ea3e909-1.29
command:
Expand Down Expand Up @@ -321,6 +326,7 @@ presubmits:
base_ref: master
path_alias: sigs.k8s.io/cloud-provider-azure
spec:
serviceAccountName: azure
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240725-1d8ea3e909-1.29
command:
Expand Down Expand Up @@ -364,6 +370,7 @@ presubmits:
base_ref: master
path_alias: sigs.k8s.io/cloud-provider-azure
spec:
serviceAccountName: azure
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240725-1d8ea3e909-1.29
command:
Expand Down Expand Up @@ -409,6 +416,7 @@ presubmits:
base_ref: master
path_alias: sigs.k8s.io/cloud-provider-azure
spec:
serviceAccountName: azure
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240725-1d8ea3e909-1.29
command:
Expand Down Expand Up @@ -454,6 +462,7 @@ presubmits:
base_ref: master
path_alias: sigs.k8s.io/cloud-provider-azure
spec:
serviceAccountName: azure
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240725-1d8ea3e909-1.29
command:
Expand Down Expand Up @@ -529,6 +538,7 @@ presubmits:
base_ref: master
path_alias: k8s.io/kubernetes
spec:
serviceAccountName: azure
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240725-1d8ea3e909-1.29
args:
Expand Down Expand Up @@ -569,6 +579,7 @@ presubmits:
base_ref: master
path_alias: k8s.io/kubernetes
spec:
serviceAccountName: azure
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240725-1d8ea3e909-1.29
args:
Expand Down Expand Up @@ -607,6 +618,7 @@ presubmits:
branches:
- ^main$
spec:
serviceAccountName: azure
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240725-1d8ea3e909-1.29
command:
Expand Down Expand Up @@ -659,6 +671,7 @@ presubmits:
base_ref: master
path_alias: k8s.io/kubernetes
spec:
serviceAccountName: azure
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240725-1d8ea3e909-1.29
command:
Expand Down Expand Up @@ -706,6 +719,7 @@ presubmits:
base_ref: master
path_alias: k8s.io/kubernetes
spec:
serviceAccountName: azure
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240725-1d8ea3e909-1.29
command:
Expand Down
Loading

0 comments on commit 91f1a2f

Please sign in to comment.