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