Skip to content

Commit e728319

Browse files
authored
Added CRD for Event-tracker (#2812)
Signed-off-by: Jonsy13 <[email protected]>
1 parent 8c3d20a commit e728319

File tree

1 file changed

+84
-1
lines changed

1 file changed

+84
-1
lines changed

litmus-portal/graphql-server/manifests/cluster/2a_litmus_crds.yaml

Lines changed: 84 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -654,4 +654,87 @@ spec:
654654
subresources: {}
655655
conversion:
656656
strategy: None
657-
657+
---
658+
apiVersion: apiextensions.k8s.io/v1beta1
659+
kind: CustomResourceDefinition
660+
metadata:
661+
annotations:
662+
controller-gen.kubebuilder.io/version: v0.2.5
663+
creationTimestamp: null
664+
name: eventtrackerpolicies.eventtracker.litmuschaos.io
665+
spec:
666+
group: eventtracker.litmuschaos.io
667+
names:
668+
kind: EventTrackerPolicy
669+
listKind: EventTrackerPolicyList
670+
plural: eventtrackerpolicies
671+
singular: eventtrackerpolicy
672+
scope: Namespaced
673+
validation:
674+
openAPIV3Schema:
675+
description: EventTrackerPolicy is the Schema for the eventtrackerpolicies API
676+
properties:
677+
apiVersion:
678+
description: 'APIVersion defines the versioned schema of this representation
679+
of an object. Servers should convert recognized schemas to the latest
680+
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
681+
type: string
682+
kind:
683+
description: 'Kind is a string value representing the REST resource this
684+
object represents. Servers may infer this from the endpoint the client
685+
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
686+
type: string
687+
metadata:
688+
type: object
689+
spec:
690+
description: EventTrackerPolicySpec defines the desired state of EventTrackerPolicy
691+
properties:
692+
condition_type:
693+
description: Foo is an example field of EventTrackerPolicy. Edit EventTrackerPolicy_types.go
694+
to remove/update
695+
type: string
696+
conditions:
697+
items:
698+
properties:
699+
key:
700+
type: string
701+
operator:
702+
type: string
703+
value:
704+
type: string
705+
type: object
706+
type: array
707+
type: object
708+
statuses:
709+
items:
710+
description: EventTrackerPolicyStatus defines the observed state of EventTrackerPolicy
711+
properties:
712+
is_triggered:
713+
type: string
714+
resource:
715+
type: string
716+
resource_name:
717+
type: string
718+
result:
719+
type: string
720+
time_stamp:
721+
description: 'INSERT ADDITIONAL STATUS FIELD - define observed state
722+
of cluster Important: Run "make" to regenerate code after modifying
723+
this file'
724+
type: string
725+
workflow_id:
726+
type: string
727+
type: object
728+
type: array
729+
type: object
730+
version: v1
731+
versions:
732+
- name: v1
733+
served: true
734+
storage: true
735+
status:
736+
acceptedNames:
737+
kind: ""
738+
plural: ""
739+
conditions: []
740+
storedVersions: []

0 commit comments

Comments
 (0)