Skip to content

Commit

Permalink
OCM-10452 | fix: Add cluster key back to oidcprovider create/cluster …
Browse files Browse the repository at this point in the history
…call
  • Loading branch information
hunterkepley committed Aug 26, 2024
1 parent 496d04d commit 025f85f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmd/create/cluster/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -3263,8 +3263,10 @@ func run(cmd *cobra.Command, _ []string) {
}
if oidcConfig != nil {
oidcprovider.Cmd.Flags().Set(oidcprovider.OidcConfigIdFlag, oidcConfig.ID())
} else {
oidcprovider.Cmd.Flags().Set("cluster", clusterName)
}
oidcprovider.Cmd.Run(oidcprovider.Cmd, []string{"", mode, ""})
oidcprovider.Cmd.Run(oidcprovider.Cmd, []string{clusterName, mode, ""})
} else {
output := ""
if len(operatorRoles) == 0 {
Expand Down

0 comments on commit 025f85f

Please sign in to comment.