From 60c88b342926942005bc69246202c7ff8f6b8ca3 Mon Sep 17 00:00:00 2001 From: Cole Wagner Date: Tue, 21 Sep 2021 16:02:16 -0700 Subject: [PATCH] Switch metrics-kettle job to use Workload Identity. --- .../test-infra/test-infra-periodics.yaml | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/config/jobs/kubernetes/test-infra/test-infra-periodics.yaml b/config/jobs/kubernetes/test-infra/test-infra-periodics.yaml index 9b55df1da526..80d22670d8f1 100644 --- a/config/jobs/kubernetes/test-infra/test-infra-periodics.yaml +++ b/config/jobs/kubernetes/test-infra/test-infra-periodics.yaml @@ -30,8 +30,7 @@ periodics: - name: metrics-kettle interval: 1h spec: - # TODO(cjwagner): Uncomment the following and delete secret mount + env once SA exists and is bound. - # serviceAccountName: triage + serviceAccountName: triage containers: - image: gcr.io/k8s-staging-test-infra/bigquery:v20210913-fc7c4e84f6 args: @@ -44,17 +43,6 @@ periodics: - k8s-gubernator:build.all - k8s-gubernator:build.week - k8s-gubernator:build.day - env: - - name: GOOGLE_APPLICATION_CREDENTIALS - value: /etc/service-account/service-account.json - volumeMounts: - - name: service - mountPath: /etc/service-account - readOnly: true - volumes: - - name: service - secret: - secretName: triage-service-account annotations: testgrid-num-failures-to-alert: '6' testgrid-alert-stale-results-hours: '12'