Skip to content

Commit 489c814

Browse files
authored
Fix indentation in Evergreen yaml examples for k8s OIDC setup. (#618)
1 parent ecd0e4b commit 489c814

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

.evergreen/auth_oidc/k8s/README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -78,35 +78,35 @@ role prior to the EKS test and that `duration_seconds` is set to account for the
7878
And should be run for all three variants:
7979
8080
```yaml
81-
- name: "test-oidc-k8s"
81+
- name: "test-oidc-k8s"
8282
tags: ["latest", "oidc", "pr"]
8383
commands:
8484
- command: ec2.assume_role
8585
params:
86-
role_arn: ${drivers_test_secrets_role}
87-
duration_seconds: 1800
86+
role_arn: ${drivers_test_secrets_role}
87+
duration_seconds: 1800
8888
- func: "run oidc k8s test"
89-
vars:
89+
vars:
9090
VARIANT: eks
9191
- func: "run oidc k8s test"
92-
vars:
92+
vars:
9393
VARIANT: gke
9494
- func: "run oidc k8s test"
95-
vars:
95+
vars:
9696
VARIANT: aks
9797
```
9898
9999
Where the test looks something like:
100100
101101
```yaml
102-
"run oidc k8s test":
103-
- command: shell.exec
104-
type: test
105-
params:
106-
shell: bash
107-
working-directory: "src"
108-
include_expansions_in_env: ["AWS_ACCESS_KEY_ID", "AWS_SECRET_ACCESS_KEY", "AWS_SESSION_TOKEN"]
109-
script: |-
102+
"run oidc k8s test":
103+
- command: shell.exec
104+
type: test
105+
params:
106+
shell: bash
107+
working-directory: "src"
108+
include_expansions_in_env: ["AWS_ACCESS_KEY_ID", "AWS_SECRET_ACCESS_KEY", "AWS_SESSION_TOKEN"]
109+
script: |-
110110
set -o errexit
111111
export K8S_VARIANT=${VARIANT}
112112
export K8S_DRIVERS_TAR_FILE=/tmp/driver.tgz

0 commit comments

Comments
 (0)