|
13 | 13 |
|
14 | 14 | | Field | Type | Description | |
15 | 15 | | --- | --- | --- | |
16 | | -| `spec.controlPlaneRef` | `k8s.io/api/core/v1.LocalObjectReference` | ControlPlaneRef identifies which CoderControlPlane instance to join. | |
17 | | -| `spec.organizationName` | `string` | OrganizationName is the Coder organization. Defaults to "default". | |
18 | | -| `spec.bootstrap` | `github.com/coder/coder-k8s/api/v1alpha1.CoderProvisionerBootstrapSpec` | Bootstrap configures credentials for provisioner key management. | |
19 | | -| `spec.key` | `github.com/coder/coder-k8s/api/v1alpha1.CoderProvisionerKeySpec` | Key configures provisioner key naming and secret storage. | |
20 | | -| `spec.replicas` | `int32` | Replicas is the desired number of provisioner pods. | |
21 | | -| `spec.tags` | `map[string]string` | Tags are attached to the provisioner key for job routing. | |
22 | | -| `spec.image` | `string` | Image is the container image. Defaults to the control plane image. | |
23 | | -| `spec.extraArgs` | `[]string` | ExtraArgs are appended after "provisionerd start". | |
24 | | -| `spec.extraEnv` | `[]k8s.io/api/core/v1.EnvVar` | ExtraEnv are injected into the provisioner container. | |
25 | | -| `spec.resources` | `k8s.io/api/core/v1.ResourceRequirements` | Resources for the provisioner container. | |
26 | | -| `spec.imagePullSecrets` | `[]k8s.io/api/core/v1.LocalObjectReference` | ImagePullSecrets are used by the pod to pull private images. | |
27 | | -| `spec.terminationGracePeriodSeconds` | `int64` | TerminationGracePeriodSeconds for the provisioner pods. | |
| 16 | +| `controlPlaneRef` | `corev1.LocalObjectReference` | ControlPlaneRef identifies which CoderControlPlane instance to join. | |
| 17 | +| `name` | `string` | Name of the referent.<br />This field is effectively required, but due to backwards compatibility is<br />allowed to be empty. Instances of this type with an empty value here are<br />almost certainly wrong.<br />More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names | |
| 18 | +| `organizationName` | `string` | OrganizationName is the Coder organization. Defaults to "default". | |
| 19 | +| `bootstrap` | `CoderProvisionerBootstrapSpec` | Bootstrap configures credentials for provisioner key management. | |
| 20 | +| `credentialsSecretRef` | `SecretKeySelector` | CredentialsSecretRef points to a Secret containing a Coder session token<br />with permission to manage provisioner keys. | |
| 21 | +| `name` | `string` | Name is the Kubernetes Secret name. | |
| 22 | +| `key` | `string` | Key is the key inside the Secret data map. | |
| 23 | +| `key` | `CoderProvisionerKeySpec` | Key configures provisioner key naming and secret storage. | |
| 24 | +| `name` | `string` | Name is the provisioner key name in coderd. Defaults to the CR name. | |
| 25 | +| `secretName` | `string` | SecretName is the Kubernetes Secret to store the key. Defaults to "\{crName\}-provisioner-key". | |
| 26 | +| `secretKey` | `string` | SecretKey is the data key in the Secret. Defaults to "key". | |
| 27 | +| `replicas` | `int32` | Replicas is the desired number of provisioner pods. | |
| 28 | +| `tags` | `map[string]string` | Tags are attached to the provisioner key for job routing. | |
| 29 | +| `image` | `string` | Image is the container image. Defaults to the control plane image. | |
| 30 | +| `extraArgs` | `[]string` | ExtraArgs are appended after "provisionerd start". | |
| 31 | +| `extraEnv` | `[]corev1.EnvVar` | ExtraEnv are injected into the provisioner container. | |
| 32 | +| `resources` | `corev1.ResourceRequirements` | Resources for the provisioner container. | |
| 33 | +| `imagePullSecrets` | `[]corev1.LocalObjectReference` | ImagePullSecrets are used by the pod to pull private images. | |
| 34 | +| `name` | `string` | Name of the referent.<br />This field is effectively required, but due to backwards compatibility is<br />allowed to be empty. Instances of this type with an empty value here are<br />almost certainly wrong.<br />More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names | |
| 35 | +| `terminationGracePeriodSeconds` | `int64` | TerminationGracePeriodSeconds for the provisioner pods. | |
| 36 | + |
28 | 37 |
|
29 | 38 | ## Status |
30 | 39 |
|
31 | 40 | | Field | Type | Description | |
32 | 41 | | --- | --- | --- | |
33 | | -| `status.observedGeneration` | `int64` | ObservedGeneration tracks the spec generation this status reflects. | |
34 | | -| `status.readyReplicas` | `int32` | ReadyReplicas is the number of ready pods observed in the deployment. | |
35 | | -| `status.phase` | `string` | Phase is a high-level readiness indicator. | |
36 | | -| `status.conditions` | `[]metav1.Condition` | Conditions are Kubernetes-standard conditions for this resource. | |
37 | | -| `status.organizationID` | `string` | OrganizationID is the organization ID last applied to the provisioner key. | |
38 | | -| `status.organizationName` | `string` | OrganizationName is the organization name last applied to the provisioner key. | |
39 | | -| `status.provisionerKeyID` | `string` | ProvisionerKeyID is the provisioner key ID last applied in coderd. | |
40 | | -| `status.provisionerKeyName` | `string` | ProvisionerKeyName is the provisioner key name last applied in coderd. | |
41 | | -| `status.tagsHash` | `string` | TagsHash is a deterministic hash of spec.tags last applied to the provisioner key. | |
42 | | -| `status.controlPlaneRefName` | `string` | ControlPlaneRefName is the control plane ref name last applied to the provisioner key. | |
43 | | -| `status.controlPlaneURL` | `string` | ControlPlaneURL is the control plane URL last applied to the provisioner key. | |
44 | | -| `status.secretRef` | `github.com/coder/coder-k8s/api/v1alpha1.SecretKeySelector` | SecretRef references the provisioner key secret data currently in use. | |
| 42 | +| `observedGeneration` | `int64` | ObservedGeneration tracks the spec generation this status reflects. | |
| 43 | +| `readyReplicas` | `int32` | ReadyReplicas is the number of ready pods observed in the deployment. | |
| 44 | +| `phase` | `string` | Phase is a high-level readiness indicator. | |
| 45 | +| `conditions` | `[]metav1.Condition` | Conditions are Kubernetes-standard conditions for this resource. | |
| 46 | +| `organizationID` | `string` | OrganizationID is the organization ID last applied to the provisioner key. | |
| 47 | +| `organizationName` | `string` | OrganizationName is the organization name last applied to the provisioner key. | |
| 48 | +| `provisionerKeyID` | `string` | ProvisionerKeyID is the provisioner key ID last applied in coderd. | |
| 49 | +| `provisionerKeyName` | `string` | ProvisionerKeyName is the provisioner key name last applied in coderd. | |
| 50 | +| `tagsHash` | `string` | TagsHash is a deterministic hash of spec.tags last applied to the provisioner key. | |
| 51 | +| `controlPlaneRefName` | `string` | ControlPlaneRefName is the control plane ref name last applied to the provisioner key. | |
| 52 | +| `controlPlaneURL` | `string` | ControlPlaneURL is the control plane URL last applied to the provisioner key. | |
| 53 | +| `secretRef` | `SecretKeySelector` | SecretRef references the provisioner key secret data currently in use. | |
| 54 | +| `name` | `string` | Name is the Kubernetes Secret name. | |
| 55 | +| `key` | `string` | Key is the key inside the Secret data map. | |
| 56 | + |
45 | 57 |
|
46 | 58 | ## Source |
47 | 59 |
|
|
0 commit comments