Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions cyclops-ctrl/api/v1alpha1/module_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,10 @@ import (

// ModuleSpec defines the desired state of Module
type ModuleSpec struct {
TemplateRef TemplateRef `json:"template"`
Values apiextensionsv1.JSON `json:"values"`
// +kubebuilder:validation:Optional
TargetNamespace string `json:"targetNamespace"`
TemplateRef TemplateRef `json:"template"`
Values apiextensionsv1.JSON `json:"values"`
}

type ModuleValue struct {
Expand Down
1 change: 0 additions & 1 deletion cyclops-ctrl/api/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions cyclops-ctrl/config/crd/bases/cyclops-ui.com_modules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ spec:
spec:
description: ModuleSpec defines the desired state of Module
properties:
targetNamespace:
type: string
template:
properties:
path:
Expand Down
Loading
Loading