Get startedSign in

API Reference

Packages

deployments.plural.sh/v1alpha1

Package v1alpha1 contains API Schema definitions for the deployments v1alpha1 API group

Resource Types

AWSProviderCredentials

Appears in:

Field
Description
Default
Validation
region stringRegion is the name of the AWS region cluster lives in.Required: {}
accessKeyID stringAccessKeyID is your access key ID used to authenticate against AWS API.Optional: {}
secretAccessKeyRef SecretReferenceSecretAccessKeyRef is a reference to the secret that contains secret access key.
Since UpgradeInsights is a cluster-scoped resource we can't use local reference.
SecretAccessKey must be stored in a key named "secretAccessKey".
An example secret can look like this:
apiVersion: v1
kind: Secret
metadata:
name: eks-credentials
namespace: upgrade-insights-test
stringData:
secretAccessKey: "changeme"
Then it can be referenced like this:
...
secretAccessKeyRef:
name: eks-credentials
namespace: upgrade-insights-test
Optional: {}

AgentHelmConfiguration

Appears in:

Field
Description
Default
Validation
chartName stringChartName is a helm chart name.
repoUrl stringRepoUrl is a url that points to this helm chart.Optional: {}
Type: string
values RawExtensionValues allows defining arbitrary YAML values to pass to the helm as values.yaml file.
Use only one of:
- Values
- ValuesSecretRef
- ValuesConfigMapRef
Optional: {}
valuesSecretRef SecretKeySelectorValuesSecretRef fetches helm values from a secret in this cluster.
Use only one of:
- Values
- ValuesSecretRef
- ValuesConfigMapRef
Optional: {}
valuesConfigMapRef ConfigMapKeySelectorValuesConfigMapRef fetches helm values from a config map in this cluster.
Use only one of:
- Values
- ValuesSecretRef
- ValuesConfigMapRef
Optional: {}

Binding

Binding ...

Appears in:

Field
Description
Default
Validation
id stringOptional: {}
UserID stringOptional: {}
userEmail stringOptional: {}
groupID stringOptional: {}
groupName stringOptional: {}

Bindings

Bindings represents a policy bindings that can be used to define read/write permissions to this resource for users/groups in the system.

Appears in:

Field
Description
Default
Validation
read Binding arrayRead bindings.Optional: {}
write Binding arrayWrite bindings.Optional: {}

ClusterSpec

Appears in:

Field
Description
Default
Validation
handle stringHandle is a short, unique human-readable name used to identify this cluster.
Does not necessarily map to the cloud resource name.
Optional: {}
tags object (keys:string, values:string)Tags used to filter clusters.Optional: {}
metadata RawExtensionRefer to Kubernetes API documentation for fields of metadata.Optional: {}
bindings BindingsBindings contain read and write policies of this clusterOptional: {}

CustomHealth

CustomHealth is the Schema for the HealthConverts API

Field
Description
Default
Validation
apiVersion stringdeployments.plural.sh/v1alpha1
kind stringCustomHealth
metadata ObjectMetaRefer to Kubernetes API documentation for fields of metadata.
spec CustomHealthSpec

CustomHealthSpec

CustomHealthSpec defines the desired state of CustomHealth

Appears in:

Field
Description
Default
Validation
script string

GateSpec

GateSpec defines the detailed gate specifications

Appears in:

Field
Description
Default
Validation
job JobSpecresuse JobSpec type from the kubernetes api

GateState

Underlying type: GateState

GateState represents the state of a gate, reused from console client

Validation:

  • Enum: [PENDING OPEN CLOSED RUNNING]

Appears in:

GateType

Underlying type: GateType

GateType represents the type of a gate, reused from console client

Validation:

  • Enum: [APPROVAL WINDOW JOB]

Appears in:

HelmConfiguration

Appears in:

Field
Description
Default
Validation
chartName stringChartName is a helm chart name.
repoUrl stringRepoUrl is a url that points to this helm chart.Optional: {}
Type: string
values RawExtensionValues allows defining arbitrary YAML values to pass to the helm as values.yaml file.
Use only one of:
- Values
- ValuesSecretRef
- ValuesConfigMapRef
Optional: {}
valuesSecretRef SecretKeySelectorValuesSecretRef fetches helm values from a secret in this cluster.
Use only one of:
- Values
- ValuesSecretRef
- ValuesConfigMapRef
Optional: {}
valuesConfigMapRef ConfigMapKeySelectorValuesConfigMapRef fetches helm values from a config map in this cluster.
Use only one of:
- Values
- ValuesSecretRef
- ValuesConfigMapRef
Optional: {}

HelmSpec

Appears in:

Field
Description
Default
Validation
agent AgentHelmConfigurationAgent allows configuring agent specific helm chart options.Optional: {}
vcluster VClusterHelmConfigurationVCluster allows configuring vcluster specific helm chart options.Optional: {}

IngressReplica

IngressReplica is the Schema for the console ingress replica

Field
Description
Default
Validation
apiVersion stringdeployments.plural.sh/v1alpha1
kind stringIngressReplica
metadata ObjectMetaRefer to Kubernetes API documentation for fields of metadata.
spec IngressReplicaSpecSpec of the IngressReplicaRequired: {}

IngressReplicaSpec

Appears in:

Field
Description
Default
Validation
ingressRef ObjectReferenceRequired: {}
ingressClassName stringOptional: {}
tls IngressTLS arrayOptional: {}
hostMappings object (keys:string, values:string)Required: {}

KubecostExtractor

KubecostExtractor

Field
Description
Default
Validation
apiVersion stringdeployments.plural.sh/v1alpha1
kind stringKubecostExtractor
metadata ObjectMetaRefer to Kubernetes API documentation for fields of metadata.
spec KubecostExtractorSpec

KubecostExtractorSpec

Appears in:

Field
Description
Default
Validation
interval string1hOptional: {}
kubecostServiceRef ObjectReference
kubecostPort integerOptional: {}
recommendationThreshold stringRecommendationThreshold float value for example: 1.2 or 0.001
recommendationsSettings RecommendationsSettingsOptional: {}

MetricsAggregate

MetricsAggregate

Field
Description
Default
Validation
apiVersion stringdeployments.plural.sh/v1alpha1
kind stringMetricsAggregate
metadata ObjectMetaRefer to Kubernetes API documentation for fields of metadata.

PipelineGate

PipelineGate represents a gate blocking promotion along a release pipeline

Field
Description
Default
Validation
apiVersion stringdeployments.plural.sh/v1alpha1
kind stringPipelineGate
metadata ObjectMetaRefer to Kubernetes API documentation for fields of metadata.
spec PipelineGateSpec

PipelineGateSpec

PipelineGateSpec defines the detailed gate specifications

Appears in:

Field
Description
Default
Validation
id string
name string
type GateTypeEnum: [APPROVAL WINDOW JOB]
gateSpec GateSpec

ProviderCredentials

Appears in:

Field
Description
Default
Validation
aws AWSProviderCredentialsAWS defines attributes required to auth with AWS API.Optional: {}

RecommendationsSettings

Appears in:

Field
Description
Default
Validation
excludeNamespaces string array
requireAnnotations object (keys:string, values:string)

Status

Appears in:

Field
Description
Default
Validation
id stringID of the resource in the Console API.Optional: {}
Type: string
sha stringSHA of last applied configuration.Optional: {}
Type: string
conditions Condition arrayRepresents the observations of a PrAutomation's current state.

UpgradeInsights

UpgradeInsights is the Schema for the UpgradeInsights API

Field
Description
Default
Validation
apiVersion stringdeployments.plural.sh/v1alpha1
kind stringUpgradeInsights
metadata ObjectMetaRefer to Kubernetes API documentation for fields of metadata.
spec UpgradeInsightsSpec

UpgradeInsightsSpec

Appears in:

Field
Description
Default
Validation
distro ClusterDistroDistro defines which provider API should be used to fetch latest upgrade insights.
If not provided, we get the distro from the Plural API cluster tied to this operator deploy token.
Enum: [EKS]
Optional: {}
clusterName stringClusterName is your cloud provider cluster identifier (usually name) that is used
to fetch latest upgrade insights information from the cloud provider API.
If not provided, we get the cluster name from the Plural API cluster tied to this
operator deploy token and assume that it is the same as the cluster name in your cloud provider.
Optional: {}
interval stringInterval defines how often should the upgrade insights information be fetched.10mOptional: {}
credentials ProviderCredentialsCredentials allow overriding default provider credentials bound to the operator.Optional: {}

VClusterHelmConfiguration

Appears in:

Field
Description
Default
Validation
chartName stringChartName is a helm chart name.
repoUrl stringRepoUrl is a url that points to this helm chart.Optional: {}
Type: string
values RawExtensionValues allows defining arbitrary YAML values to pass to the helm as values.yaml file.
Use only one of:
- Values
- ValuesSecretRef
- ValuesConfigMapRef
Optional: {}
valuesSecretRef SecretKeySelectorValuesSecretRef fetches helm values from a secret in this cluster.
Use only one of:
- Values
- ValuesSecretRef
- ValuesConfigMapRef
Optional: {}
valuesConfigMapRef ConfigMapKeySelectorValuesConfigMapRef fetches helm values from a config map in this cluster.
Use only one of:
- Values
- ValuesSecretRef
- ValuesConfigMapRef
Optional: {}

VirtualCluster

VirtualCluster is the Schema for the virtual cluster API

Field
Description
Default
Validation
apiVersion stringdeployments.plural.sh/v1alpha1
kind stringVirtualCluster
metadata ObjectMetaRefer to Kubernetes API documentation for fields of metadata.
spec VirtualClusterSpecSpec ...Required: {}

VirtualClusterSpec

Appears in:

Field
Description
Default
Validation
kubeconfigRef LocalObjectReferenceKubeconfigRef is a reference to the secret created by the
vcluster helm chart. It contains kubeconfig with information
on how to access created virtual cluster.
Required: {}
credentialsRef SecretKeySelectorCredentialsRef is a reference to the secret pointing to the
key that holds Console API access token. It allows to communicate
with the standard Console API.
Required: {}
cluster ClusterSpecCluster is a simplified representation of the Console API cluster
object. See [ClusterSpec] for more information.
Optional: {}
external booleanExternal marks this virtual cluster as external one, meaning
that the vcluster deployment will not be automatically created.
User has to pre-provision vcluster and provide a valid KubeconfigRef
pointing to an existing vcluster installation.
Optional: {}
helm HelmSpecHelm allows configuring helm chart options of both agent and vcluster.
It is then deployed by the [VirtualCluster] CRD controller.
Optional: {}