CoderProvisioner
API identity
Group/version: coder.com/v1alpha1
Kind: CoderProvisioner
Resource: coderprovisioners
Scope: namespaced
Spec
Field
Type
Description
controlPlaneRef
LocalObjectReference
ControlPlaneRef identifies which CoderControlPlane instance to join. Provisioner key management uses operator-managed access from this control plane's status.operatorTokenSecretRef.
organizationName
string
OrganizationName is the Coder organization. Defaults to "default".
key
CoderProvisionerKeySpec
Key configures provisioner key naming and secret storage.
replicas
integer
Replicas is the desired number of provisioner pods.
tags
object (keys:string, values:string)
Tags are attached to the provisioner key for job routing.
image
string
Image is the container image. Defaults to the control plane image.
extraArgs
string array
ExtraArgs are appended after "provisioner start".
extraEnv
EnvVar array
ExtraEnv are injected into the provisioner container.
resources
ResourceRequirements
Resources for the provisioner container.
imagePullSecrets
LocalObjectReference array
ImagePullSecrets are used by the pod to pull private images.
terminationGracePeriodSeconds
integer
TerminationGracePeriodSeconds for the provisioner pods.
Status
Field
Type
Description
observedGeneration
integer
ObservedGeneration tracks the spec generation this status reflects.
readyReplicas
integer
ReadyReplicas is the number of ready pods observed in the deployment.
phase
string
Phase is a high-level readiness indicator.
conditions
Condition array
Conditions are Kubernetes-standard conditions for this resource.
organizationID
string
OrganizationID is the organization ID last applied to the provisioner key.
organizationName
string
OrganizationName is the organization name last applied to the provisioner key.
provisionerKeyID
string
ProvisionerKeyID is the provisioner key ID last applied in coderd.
provisionerKeyName
string
ProvisionerKeyName is the provisioner key name last applied in coderd.
tagsHash
string
TagsHash is a deterministic hash of spec.tags last applied to the provisioner key.
controlPlaneRefName
string
ControlPlaneRefName is the control plane ref name last applied to the provisioner key.
controlPlaneURL
string
ControlPlaneURL is the control plane URL last applied to the provisioner key.
secretRef
SecretKeySelector
SecretRef references the provisioner key secret data currently in use.
Referenced types
CoderProvisionerKeySpec
CoderProvisionerKeySpec configures provisioner key naming and storage.
Field
Type
Description
name
string
Name is the provisioner key name in coderd. Defaults to the CR name.
secretName
string
SecretName is the Kubernetes Secret to store the key. Defaults to "{crName}-provisioner-key".
secretKey
string
SecretKey is the data key in the Secret. Defaults to "key".
SecretKeySelector
SecretKeySelector identifies a key in a Secret.
Field
Type
Description
name
string
Name is the Kubernetes Secret name.
key
string
Key is the key inside the Secret data map.
Source
Go type: api/v1alpha1/coderprovisioner_types.go
Generated CRD: config/crd/bases/coder.com_coderprovisioners.yaml