diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2025-02-26 15:04:40 +0100 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2025-02-26 15:09:27 +0000 |
| commit | 95b975e5e85f53f742d82ed39cb09e6a8266cfa7 (patch) | |
| tree | 4b42d682796799f654129ec3a1e2e79c93dd5ab3 | |
| parent | df29f7255b8872736eafcc42944e322b860c7fb6 (diff) | |
syz-cluster: use correct k8s service accounts
When configuring access to Argo Workflows, use the right service account
name.
Create the service account before configuring the access control.
| -rw-r--r-- | syz-cluster/overlays/common/workflow-roles.yaml | 4 | ||||
| -rw-r--r-- | syz-cluster/overlays/minikube/kustomization.yaml | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/syz-cluster/overlays/common/workflow-roles.yaml b/syz-cluster/overlays/common/workflow-roles.yaml index 44655c8e1..933a8b8a2 100644 --- a/syz-cluster/overlays/common/workflow-roles.yaml +++ b/syz-cluster/overlays/common/workflow-roles.yaml @@ -44,7 +44,7 @@ metadata: namespace: default subjects: - kind: ServiceAccount - name: default + name: gke-service-ksa namespace: default roleRef: kind: Role @@ -79,7 +79,7 @@ roleRef: name: executor subjects: - kind: ServiceAccount - name: default + name: gke-service-ksa namespace: default --- diff --git a/syz-cluster/overlays/minikube/kustomization.yaml b/syz-cluster/overlays/minikube/kustomization.yaml index 80eaa11fd..a41562037 100644 --- a/syz-cluster/overlays/minikube/kustomization.yaml +++ b/syz-cluster/overlays/minikube/kustomization.yaml @@ -2,12 +2,12 @@ # Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. resources: + - service-accounts.yaml - ../common - global-config.yaml - fake-gcs.yaml - network-policy-spanner.yaml - workflow-artifacts.yaml - - service-accounts.yaml patches: - target: |
