diff --git a/src/operator/api/v2alpha1/clientintents_types.go b/src/operator/api/v2alpha1/clientintents_types.go index 7dd8e7f23..1895bf588 100644 --- a/src/operator/api/v2alpha1/clientintents_types.go +++ b/src/operator/api/v2alpha1/clientintents_types.go @@ -283,8 +283,10 @@ type AzureTarget struct { } type KubernetesTarget struct { - Name string `json:"name" yaml:"name"` - Kind string `json:"kind,omitempty" yaml:"kind,omitempty"` + Name string `json:"name" yaml:"name"` + //+optional + Kind string `json:"kind,omitempty" yaml:"kind,omitempty"` + //+optional HTTP []HTTPTarget `json:"http,omitempty" yaml:"http,omitempty"` } diff --git a/src/operator/config/crd/k8s.otterize.com_clientintents.patched b/src/operator/config/crd/k8s.otterize.com_clientintents.patched index fbf5c934f..0b721ac90 100644 --- a/src/operator/config/crd/k8s.otterize.com_clientintents.patched +++ b/src/operator/config/crd/k8s.otterize.com_clientintents.patched @@ -916,7 +916,6 @@ spec: name: type: string required: - - kind - name type: object service: diff --git a/src/operator/config/crd/k8s.otterize.com_clientintents.yaml b/src/operator/config/crd/k8s.otterize.com_clientintents.yaml index c4c800c31..5def17193 100644 --- a/src/operator/config/crd/k8s.otterize.com_clientintents.yaml +++ b/src/operator/config/crd/k8s.otterize.com_clientintents.yaml @@ -905,7 +905,6 @@ spec: name: type: string required: - - kind - name type: object service: diff --git a/src/operator/otterizecrds/clientintents-customresourcedefinition.yaml b/src/operator/otterizecrds/clientintents-customresourcedefinition.yaml index fbf5c934f..0b721ac90 100644 --- a/src/operator/otterizecrds/clientintents-customresourcedefinition.yaml +++ b/src/operator/otterizecrds/clientintents-customresourcedefinition.yaml @@ -916,7 +916,6 @@ spec: name: type: string required: - - kind - name type: object service: