Skip to content

Commit

Permalink
Added CRD for Event-tracker (#2812)
Browse files Browse the repository at this point in the history
Signed-off-by: Jonsy13 <[email protected]>
  • Loading branch information
Jonsy13 authored May 17, 2021
1 parent 8c3d20a commit e728319
Showing 1 changed file with 84 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -654,4 +654,87 @@ spec:
subresources: {}
conversion:
strategy: None

---
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.2.5
creationTimestamp: null
name: eventtrackerpolicies.eventtracker.litmuschaos.io
spec:
group: eventtracker.litmuschaos.io
names:
kind: EventTrackerPolicy
listKind: EventTrackerPolicyList
plural: eventtrackerpolicies
singular: eventtrackerpolicy
scope: Namespaced
validation:
openAPIV3Schema:
description: EventTrackerPolicy is the Schema for the eventtrackerpolicies 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: EventTrackerPolicySpec defines the desired state of EventTrackerPolicy
properties:
condition_type:
description: Foo is an example field of EventTrackerPolicy. Edit EventTrackerPolicy_types.go
to remove/update
type: string
conditions:
items:
properties:
key:
type: string
operator:
type: string
value:
type: string
type: object
type: array
type: object
statuses:
items:
description: EventTrackerPolicyStatus defines the observed state of EventTrackerPolicy
properties:
is_triggered:
type: string
resource:
type: string
resource_name:
type: string
result:
type: string
time_stamp:
description: 'INSERT ADDITIONAL STATUS FIELD - define observed state
of cluster Important: Run "make" to regenerate code after modifying
this file'
type: string
workflow_id:
type: string
type: object
type: array
type: object
version: v1
versions:
- name: v1
served: true
storage: true
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []

0 comments on commit e728319

Please sign in to comment.