Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
omris94 committed Nov 25, 2024
1 parent dccec0c commit 15fda4a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
6 changes: 4 additions & 2 deletions src/operator/api/v2alpha1/clientintents_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -916,7 +916,6 @@ spec:
name:
type: string
required:
- kind
- name
type: object
service:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -905,7 +905,6 @@ spec:
name:
type: string
required:
- kind
- name
type: object
service:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -916,7 +916,6 @@ spec:
name:
type: string
required:
- kind
- name
type: object
service:
Expand Down

0 comments on commit 15fda4a

Please sign in to comment.