Skip to content

Commit

Permalink
fix plural cd login
Browse files Browse the repository at this point in the history
  • Loading branch information
zreigz committed Nov 28, 2024
1 parent 484221e commit 57e2f64
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/plural/lib/cluster-setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ input:
region: ''

steps:
- script: |
plural ops kubeconfig --cluster {{ .input.name }} --provider {{ .input.provider }} --region {{ .input.region }}
plural cd login --url https://console.{{ .input.name }}.onplural.sh/gql --token $(kubectl get secret console-auth-token -n plrl-console -o jsonpath='{.data.access-token}' | base64 --decode)
- script: plural ops kubeconfig --cluster {{ .input.name }} --provider {{ .input.provider }} --region {{ .input.region }}
assertions:
- result.code ShouldEqual 0
- script: plural cd login --url https://console.{{ .input.name }}.onplural.sh/gql --token $(kubectl get secret console-auth-token -n plrl-console -o jsonpath='{.data.access-token}' | base64 --decode)
assertions:
- result.code ShouldEqual 0

0 comments on commit 57e2f64

Please sign in to comment.