Skip to content

Commit

Permalink
export CONSOLE_ACCESS_TOKEN
Browse files Browse the repository at this point in the history
  • Loading branch information
zreigz committed Nov 28, 2024
1 parent d65d223 commit f7eb925
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/plural/lib/cluster-setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ input:
steps:
- script: |
plural ops kubeconfig --cluster {{ .input.name }} --provider {{ .input.provider }} --region {{ .input.region }}
CONSOLE_ACCESS_TOKEN=$(kubectl get secret console-auth-token -n plrl-console -o jsonpath='{.data.access-token}' | base64 --decode)
export CONSOLE_ACCESS_TOKEN=$(kubectl get secret console-auth-token -n plrl-console -o jsonpath='{.data.access-token}' | base64 --decode)
plural cd login --url https://console.{{ .input.name }}.onplural.sh/gql --token $CONSOLE_ACCESS_TOKEN
assertions:
- result.code ShouldEqual 0

0 comments on commit f7eb925

Please sign in to comment.