Skip to content

Commit

Permalink
operator command crd
Browse files Browse the repository at this point in the history
Signed-off-by: Amir Malka <[email protected]>
  • Loading branch information
amirmalka committed Sep 16, 2024
1 parent 92f69ed commit d65b58c
Show file tree
Hide file tree
Showing 4 changed files with 100 additions and 0 deletions.
9 changes: 9 additions & 0 deletions charts/dependency_chart/operatorcommand-crds/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
apiVersion: v2
name: kubescape-operator-command-crd
description: A Helm chart CRDs for Kubescape Operator commands

type: application

version: 0.0.1

appVersion: "0.0.1"
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: operatorcommands.kubescape.io
spec:
group: kubescape.io
names:
plural: operatorcommands
singular: operatorcommand
kind: OperatorCommand
shortNames:
- opcmd
scope: Cluster
versions:
- name: v1alpha1
served: true
storage: true
schema:
openAPIV3Schema:
type: object
properties:
spec:
type: object
properties:
guid:
type: string
commandType:
type: string
commandVersion:
type: string
nullable: true
designators:
type: array
items:
type: object
additionalProperties: true
body:
type: string
format: byte
nullable: true
ttl:
type: string
format: duration
nullable: true
args:
type: object
additionalProperties: true
nullable: true
commandIndex:
type: integer
nullable: true
commandCount:
type: integer
nullable: true
status:
type: object
properties:
started:
type: boolean
startedAt:
type: string
format: date-time
nullable: true
completed:
type: boolean
completedAt:
type: string
format: date-time
nullable: true
executer:
type: string
nullable: true
error:
type: object
nullable: true
properties:
reason:
type: string
nullable: true
message:
type: string
nullable: true
errorCode:
type: integer
nullable: true
subresources:
status: {}
Empty file.
4 changes: 4 additions & 0 deletions charts/kubescape-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,7 @@ dependencies:
version: 0.0.1
repository: "file://../dependency_chart/servicescanresult-crds"
condition: serviceScanConfig.enabled
- name: kubescape-operator-command-crd
version: 0.0.1
repository: "file://../dependency_chart/operatorcommand-crds"

0 comments on commit d65b58c

Please sign in to comment.