|
13 | 13 |
|
14 | 14 | | Field | Type | Description | |
15 | 15 | | --- | --- | --- | |
16 | | -| `image` | string | Image is the container image used for the Coder control plane pod. | |
17 | | -| `replicas` | integer | Replicas is the desired number of control plane pods. | |
18 | | -| `service` | [ServiceSpec](#servicespec) | Service controls the service created in front of the control plane. | |
19 | | -| `extraArgs` | string array | ExtraArgs are appended to the default Coder server arguments. | |
20 | | -| `extraEnv` | [EnvVar](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.35/#envvar-v1-core) array | ExtraEnv are injected into the Coder control plane container. | |
21 | | -| `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. | |
22 | | -| `operatorAccess` | [OperatorAccessSpec](#operatoraccessspec) | OperatorAccess configures bootstrap API access to the coderd instance. | |
| 16 | +| `image` | `string` | Image is the container image used for the Coder control plane pod. | |
| 17 | +| `replicas` | `int32` | Replicas is the desired number of control plane pods. | |
| 18 | +| `service` | `ServiceSpec` | Service controls the service created in front of the control plane. | |
| 19 | +| ββ `type` | `corev1.ServiceType` | Type controls the Kubernetes service type. | |
| 20 | +| ββ `port` | `int32` | Port controls the exposed service port. | |
| 21 | +| ββ `annotations` | `map[string]string` | Annotations are applied to the reconciled service object. | |
| 22 | +| `extraArgs` | `[]string` | ExtraArgs are appended to the default Coder server arguments. | |
| 23 | +| `extraEnv` | `[]corev1.EnvVar` | ExtraEnv are injected into the Coder control plane container. | |
| 24 | +| `imagePullSecrets` | `[]corev1.LocalObjectReference` | ImagePullSecrets are used by the pod to pull private images. | |
| 25 | +| ββ `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) | |
| 26 | +| `operatorAccess` | `OperatorAccessSpec` | OperatorAccess configures bootstrap API access to the coderd instance. | |
| 27 | +| ββ `disabled` | `bool` | Disabled turns off creation and management of the `coder-k8s-operator` user and API token. | |
| 28 | +| ββ `generatedTokenSecretName` | `string` | GeneratedTokenSecretName stores the generated operator API token. | |
| 29 | +| `licenseSecretRef` | `SecretKeySelector` | LicenseSecretRef references a Secret key containing a Coder Enterprise license JWT. When set, the controller uploads the license after the control plane is ready and re-uploads when the Secret value changes. | |
| 30 | +| ββ `name` | `string` | Name is the Kubernetes Secret name. | |
| 31 | +| ββ `key` | `string` | Key is the key inside the Secret data map. | |
23 | 32 |
|
24 | 33 | ## Status |
25 | 34 |
|
26 | 35 | | Field | Type | Description | |
27 | 36 | | --- | --- | --- | |
28 | | -| `observedGeneration` | integer | ObservedGeneration tracks the spec generation this status reflects. | |
29 | | -| `readyReplicas` | integer | ReadyReplicas is the number of ready pods observed in the deployment. | |
30 | | -| `url` | string | URL is the in-cluster URL for the control plane service. | |
31 | | -| `operatorTokenSecretRef` | [SecretKeySelector](#secretkeyselector) | OperatorTokenSecretRef points to the Secret key containing the `coder-k8s-operator` API token. | |
32 | | -| `operatorAccessReady` | boolean | OperatorAccessReady reports whether operator API access bootstrap succeeded. | |
33 | | -| `phase` | string | Phase is a high-level readiness indicator. | |
34 | | -| `conditions` | [Condition](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.35/#condition-v1-meta) array | Conditions are Kubernetes-standard conditions for this resource. | |
35 | | - |
36 | | -## Referenced types |
37 | | - |
38 | | -### OperatorAccessSpec |
39 | | - |
40 | | -OperatorAccessSpec configures the controller-managed coderd operator user. |
41 | | - |
42 | | -| Field | Type | Description | |
43 | | -| --- | --- | --- | |
44 | | -| `disabled` | boolean | Disabled turns off creation and management of the `coder-k8s-operator` user and API token. | |
45 | | -| `generatedTokenSecretName` | string | GeneratedTokenSecretName stores the generated operator API token. | |
46 | | - |
47 | | -### SecretKeySelector |
48 | | - |
49 | | -SecretKeySelector identifies a key in a Secret. |
50 | | - |
51 | | -| Field | Type | Description | |
52 | | -| --- | --- | --- | |
53 | | -| `name` | string | Name is the Kubernetes Secret name. | |
54 | | -| `key` | string | Key is the key inside the Secret data map. | |
55 | | - |
56 | | -### ServiceSpec |
57 | | - |
58 | | -ServiceSpec defines the Service configuration reconciled by the operator. |
59 | | - |
60 | | -| Field | Type | Description | |
61 | | -| --- | --- | --- | |
62 | | -| `type` | [ServiceType](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.35/#servicetype-v1-core) | Type controls the Kubernetes service type. | |
63 | | -| `port` | integer | Port controls the exposed service port. | |
64 | | -| `annotations` | object (keys:string, values:string) | Annotations are applied to the reconciled service object. | |
| 37 | +| `observedGeneration` | `int64` | ObservedGeneration tracks the spec generation this status reflects. | |
| 38 | +| `readyReplicas` | `int32` | ReadyReplicas is the number of ready pods observed in the deployment. | |
| 39 | +| `url` | `string` | URL is the in-cluster URL for the control plane service. | |
| 40 | +| `operatorTokenSecretRef` | `SecretKeySelector` | OperatorTokenSecretRef points to the Secret key containing the `coder-k8s-operator` API token. | |
| 41 | +| ββ `name` | `string` | Name is the Kubernetes Secret name. | |
| 42 | +| ββ `key` | `string` | Key is the key inside the Secret data map. | |
| 43 | +| `operatorAccessReady` | `bool` | OperatorAccessReady reports whether operator API access bootstrap succeeded. | |
| 44 | +| `licenseLastApplied` | `metav1.Time` | LicenseLastApplied is the timestamp of the most recent successful operator-managed license upload. | |
| 45 | +| `licenseLastAppliedHash` | `string` | LicenseLastAppliedHash is the SHA-256 hex hash of the trimmed license JWT that LicenseLastApplied refers to. | |
| 46 | +| `phase` | `string` | Phase is a high-level readiness indicator. | |
| 47 | +| `conditions` | `[]metav1.Condition` | Conditions are Kubernetes-standard conditions for this resource. | |
65 | 48 |
|
66 | 49 | ## Source |
67 | 50 |
|
|
0 commit comments