Packages:
Package v1alpha1 is the v1alpha1 version of the API.
Resource Types:
ActionSet describes kanister actions.
| Field | Description |
|---|---|
apiVersionstring |
cr/v1alpha1
|
kindstring |
ActionSet |
metadataKubernetes meta/v1.ObjectMeta |
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
specActionSetSpec |
Spec defines the specification for the actionset. The specification includes a list of Actions to be performed. Each Action includes details about the referenced Blueprint and other objects used to perform the defined action. |
statusActionSetStatus |
Status refers to the current status of the Kanister actions. |
Blueprint describes kanister actions.
| Field | Description |
|---|---|
apiVersionstring |
cr/v1alpha1
|
kindstring |
Blueprint |
metadataKubernetes meta/v1.ObjectMeta |
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
actionsmap[string]*./pkg/apis/cr/v1alpha1.BlueprintAction |
Actions is the list of actions constructing the Blueprint. |
Profile captures information about a storage location for backup artifacts and corresponding credentials, that will be made available to a Blueprint phase.
| Field | Description |
|---|---|
apiVersionstring |
cr/v1alpha1
|
kindstring |
Profile |
metadataKubernetes meta/v1.ObjectMeta |
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
locationLocation |
Location provides the information about the object storage that is going to be used by Kanister to upload the backup objects. |
credentialCredential |
Credential represents the credentials associated with the Location. |
skipSSLVerifybool |
SkipSSLVerify is a boolean that specifies whether skipping SSL verification is allowed when operating with the Location. If omitted from the CR definition, it defaults to false |
(Appears on: ActionSetStatus)
ActionProgress provides information on the progress of an action.
| Field | Description |
|---|---|
runningPhasestring |
RunningPhase represents which phase of the action is being run |
percentCompletedstring |
PercentCompleted is computed by assessing the number of completed phases against the the total number of phases. |
lastTransitionTimeKubernetes meta/v1.Time |
LastTransitionTime represents the last date time when the progress status was received. |
(Appears on: ActionSet)
ActionSetSpec is the specification for the actionset.
| Field | Description |
|---|---|
actions[]ActionSpec |
Actions represents a list of Actions that need to be performed by the actionset. |
(Appears on: ActionSet)
ActionSetStatus is the status for the actionset. This should only be updated by the controller.
| Field | Description |
|---|---|
stateState |
State represents the current state of the actionset. There are four possible values: “Pending”, “Running”, “Failed”, and “Complete”. |
actions[]ActionStatus |
Actions list represents the latest available observations of the current state of all the actions. |
errorError |
Error contains the detailed error message of an actionset failure. |
progressActionProgress |
Progress provides information on the progress of a running actionset. This includes the percentage of completion of an actionset and the phase that is currently being executed. |
(Appears on: ActionSetSpec)
ActionSpec is the specification for a single Action.
| Field | Description |
|---|---|
namestring |
Name is the action we’ll perform. For example: |
objectObjectReference |
Object refers to the thing we’ll perform this action on. |
blueprintstring |
Blueprint with instructions on how to execute this action. |
artifactsmap[string]./pkg/apis/cr/v1alpha1.Artifact |
Artifacts will be passed as inputs into this phase. |
configMapsmap[string]./pkg/apis/cr/v1alpha1.ObjectReference |
ConfigMaps that we’ll get and pass into the blueprint. |
secretsmap[string]./pkg/apis/cr/v1alpha1.ObjectReference |
Secrets that we’ll get and pass into the blueprint. |
profileObjectReference |
Profile is use to specify the location where store artifacts and the credentials authorized to access them. |
podOverrideJSONMap |
PodOverride is used to specify pod specs that will override the default pod specs |
optionsmap[string]string |
Options will be used to specify additional values to be used in the Blueprint. |
preferredVersionstring |
PreferredVersion will be used to select the preferred version of Kanister functions to be executed for this action |
(Appears on: ActionSetStatus)
ActionStatus is updated as we execute phases.
| Field | Description |
|---|---|
namestring |
Name is the action we’ll perform. For example: |
objectObjectReference |
Object refers to the thing we’ll perform this action on. |
blueprintstring |
Blueprint with instructions on how to execute this action. |
phases[]Phase |
Phases are sub-actions an are executed sequentially. |
artifactsmap[string]./pkg/apis/cr/v1alpha1.Artifact |
Artifacts created by this phase. |
deferPhasePhase |
DeferPhase is the phase that is executed at the end of an action irrespective of the status of other phases in the action |
(Appears on: ActionSpec, ActionStatus, BlueprintAction)
Artifact tracks objects produced by an action.
| Field | Description |
|---|---|
keyValuemap[string]string |
KeyValue represents key-value pair artifacts produced by the action. |
kopiaSnapshotstring |
KopiaSnapshot captures the kopia snapshot information produced as a JSON string by kando command in phases of an action. |
BlueprintAction describes the set of phases that constitute an action.
| Field | Description |
|---|---|
namestring |
Name contains the name of the action. |
kindstring |
Kind contains the resource on which this action has to be performed. |
configMapNames[]string |
ConfigMapNames is used to specify the config map names that can be used later in the action phases. |
secretNames[]string |
List of Kubernetes secret names used in action phases. |
inputArtifactNames[]string |
InputArtifactNames is the list of Artifact names that were set from previous action and can be consumed in the current action. |
outputArtifactsmap[string]./pkg/apis/cr/v1alpha1.Artifact |
OutputArtifacts is the map of rendered artifacts produced by the BlueprintAction. |
phases[]BlueprintPhase |
Phases is the list of BlueprintPhases which are invoked in order when executing this action. |
deferPhaseBlueprintPhase |
DeferPhase is invoked after the execution of Phases that are defined for an action. A DeferPhase is executed regardless of the statuses of the other phases of the action. A DeferPhase can be used for cleanup operations at the end of an action. |
(Appears on: BlueprintAction)
BlueprintPhase is a an individual unit of execution.
| Field | Description |
|---|---|
funcstring |
Func is the name of a registered Kanister function. |
namestring |
Name contains name of the phase. |
objectsmap[string]./pkg/apis/cr/v1alpha1.ObjectReference |
ObjectRefs represents a map of references to the Kubernetes objects that
can later be used in the |
argsmap[string]interface{} |
Args represents a map of named arguments that the controller will pass to the Kanister function. |
(Appears on: Profile)
Credential
| Field | Description |
|---|---|
typeCredentialType |
Type represents the information about how the credentials are provided for the respective object storage. |
keyPairKeyPair |
KeyPair represents the key-value map used for the Credential of Type KeyPair. |
secretObjectReference |
Secret represents the Kubernetes Secret Object used for the Credential of Type Secret. |
kopiaServerSecretKopiaServerSecret |
KopiaServerSecret represents the secret being used by Credential of Type Kopia. |
(Appears on: Credential)
CredentialType
| Value | Description |
|---|---|
"keyPair" |
|
"kopia" |
|
"secret" |
(Appears on: ActionSetStatus)
Error represents an error that occurred when executing an actionset.
| Field | Description |
|---|---|
messagestring |
Message is the actual error message that is displayed in case of errors. |
(Appears on: ActionSpec)
JSONMap contains PodOverride specs.
(Appears on: Credential)
KeyPair
| Field | Description |
|---|---|
idFieldstring |
IDField specifies the corresponding key in the secret where the AWS Key ID value is stored. |
secretFieldstring |
SecretField specifies the corresponding key in the secret where the AWS Secret Key value is stored. |
secretObjectReference |
Secret represents a Kubernetes Secret object storing the KeyPair credentials. |
(Appears on: Credential)
KopiaServerSecret contains credentials to connect to Kopia server
| Field | Description |
|---|---|
usernamestring |
Username represents the username used to connect to the Kopia Server. |
hostnamestring |
Hostname represents the hostname used to connect to the Kopia Server. |
userPassphraseKopiaServerSecretRef |
UserPassphrase is the user password used to connect to the Kopia Server. |
tlsCertKopiaServerSecretRef |
TLSCert is the certificate used to connect to the Kopia Server. |
connectOptionsmap[string]int |
ConnectOptions represents a map of options which can be used to connect to the Kopia Server. |
(Appears on: KopiaServerSecret)
KopiaServerSecretRef refers to K8s secrets containing Kopia creds
| Field | Description |
|---|---|
keystring |
Key represents the corresponding key in the secret where the required credential or certificate value is stored. |
secretObjectReference |
Secret is the K8s secret object where the creds related to the Kopia Server are stored. |
(Appears on: Profile)
Location
| Field | Description |
|---|---|
typeLocationType |
Type specifies the kind of object storage that would be used to upload the backup objects. Currently supported values are: “GCS”, “S3Compliant”, and “Azure”. |
bucketstring |
Bucket represents the bucket on the object storage where the backup is uploaded. |
endpointstring |
Endpoint specifies the endpoint where the object storage is accessible at. |
prefixstring |
Prefix is the string that would be prepended to the object path in the bucket where the backup objects are uploaded. |
regionstring |
Region represents the region of the bucket specified above. |
(Appears on: Location)
LocationType
| Value | Description |
|---|---|
"azure" |
|
"gcs" |
|
"kopia" |
|
"s3Compliant" |
(Appears on: ActionSpec, ActionStatus, BlueprintPhase, Credential, KeyPair, KopiaServerSecretRef)
ObjectReference refers to a kubernetes object.
| Field | Description |
|---|---|
apiVersionstring |
API version of the referent. |
groupstring |
API Group of the referent. |
resourcestring |
Resource name of the referent. |
kindstring |
Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds |
namestring |
Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names |
namespacestring |
Namespace of the referent. More info: http://kubernetes.io/docs/user-guide/namespaces |
(Appears on: ActionStatus)
Phase is subcomponent of an action.
| Field | Description |
|---|---|
namestring |
Name represents the name of the Blueprint phase. |
stateState |
State represents the current state of execution of the Blueprint phase. |
outputmap[string]interface{} |
Output is the map of output artifacts produced by the Blueprint phase. |
(Appears on: ActionSetStatus, Phase)
State is the current state of a phase of execution.
| Value | Description |
|---|---|
"complete" |
StateComplete means this action or phase finished successfully. |
"failed" |
StateFailed means this action or phase was unsuccessful. |
"pending" |
StatePending mean this action or phase has yet to be executed. |
"running" |
StateRunning means this action or phase is currently executing. |
Generated with gen-crd-api-reference-docs
.