Skip to content

Commit

Permalink
Merge pull request #23698 from cjwagner/kettle-wi
Browse files Browse the repository at this point in the history
Switch metrics-kettle job to use Workload Identity.
  • Loading branch information
k8s-ci-robot authored Sep 24, 2021
2 parents b7577e2 + 60c88b3 commit 3127df2
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions config/jobs/kubernetes/test-infra/test-infra-periodics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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'
Expand Down

0 comments on commit 3127df2

Please sign in to comment.