Skip to content

Commit

Permalink
feat: deploy modules to different namespaces
Browse files Browse the repository at this point in the history
Signed-off-by: hanshal101 <[email protected]>
  • Loading branch information
hanshal101 committed Aug 1, 2024
1 parent 8d74969 commit 1d01400
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cyclops-ctrl/api/v1alpha1/client/modules.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ func (c *moduleClient) List(opts metav1.ListOptions) ([]cyclopsv1alpha1.Module,
result := cyclopsv1alpha1.ModuleList{}
err := c.restClient.
Get().
Namespace(c.ns).
Resource("modules").
Do(context.Background()).
Into(&result)
Expand Down

0 comments on commit 1d01400

Please sign in to comment.