Skip to content

Commit

Permalink
Use serviceAccountName as template param for rclone Job (#588)
Browse files Browse the repository at this point in the history
  • Loading branch information
philipgough authored Aug 31, 2023
1 parent deb143a commit 5373fd4
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ parameters:
value: 'rclone/rclone'
- name: IMAGE_TAG
value: 'latest'
- name: SERVICE_ACCOUNT_NAME
value: 'default'
- name: LOG_LEVEL
value: 'info'
- name: CPU_REQUEST
Expand Down Expand Up @@ -48,6 +50,7 @@ objects:
backoffLimit: 1
template:
spec:
serviceAccountName: ${SERVICE_ACCOUNT_NAME}
containers:
- name: rclone-sync
image: ${IMAGE}:${IMAGE_TAG}
Expand Down

0 comments on commit 5373fd4

Please sign in to comment.