-
Notifications
You must be signed in to change notification settings - Fork 2
fix: fix connect button system IDP #178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
7744000
2bd1c7a
65708a3
f85c96f
ebf0168
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -10,10 +10,13 @@ export interface Metadata { | |||||
export interface ControlPlaneType { | ||||||
metadata: Metadata; | ||||||
spec: | ||||||
| { | ||||||
components: ControlPlaneComponentsType; | ||||||
} | ||||||
| undefined; | ||||||
| { | ||||||
authentication: { | ||||||
enableSystemIdentityProvider?: boolean; | ||||||
}; | ||||||
components: ControlPlaneComponentsType; | ||||||
} | ||||||
| undefined; | ||||||
status: ControlPlaneStatusType | undefined; | ||||||
} | ||||||
|
||||||
|
@@ -33,13 +36,13 @@ export interface ControlPlaneStatusType { | |||||
status: ReadyStatus; | ||||||
conditions: ControlPlaneStatusCondition[]; | ||||||
access: | ||||||
| { | ||||||
key: string | undefined; | ||||||
name: string | undefined; | ||||||
namespace: string | undefined; | ||||||
kubeconfig: string | undefined; | ||||||
} | ||||||
| undefined; | ||||||
| { | ||||||
key: string | undefined; | ||||||
name: string | undefined; | ||||||
namespace: string | undefined; | ||||||
kubeconfig: string | undefined; | ||||||
} | ||||||
| undefined; | ||||||
} | ||||||
|
||||||
export interface ControlPlaneStatusCondition { | ||||||
|
@@ -65,7 +68,7 @@ export const ListControlPlanes = ( | |||||
projectName === null | ||||||
? null | ||||||
: `/apis/core.openmcp.cloud/v1alpha1/namespaces/project-${projectName}--ws-${workspaceName}/managedcontrolplanes`, | ||||||
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 } }]', | ||||||
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 } }]', | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The jq projection only selects
Suggested change
Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback
andreaskienle marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
}; | ||||||
}; | ||||||
|
||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
useApiResourceMutation
import is not used in this component and can be removed to clean up unused code.Copilot uses AI. Check for mistakes.