ArtifactCleanupRun

artifacts.katanomi.devgroup

ArtifactCleanupRun is the Schema for the artifactcleanupruns API

v1alpha1version
specobject

ArtifactCleanupRunSpec defines the desired state of ArtifactCleanupRun

artifactCleanupRefobject

Reference to an existing ArtifactCleanup

apiVersionstring

API version of the referent.

fieldPathstring

If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: "spec.containers{name}" (where "name" refers to the name of the container that triggered the event) or if no container name is specified "spec.containers[2]" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object. TODO: this design is not final and this field is subject to change in the future.

kindstring
namestring
namespacestring
resourceVersionstring
uidstring
artifactCleanupSpecobject

In-line spec for ArtifactCleanup. This options is mutually exclusive with artifactCleanupRef.

addressobject

Address stores the integrated service API address

CACertsstring

CACerts is the Certification Authority (CA) certificates in PEM format according to https://www.rfc-editor.org/rfc/rfc7468.

namestring

Name is the name of the address.

urlstring
historyLimitsobject

HistoryLimits limits the number of executed items are preserved It only calculates already completed items

countinteger

Sets a hard count for all finished items to be cleared from storage

integrationClassNamestring

IntegrationClassName sets the name of IntegrationClass that this integration is implemented

integrationRefobject

Reference to specific integration that contains the tool API define.

apiVersionstring

API version of the referent.

fieldPathstring

If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: "spec.containers{name}" (where "name" refers to the name of the container that triggered the event) or if no container name is specified "spec.containers[2]" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object. TODO: this design is not final and this field is subject to change in the future.

kindstring
namestring
namespacestring
resourceVersionstring
uidstring
policies[]object

Policy A detailed description of the policy, including warehouse, cleanup rules, and retention rules.

cleanupRules[]object

Rule Describes the parameters of the rule.

durationstring

The interval for saving time type rules.

namestring

Rule names are for display purposes only.

quantityinteger

Quantity value used to hold quantity type rules.

regexpstring

The regular expression used to hold the match type rules.

typestring

Rule type

repositoryobject

A list of Repository to match. Regular expressions are supported.

namestring

Matches the warehouse rule name, for display only.

regexpstring

Regular expression that matches the repository.

retentionRules[]object

Rule Describes the parameters of the rule.

durationstring

The interval for saving time type rules.

namestring

Rule names are for display purposes only.

quantityinteger

Quantity value used to hold quantity type rules.

regexpstring

The regular expression used to hold the match type rules.

typestring

Rule type

resourceobject

Resources array of predefined resources to be used

annotationsobject

Annotations provides a method to annotate specific resources in order to provide some metadata

namestringrequired

Name stores the name of the resource object

propertiesobject

Properties of the resource. This is used to transmit fields and values to the integration class

readOnlyboolean

ReadOnly adds a desired behaviour for consumers of this resource

replicationPolicyRefobject

ReplicationPolicyRef stores a reference to a policy that generated this resource used by the ClusterIntegration object when replicating and creating Integration objects

apiVersionstring

API version of the referent.

fieldPathstring

If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: "spec.containers{name}" (where "name" refers to the name of the container that triggered the event) or if no container name is specified "spec.containers[2]" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object. TODO: this design is not final and this field is subject to change in the future.

kindstring
namestring
namespacestring
resourceVersionstring
uidstring
subResources[]object
annotationsobject

Annotations provides a method to annotate specific resources in order to provide some metadata

namestringrequired

Name stores the name of the resource object

propertiesobject

Properties of the resource. This is used to transmit fields and values to the integration class

subtypestring

Subtype of resource associated with the object

typestringrequired

Type of resource associated with the object

subtypestring

Subtype of resource associated with the object

syncPolicystring

SyncPolicy specifies how resources are synced to the system. Defaults to "SyncOnly"

typestringrequired

Type of resource associated with the object

triggersobject

all triggers defined for triggering current artifactcleanup

cronTriggers[]object

ArtifactCleanupCronTrigger defines cronTrigger.

annotationsobject

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. More info: http://kubernetes.io/docs/user-guide/annotations

namestring

The name of the timed trigger

specobject

Trigger the desired property periodically.

brokerstring

Broker instance to listen

disabledboolean

Disabled a switch for crontrigger.

params[]object

TriggerValueBinding represent values that will bind to template

constboolean

If true, indicates that value is a constant, not an expression.

namestring

name of template parameter

valuestring

value of template parameter do we only need type of string

runnableRefobject

reference of runnabledefinition

apiVersionstring

API version of the referent.

fieldPathstring

If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: "spec.containers{name}" (where "name" refers to the name of the container that triggered the event) or if no container name is specified "spec.containers[2]" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object. TODO: this design is not final and this field is subject to change in the future.

kindstring
namestring
namespacestring
resourceVersionstring
uidstring
runnableSpecobject

Inline spec for runnable template.

kubeobject

Uses a yaml format to create a template for resource

parameters[]object

KubeParameter used to generate the resource with jsonpath replacement rules

fieldPaths[]string

FieldPaths is jsonpath for replacing the parameter value into the resource at render time

namestring

Unique parameter name

requiredboolean

Parameter required, Defaults to false

typestring

Parameter value type, one of [string, number, boolean], default is string

templateobject

Raw resource definition yaml

schedulestringrequired

Schedule is the cron schedule.

timezonestring

Timezone modifies the actual time relative to the specified timezone. Defaults to UTC. More general information about time zones: https://www.iana.org/time-zones List of valid timezone values: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones

dryRunboolean

True means that the simulation runs without performing specific cleanup operations.

statusstring

Status Used for cancelling a ArtifactCleanupRun (and maybe more later on)

statusobject

ArtifactCleanupRunStatus defines the observed state of ArtifactCleanupRun

annotationsobject

Annotations is additional Status fields for the Resource to save some additional State as well as convey more information to the user. This is roughly akin to Annotations on any k8s resource, just the reconciler conveying richer information outwards.

artifactCleanupSpecobject

When spec.artifactCleanupRef is used, the spec will be stored here for future reference

addressobject

Address stores the integrated service API address

CACertsstring

CACerts is the Certification Authority (CA) certificates in PEM format according to https://www.rfc-editor.org/rfc/rfc7468.

namestring

Name is the name of the address.

urlstring
historyLimitsobject

HistoryLimits limits the number of executed items are preserved It only calculates already completed items

countinteger

Sets a hard count for all finished items to be cleared from storage

integrationClassNamestring

IntegrationClassName sets the name of IntegrationClass that this integration is implemented

integrationRefobject

Reference to specific integration that contains the tool API define.

apiVersionstring

API version of the referent.

fieldPathstring

If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: "spec.containers{name}" (where "name" refers to the name of the container that triggered the event) or if no container name is specified "spec.containers[2]" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object. TODO: this design is not final and this field is subject to change in the future.

kindstring
namestring
namespacestring
resourceVersionstring
uidstring
policies[]object

Policy A detailed description of the policy, including warehouse, cleanup rules, and retention rules.

cleanupRules[]object

Rule Describes the parameters of the rule.

durationstring

The interval for saving time type rules.

namestring

Rule names are for display purposes only.

quantityinteger

Quantity value used to hold quantity type rules.

regexpstring

The regular expression used to hold the match type rules.

typestring

Rule type

repositoryobject

A list of Repository to match. Regular expressions are supported.

namestring

Matches the warehouse rule name, for display only.

regexpstring

Regular expression that matches the repository.

retentionRules[]object

Rule Describes the parameters of the rule.

durationstring

The interval for saving time type rules.

namestring

Rule names are for display purposes only.

quantityinteger

Quantity value used to hold quantity type rules.

regexpstring

The regular expression used to hold the match type rules.

typestring

Rule type

resourceobject

Resources array of predefined resources to be used

annotationsobject

Annotations provides a method to annotate specific resources in order to provide some metadata

namestringrequired

Name stores the name of the resource object

propertiesobject

Properties of the resource. This is used to transmit fields and values to the integration class

readOnlyboolean

ReadOnly adds a desired behaviour for consumers of this resource

replicationPolicyRefobject

ReplicationPolicyRef stores a reference to a policy that generated this resource used by the ClusterIntegration object when replicating and creating Integration objects

apiVersionstring

API version of the referent.

fieldPathstring

If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: "spec.containers{name}" (where "name" refers to the name of the container that triggered the event) or if no container name is specified "spec.containers[2]" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object. TODO: this design is not final and this field is subject to change in the future.

kindstring
namestring
namespacestring
resourceVersionstring
uidstring
subResources[]object
annotationsobject

Annotations provides a method to annotate specific resources in order to provide some metadata

namestringrequired

Name stores the name of the resource object

propertiesobject

Properties of the resource. This is used to transmit fields and values to the integration class

subtypestring

Subtype of resource associated with the object

typestringrequired

Type of resource associated with the object

subtypestring

Subtype of resource associated with the object

syncPolicystring

SyncPolicy specifies how resources are synced to the system. Defaults to "SyncOnly"

typestringrequired

Type of resource associated with the object

triggersobject

all triggers defined for triggering current artifactcleanup

cronTriggers[]object

ArtifactCleanupCronTrigger defines cronTrigger.

annotationsobject

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. More info: http://kubernetes.io/docs/user-guide/annotations

namestring

The name of the timed trigger

specobject

Trigger the desired property periodically.

brokerstring

Broker instance to listen

disabledboolean

Disabled a switch for crontrigger.

params[]object

TriggerValueBinding represent values that will bind to template

constboolean

If true, indicates that value is a constant, not an expression.

namestring

name of template parameter

valuestring

value of template parameter do we only need type of string

runnableRefobject

reference of runnabledefinition

apiVersionstring

API version of the referent.

fieldPathstring

If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: "spec.containers{name}" (where "name" refers to the name of the container that triggered the event) or if no container name is specified "spec.containers[2]" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object. TODO: this design is not final and this field is subject to change in the future.

kindstring
namestring
namespacestring
resourceVersionstring
uidstring
runnableSpecobject

Inline spec for runnable template.

kubeobject

Uses a yaml format to create a template for resource

parameters[]object

KubeParameter used to generate the resource with jsonpath replacement rules

fieldPaths[]string

FieldPaths is jsonpath for replacing the parameter value into the resource at render time

namestring

Unique parameter name

requiredboolean

Parameter required, Defaults to false

typestring

Parameter value type, one of [string, number, boolean], default is string

templateobject

Raw resource definition yaml

schedulestringrequired

Schedule is the cron schedule.

timezonestring

Timezone modifies the actual time relative to the specified timezone. Defaults to UTC. More general information about time zones: https://www.iana.org/time-zones List of valid timezone values: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones

completionTimestring

CompletionTime is the time when StageRun completed.

conditions[]object

Condition defines a readiness condition for a Knative resource. See: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#typical-status-properties

lastTransitionTimestring

LastTransitionTime is the last time the condition transitioned from one status to another. We use VolatileTime in place of metav1.Time to exclude this from creating equality.Semantic differences (all other things held constant).

messagestring

A human readable message indicating details about the transition.

reasonstring

The reason for the condition's last transition.

severitystring

Severity with which to treat failures of this type of condition. When this is not specified, it defaults to Error.

statusstringrequired

Status of the condition, one of True, False, Unknown.

typestringrequired

Type of condition.

observedGenerationinteger

ObservedGeneration is the 'Generation' of the Service that was last processed by the controller.

resources[]object

Resource A detailed description of the cleanup reocrd.

messagestring

Description of reason info.

reasonstring

Describes the reason for the status, such as Cancelled, InternalServerError, DryRun.

repositorystring

A list of repositories to match. Regular expressions are supported.

statusstring

Describes the cleanup state. (Unknown, True, False)

tags[]object
namestring

tag name

pullTimestring

tag push time, if Name is empty, the pushtime of the version

pushTimestring

tag pull time, if Name is empty, the pulltime of the version

versionstring

Clean up the list of rules.

startTimestring

StartTime is the time when StageRun actually started.

summaryobject

Describe the overall result of the cleanup. Record success, failure, ignore the number of records.

failedinteger

Failed records the total number of cleanup failures.

skipedinteger

Skiped records the total number of cleanup ignores.

succeededinteger

Succeeded records the total number of successful cleanups.

triggeredByobject

TriggeredBy stores a list of triggered information.

cloudEventobject

Cloud Event data for the event that triggered.

datastring

Data event payload

datacontenttypestring
extensionsobject
idstring
sourcestring
specversionstring
subjectstring
timestring
typestring

Type of event

refobject

Reference to another object that might have triggered this object

apiVersionstring

API version of the referent.

fieldPathstring

If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: "spec.containers{name}" (where "name" refers to the name of the container that triggered the event) or if no container name is specified "spec.containers[2]" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object. TODO: this design is not final and this field is subject to change in the future.

kindstring
namestring
namespacestring
resourceVersionstring
uidstring
triggeredTimestampstring

Date time of creation of triggered event. Will match a resource's metadata.creationTimestamp it is added here for convinience only

triggeredTypestring

Indicates trigger type, such as Manual Automated.

userobject

Reference to the user that triggered the object. Any Kubernetes Subject is accepted.

apiGroupstring

APIGroup holds the API group of the referenced subject. Defaults to "" for ServiceAccount subjects. Defaults to "rbac.authorization.k8s.io" for User and Group subjects.

kindstringrequired

Kind of object being referenced. Values defined by this API group are "User", "Group", and "ServiceAccount". If the Authorizer does not recognized the kind value, the Authorizer should report an error.

namestringrequired

Name of the object being referenced.

namespacestring

Namespace of the referenced object. If the object kind is non-namespace, such as "User" or "Group", and this value is not empty the Authorizer should report an error.