Commit 0f92c2b
authored
Fix Workload Identity check by stripping newlines (#1194)
The gcloud container clusters describe command returns the workload pool with a trailing newline. Without stripping it, the comparison with the expected workload pool fails, causing XPK to attempt to update the GKE cluster even if Workload Identity is already enabled.1 parent b920bd4 commit 0f92c2b
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
655 | 655 | | |
656 | 656 | | |
657 | 657 | | |
658 | | - | |
| 658 | + | |
659 | 659 | | |
660 | 660 | | |
661 | 661 | | |
| |||
0 commit comments