Skip to content

Commit

Permalink
operator verticadb-operator (24.4.0-0)
Browse files Browse the repository at this point in the history
  • Loading branch information
cchen-vertica authored Oct 9, 2024
1 parent 04d1a81 commit acdb4e3
Show file tree
Hide file tree
Showing 14 changed files with 22,176 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,225 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
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
Loading

0 comments on commit acdb4e3

Please sign in to comment.