-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
62 changed files
with
255 additions
and
1,359 deletions.
There are no files selected for viewing
File renamed without changes.
2 changes: 2 additions & 0 deletions
2
api/v1/zz_generated.deepcopy.go → Nimbus/api/v1/zz_generated.deepcopy.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
196 changes: 196 additions & 0 deletions
196
Nimbus/config/crd/bases/intent.security.nimbus.com_securityintents.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,196 @@ | ||
--- | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: v0.13.0 | ||
name: securityintents.intent.security.nimbus.com | ||
spec: | ||
group: intent.security.nimbus.com | ||
names: | ||
kind: SecurityIntent | ||
listKind: SecurityIntentList | ||
plural: securityintents | ||
singular: securityintent | ||
scope: Namespaced | ||
versions: | ||
- name: v1 | ||
schema: | ||
openAPIV3Schema: | ||
description: SecurityIntent is the Schema for the securityintents API | ||
properties: | ||
apiVersion: | ||
description: 'APIVersion defines the versioned schema of this representation | ||
of an object. Servers should convert recognized schemas to the latest | ||
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' | ||
type: string | ||
kind: | ||
description: 'Kind is a string value representing the REST resource this | ||
object represents. Servers may infer this from the endpoint the client | ||
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' | ||
type: string | ||
metadata: | ||
type: object | ||
spec: | ||
description: SecurityIntentSpec defines the desired state of SecurityIntent | ||
properties: | ||
intent: | ||
description: Intent defines the security policy details | ||
properties: | ||
action: | ||
type: string | ||
mode: | ||
type: string | ||
resource: | ||
items: | ||
description: Resource defines the resources that the security | ||
policy applies to | ||
properties: | ||
attrs: | ||
items: | ||
type: string | ||
type: array | ||
key: | ||
type: string | ||
val: | ||
items: | ||
type: string | ||
type: array | ||
valcel: | ||
type: string | ||
type: object | ||
type: array | ||
type: | ||
type: string | ||
required: | ||
- action | ||
- mode | ||
- resource | ||
- type | ||
type: object | ||
selector: | ||
description: Selector defines the selection criteria for resources | ||
properties: | ||
cel: | ||
items: | ||
type: string | ||
type: array | ||
match: | ||
description: Match defines the resource filters to be used | ||
properties: | ||
all: | ||
items: | ||
description: ResourceFilter is used for filtering resources, | ||
subjects, roles, and cluster roles | ||
properties: | ||
resources: | ||
description: Resources defines the properties for selecting | ||
Kubernetes resources | ||
properties: | ||
kinds: | ||
items: | ||
type: string | ||
type: array | ||
matchLabels: | ||
additionalProperties: | ||
type: string | ||
type: object | ||
names: | ||
items: | ||
type: string | ||
type: array | ||
namespaces: | ||
items: | ||
type: string | ||
type: array | ||
operations: | ||
items: | ||
type: string | ||
type: array | ||
required: | ||
- kinds | ||
type: object | ||
roles: | ||
items: | ||
type: string | ||
type: array | ||
subjects: | ||
items: | ||
description: Subject defines the subject for filtering | ||
properties: | ||
kind: | ||
type: string | ||
name: | ||
type: string | ||
required: | ||
- kind | ||
type: object | ||
type: array | ||
type: object | ||
type: array | ||
any: | ||
items: | ||
description: ResourceFilter is used for filtering resources, | ||
subjects, roles, and cluster roles | ||
properties: | ||
resources: | ||
description: Resources defines the properties for selecting | ||
Kubernetes resources | ||
properties: | ||
kinds: | ||
items: | ||
type: string | ||
type: array | ||
matchLabels: | ||
additionalProperties: | ||
type: string | ||
type: object | ||
names: | ||
items: | ||
type: string | ||
type: array | ||
namespaces: | ||
items: | ||
type: string | ||
type: array | ||
operations: | ||
items: | ||
type: string | ||
type: array | ||
required: | ||
- kinds | ||
type: object | ||
roles: | ||
items: | ||
type: string | ||
type: array | ||
subjects: | ||
items: | ||
description: Subject defines the subject for filtering | ||
properties: | ||
kind: | ||
type: string | ||
name: | ||
type: string | ||
required: | ||
- kind | ||
type: object | ||
type: array | ||
type: object | ||
type: array | ||
type: object | ||
required: | ||
- cel | ||
type: object | ||
required: | ||
- intent | ||
- selector | ||
type: object | ||
status: | ||
description: SecurityIntentStatus defines the observed state of SecurityIntent | ||
type: object | ||
type: object | ||
served: true | ||
storage: true | ||
subresources: | ||
status: {} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.