@@ -10,10 +10,13 @@ export interface Metadata {
1010export interface ControlPlaneType {
1111 metadata : Metadata ;
1212 spec :
13- | {
14- components : ControlPlaneComponentsType ;
15- }
16- | undefined ;
13+ | {
14+ authentication : {
15+ enableSystemIdentityProvider ?: boolean ;
16+ } ;
17+ components : ControlPlaneComponentsType ;
18+ }
19+ | undefined ;
1720 status : ControlPlaneStatusType | undefined ;
1821}
1922
@@ -33,13 +36,13 @@ export interface ControlPlaneStatusType {
3336 status : ReadyStatus ;
3437 conditions : ControlPlaneStatusCondition [ ] ;
3538 access :
36- | {
37- key : string | undefined ;
38- name : string | undefined ;
39- namespace : string | undefined ;
40- kubeconfig : string | undefined ;
41- }
42- | undefined ;
39+ | {
40+ key : string | undefined ;
41+ name : string | undefined ;
42+ namespace : string | undefined ;
43+ kubeconfig : string | undefined ;
44+ }
45+ | undefined ;
4346}
4447
4548export interface ControlPlaneStatusCondition {
@@ -65,7 +68,7 @@ export const ListControlPlanes = (
6568 projectName === null
6669 ? null
6770 : `/apis/core.openmcp.cloud/v1alpha1/namespaces/project-${ projectName } --ws-${ workspaceName } /managedcontrolplanes` ,
68- jq : '[.items[] | {metadata: .metadata | {name, namespace}, status: { conditions: [.status.conditions[] | {type: .type, status: .status, message: .message, reason: .reason, lastTransitionTime: .lastTransitionTime}], access: .status.components.authentication.access, status: .status.status } }]' ,
71+ jq : '[.items[] |{ spec: .spec | {authentication} }, {metadata: .metadata | {name, namespace}, status: { conditions: [.status.conditions[] | {type: .type, status: .status, message: .message, reason: .reason, lastTransitionTime: .lastTransitionTime}], access: .status.components.authentication.access, status: .status.status } }]' ,
6972 } ;
7073} ;
7174
0 commit comments