-
Notifications
You must be signed in to change notification settings - Fork 601
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
13 changed files
with
21,440 additions
and
0 deletions.
There are no files selected for viewing
212 changes: 212 additions & 0 deletions
212
operators/verticadb-operator/2.1.1/manifests/vertica.com_eventtriggers.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,212 @@ | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: v0.11.1 | ||
creationTimestamp: null | ||
name: eventtriggers.vertica.com | ||
spec: | ||
conversion: | ||
strategy: None | ||
group: vertica.com | ||
names: | ||
categories: | ||
- vertica | ||
kind: EventTrigger | ||
listKind: EventTriggerList | ||
plural: eventtriggers | ||
shortNames: | ||
- et | ||
singular: eventtrigger | ||
scope: Namespaced | ||
versions: | ||
- name: v1beta1 | ||
schema: | ||
openAPIV3Schema: | ||
description: EventTrigger is the Schema for the eventtriggers 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: EventTriggerSpec defines how to find objects that apply, | ||
what the match condition and a job template spec that gets created when | ||
a match occurs. | ||
properties: | ||
matches: | ||
description: List of things that must be matched in order for the | ||
Job to be created. Multiple matches are combined with AND logic. | ||
items: | ||
description: ETMatch defines a condition to match that will trigger | ||
job creation. | ||
properties: | ||
condition: | ||
description: Details about a status condition that must match. | ||
properties: | ||
status: | ||
description: The expected value of the status condition | ||
when a match occurs. | ||
type: string | ||
type: | ||
description: The name of the status condition to check. | ||
type: string | ||
required: | ||
- status | ||
- type | ||
type: object | ||
type: object | ||
type: array | ||
references: | ||
description: Objects that this event trigger will apply too. | ||
items: | ||
description: ETReference is a way to identify an object or set of | ||
objects that will be watched. | ||
properties: | ||
object: | ||
description: A single object, given by GVK + namespace + name, | ||
that this event trigger will apply too. | ||
properties: | ||
apiVersion: | ||
description: The API version of the reference object | ||
type: string | ||
kind: | ||
description: The kind of the reference object | ||
type: string | ||
name: | ||
description: The name of the reference object. This doesn't | ||
have to exist prior to creating the CR. | ||
type: string | ||
namespace: | ||
description: The namespace that the reference object exists | ||
in. | ||
type: string | ||
required: | ||
- apiVersion | ||
- kind | ||
- name | ||
type: object | ||
type: object | ||
type: array | ||
template: | ||
description: A template of a Job that will get created when the conditions | ||
are met for any reference object. | ||
properties: | ||
metadata: | ||
description: The job's object meta data. At a minimum, the name | ||
or generateName must be set. | ||
properties: | ||
annotations: | ||
additionalProperties: | ||
type: string | ||
description: Annotations is an unstructured key value map | ||
stored with a resource that may be set by external tools | ||
to store and retrieve arbitrary metadata. They are not queryable | ||
and should be preserved when modifying objects. | ||
type: object | ||
generateName: | ||
description: GenerateName is an optional prefix, used by the | ||
server, to generate a unique name ONLY IF the Name field | ||
has not been provided. | ||
type: string | ||
labels: | ||
additionalProperties: | ||
type: string | ||
description: Map of string keys and values that can be used | ||
to organize and categorize (scope and select) objects. | ||
type: object | ||
name: | ||
description: Name must be unique within a namespace. Can be | ||
omitted if GenerateName is provided. | ||
type: string | ||
type: object | ||
spec: | ||
description: Specification of the desired behavior of the job. | ||
x-kubernetes-preserve-unknown-fields: true | ||
required: | ||
- metadata | ||
- spec | ||
type: object | ||
required: | ||
- matches | ||
- references | ||
- template | ||
type: object | ||
status: | ||
description: EventTriggerStatus defines the observed state of EventTrigger | ||
properties: | ||
references: | ||
description: Status about each of the reference objects | ||
items: | ||
description: ETRefObjectStatus provides status information about | ||
a single reference object | ||
properties: | ||
apiVersion: | ||
description: The API version of the reference object | ||
type: string | ||
jobName: | ||
description: If a job was created because a match was found | ||
for this reference object, this is the name of the last job | ||
that was created. This pairs with the jobNamespace parameter | ||
to uniquely identify the job. | ||
type: string | ||
jobNamespace: | ||
description: If a job was created because a match was found | ||
for this reference object, this is the namespace the job is | ||
found in. This pairs with the jobName parameter to uniquely | ||
identify the job. | ||
type: string | ||
jobsCreated: | ||
description: The number of jobs that have been created for this | ||
reference object. | ||
type: integer | ||
kind: | ||
description: The kind of the reference object | ||
type: string | ||
name: | ||
description: The name of the reference object. This doesn't | ||
have to exist prior to creating the CR. | ||
type: string | ||
namespace: | ||
description: The namespace that the reference object exists | ||
in. | ||
type: string | ||
resourceVersion: | ||
description: The last known resource version of the reference | ||
object | ||
type: string | ||
uid: | ||
description: The uid of the reference object | ||
type: string | ||
required: | ||
- apiVersion | ||
- jobName | ||
- jobNamespace | ||
- kind | ||
- name | ||
- resourceVersion | ||
- uid | ||
type: object | ||
type: array | ||
required: | ||
- references | ||
type: object | ||
type: object | ||
served: true | ||
storage: true | ||
subresources: | ||
status: {} | ||
status: | ||
acceptedNames: | ||
kind: "" | ||
plural: "" | ||
conditions: null | ||
storedVersions: null |
Oops, something went wrong.