Skip to content

Commit

Permalink
Add addon resource layouts (#385)
Browse files Browse the repository at this point in the history
Signed-off-by: Rokibul Hasan <[email protected]>
  • Loading branch information
RokibulHasan7 authored Dec 7, 2023
1 parent 303db8a commit e75df84
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,18 @@ metadata:
k8s.io/version: v1alpha1
name: addon.open-cluster-management.io-v1alpha1-clustermanagementaddons
spec:
blocks: null
blocks:
- actions:
create: Never
displayMode: List
kind: Connection
name: ManagedClusterAddOns
query:
byLabel: source
type: GraphQL
ref:
group: addon.open-cluster-management.io
kind: ManagedClusterAddOn
resource:
group: addon.open-cluster-management.io
kind: ClusterManagementAddOn
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,18 @@ metadata:
k8s.io/version: v1alpha1
name: addon.open-cluster-management.io-v1alpha1-managedclusteraddons
spec:
blocks: null
blocks:
- actions:
create: Never
displayMode: List
kind: Connection
name: ClusterManagementAddOns
query:
byLabel: source
type: GraphQL
ref:
group: addon.open-cluster-management.io
kind: ClusterManagementAddOn
resource:
group: addon.open-cluster-management.io
kind: ManagedClusterAddOn
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@ metadata:
k8s.io/version: v1alpha1
name: addon.open-cluster-management.io-v1alpha1-managedclusteraddons
spec:
connections:
- labels:
- source
level: Controller
target:
apiVersion: addon.open-cluster-management.io/v1alpha1
kind: ClusterManagementAddOn
type: OwnedBy
resource:
group: addon.open-cluster-management.io
kind: ManagedClusterAddOn
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@ metadata:
k8s.io/version: v1
name: work.open-cluster-management.io-v1-manifestworks
spec:
connections:
- labels:
- source
level: Controller
target:
apiVersion: addon.open-cluster-management.io/v1alpha1
kind: ManagedClusterAddOn
type: OwnedBy
resource:
group: work.open-cluster-management.io
kind: ManifestWork
Expand Down

0 comments on commit e75df84

Please sign in to comment.