Skip to content

Commit

Permalink
fix(nimbus): fix crd spec issue
Browse files Browse the repository at this point in the history
Signed-off-by: sahil <[email protected]>
  • Loading branch information
rajaSahil committed Dec 18, 2023
1 parent f0e7d4a commit b347a8e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,6 @@ spec:
type: string
required:
- action
- description
- resource
- type
type: object
Expand Down
8 changes: 4 additions & 4 deletions pkg/api/v1/securityintent_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ type SecurityIntentSpec struct {

// Intent defines the security policy details
type Intent struct {
Description string `json:"description"` // Define the description
Action string `json:"action"` // Define the action of the policy
Type string `json:"type"` // Defines the type of the policy
Resource []Resource `json:"resource"` // Define the resources to which the security policy applies
Description string `json:"description,omitempty"` // Define the description
Action string `json:"action"` // Define the action of the policy
Type string `json:"type"` // Defines the type of the policy
Resource []Resource `json:"resource"` // Define the resources to which the security policy applies
}

// Resource defines the resources that the security policy applies to
Expand Down

0 comments on commit b347a8e

Please sign in to comment.