File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -3465,6 +3465,13 @@ func run(cmd *cobra.Command, _ []string) {
3465
3465
if ! output .HasFlag () || r .Reporter .IsTerminal () {
3466
3466
r .Reporter .Infof ("Preparing to create operator roles." )
3467
3467
}
3468
+ // Set flags for HCP shared VPC if needed
3469
+ if vpcEndpointRoleArn != "" && route53RoleArn != "" && isHostedCP {
3470
+ operatorroles .Cmd .Flags ().Set (route53RoleArnFlag , route53RoleArn )
3471
+ operatorroles .Cmd .Flags ().Set (vpcEndpointRoleArnFlag , vpcEndpointRoleArn )
3472
+ operatorroles .Cmd .Flags ().Set (operatorroles .HostedCpFlag , strconv .FormatBool (isHostedCP ))
3473
+ operatorroles .Cmd .Flags ().Set (operatorroles .OidcConfigIdFlag , oidcConfig .ID ())
3474
+ }
3468
3475
operatorroles .Cmd .Run (operatorroles .Cmd , []string {clusterName , mode , permissionsBoundary })
3469
3476
if ! output .HasFlag () || r .Reporter .IsTerminal () {
3470
3477
r .Reporter .Infof ("Preparing to create OIDC Provider." )
You can’t perform that action at this time.
0 commit comments