Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

operator verticadb-operator (1.11.3) #4896

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,226 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
cert-manager.io/inject-ca-from: verticadb-operator-system/verticadb-operator-serving-cert
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