ccluster-py 0.0.10.dev159__tar.gz → 0.0.10.dev161__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. {ccluster_py-0.0.10.dev159 → ccluster_py-0.0.10.dev161}/PKG-INFO +10 -6
  2. {ccluster_py-0.0.10.dev159 → ccluster_py-0.0.10.dev161}/README.md +9 -5
  3. {ccluster_py-0.0.10.dev159 → ccluster_py-0.0.10.dev161}/pyproject.toml +1 -1
  4. {ccluster_py-0.0.10.dev159 → ccluster_py-0.0.10.dev161}/pyproject.toml.orig +1 -1
  5. {ccluster_py-0.0.10.dev159 → ccluster_py-0.0.10.dev161}/src/ccluster/catalogs/deployments/compute_deployment/__init__.py +0 -10
  6. {ccluster_py-0.0.10.dev159 → ccluster_py-0.0.10.dev161}/src/ccluster/client.py +6 -5
  7. {ccluster_py-0.0.10.dev159 → ccluster_py-0.0.10.dev161}/src/ccluster/v1alpha1/cclclusterconfig.py +2 -3
  8. {ccluster_py-0.0.10.dev159 → ccluster_py-0.0.10.dev161}/src/ccluster/v1alpha1/cclcomponentset.py +28 -5
  9. ccluster_py-0.0.10.dev159/src/ccluster/catalogs/cluster_base/external_dns/__init__.py +0 -108
  10. ccluster_py-0.0.10.dev159/src/ccluster/catalogs/cluster_base/opentelemetry_collector/__init__.py +0 -70
  11. ccluster_py-0.0.10.dev159/src/ccluster/catalogs/cluster_base/spire/__init__.py +0 -148
  12. ccluster_py-0.0.10.dev159/src/ccluster/catalogs/cluster_base/spire_crds/__init__.py +0 -43
  13. {ccluster_py-0.0.10.dev159 → ccluster_py-0.0.10.dev161}/LICENSE +0 -0
  14. {ccluster_py-0.0.10.dev159 → ccluster_py-0.0.10.dev161}/src/ccluster/__init__.py +0 -0
  15. {ccluster_py-0.0.10.dev159 → ccluster_py-0.0.10.dev161}/src/ccluster/catalogs/__init__.py +0 -0
  16. {ccluster_py-0.0.10.dev159 → ccluster_py-0.0.10.dev161}/src/ccluster/catalogs/cluster_base/argo_rollouts/__init__.py +0 -0
  17. {ccluster_py-0.0.10.dev159 → ccluster_py-0.0.10.dev161}/src/ccluster/catalogs/cluster_base/cert_manager/__init__.py +0 -0
  18. {ccluster_py-0.0.10.dev159 → ccluster_py-0.0.10.dev161}/src/ccluster/catalogs/cluster_base/final_stack/__init__.py +0 -0
  19. {ccluster_py-0.0.10.dev159 → ccluster_py-0.0.10.dev161}/src/ccluster/catalogs/cluster_base/fluent_bit/__init__.py +0 -0
  20. {ccluster_py-0.0.10.dev159 → ccluster_py-0.0.10.dev161}/src/ccluster/catalogs/cluster_base/gpu_operator/__init__.py +0 -0
  21. {ccluster_py-0.0.10.dev159 → ccluster_py-0.0.10.dev161}/src/ccluster/catalogs/cluster_base/ingress_nginx/__init__.py +0 -0
  22. {ccluster_py-0.0.10.dev159 → ccluster_py-0.0.10.dev161}/src/ccluster/catalogs/cluster_base/istio/__init__.py +0 -0
  23. {ccluster_py-0.0.10.dev159 → ccluster_py-0.0.10.dev161}/src/ccluster/catalogs/cluster_base/kai_scheduler/__init__.py +0 -0
  24. {ccluster_py-0.0.10.dev159 → ccluster_py-0.0.10.dev161}/src/ccluster/catalogs/cluster_base/keda/__init__.py +0 -0
  25. {ccluster_py-0.0.10.dev159 → ccluster_py-0.0.10.dev161}/src/ccluster/catalogs/cluster_base/kube_prometheus_stack/__init__.py +0 -0
  26. {ccluster_py-0.0.10.dev159 → ccluster_py-0.0.10.dev161}/src/ccluster/catalogs/cluster_base/longhorn/__init__.py +0 -0
  27. {ccluster_py-0.0.10.dev159 → ccluster_py-0.0.10.dev161}/src/ccluster/catalogs/cluster_base/metrics_server/__init__.py +0 -0
  28. {ccluster_py-0.0.10.dev159 → ccluster_py-0.0.10.dev161}/src/ccluster/catalogs/cluster_base/network_operator/__init__.py +0 -0
  29. {ccluster_py-0.0.10.dev159 → ccluster_py-0.0.10.dev161}/src/ccluster/catalogs/cluster_base/prometheus_adapter/__init__.py +0 -0
  30. {ccluster_py-0.0.10.dev159 → ccluster_py-0.0.10.dev161}/src/ccluster/catalogs/deployments/dynamo_deployment/__init__.py +0 -0
  31. {ccluster_py-0.0.10.dev159 → ccluster_py-0.0.10.dev161}/src/ccluster/catalogs/deployments/inference_deployment/__init__.py +0 -0
  32. {ccluster_py-0.0.10.dev159 → ccluster_py-0.0.10.dev161}/src/ccluster/catalogs/deployments/job_deployment/__init__.py +0 -0
  33. {ccluster_py-0.0.10.dev159 → ccluster_py-0.0.10.dev161}/src/ccluster/catalogs/namespace_base/__init__.py +0 -0
  34. {ccluster_py-0.0.10.dev159 → ccluster_py-0.0.10.dev161}/src/ccluster/catalogs/resources/kai_gpu_queues/__init__.py +0 -0
  35. {ccluster_py-0.0.10.dev159 → ccluster_py-0.0.10.dev161}/src/ccluster/catalogs/resources/persistent_volume/__init__.py +0 -0
  36. {ccluster_py-0.0.10.dev159 → ccluster_py-0.0.10.dev161}/src/ccluster/cli.py +0 -0
  37. {ccluster_py-0.0.10.dev159 → ccluster_py-0.0.10.dev161}/src/ccluster/py.typed +0 -0
  38. {ccluster_py-0.0.10.dev159 → ccluster_py-0.0.10.dev161}/src/ccluster/v1alpha1/__init__.py +0 -0
  39. {ccluster_py-0.0.10.dev159 → ccluster_py-0.0.10.dev161}/src/ccluster/v1alpha1/base.py +0 -0
  40. {ccluster_py-0.0.10.dev159 → ccluster_py-0.0.10.dev161}/src/ccluster/v1alpha1/cclinfraplane.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ccluster-py
3
- Version: 0.0.10.dev159
3
+ Version: 0.0.10.dev161
4
4
  Summary: Pydantic models and a client for the ccluster.nvidia.com API and its Helm chart catalog
5
5
  License-Expression: Apache-2.0
6
6
  License-File: LICENSE
@@ -197,15 +197,19 @@ A type is absent when the operator did not get far enough to write it: a set who
197
197
  validation failed has no `ComponentsApplied` condition for this generation.
198
198
 
199
199
  `Progressing=False` means every Application matches the operator's current desired spec,
200
- Argo CD's latest comparison was of that spec and reports `Healthy` and `Synced`, and no
201
- operation for it is pending, running or failed.
200
+ Argo CD's latest comparison was of that spec and reports `Synced`, no operation for it is
201
+ pending, running or failed, every component is `Healthy` or `Succeeded`, and no
202
+ Application of a component removed from the spec is left.
202
203
  While rollout continues, the reason is `WaveSyncing`, or `WaveSyncFailed` when the last
203
204
  sync of a component's current spec failed. The operator does not retry a failed sync; a
204
205
  later successful sync of that Application in Argo CD clears `WaveSyncFailed` and resumes
205
206
  the rollout. When validation failed and the component being waited on needs the operator
206
- to write its Application, the reason is the `Validated` condition's, such as
207
- `InfraPlaneNotFound`: the operator writes nothing until validation passes.
208
- Updates to already released components are not serialized by wave.
207
+ to write or delete its Application, the reason is the `Validated` condition's, such as
208
+ `InfraPlaneNotFound`: the operator writes and deletes nothing until validation passes.
209
+ Updates follow list order like the first rollout: a component's new spec is written only
210
+ after every component before it has finished on its own current spec. The Applications of
211
+ components removed from the spec are deleted last, after every remaining component has
212
+ finished, one at a time in reverse order; the reason is `ComponentRemoving` meanwhile.
209
213
 
210
214
  `delete_component_set` returns as soon as the delete is accepted. The operator's finalizer
211
215
  then uninstalls the set's charts in reverse order, one at a time, so the object stays in
@@ -175,15 +175,19 @@ A type is absent when the operator did not get far enough to write it: a set who
175
175
  validation failed has no `ComponentsApplied` condition for this generation.
176
176
 
177
177
  `Progressing=False` means every Application matches the operator's current desired spec,
178
- Argo CD's latest comparison was of that spec and reports `Healthy` and `Synced`, and no
179
- operation for it is pending, running or failed.
178
+ Argo CD's latest comparison was of that spec and reports `Synced`, no operation for it is
179
+ pending, running or failed, every component is `Healthy` or `Succeeded`, and no
180
+ Application of a component removed from the spec is left.
180
181
  While rollout continues, the reason is `WaveSyncing`, or `WaveSyncFailed` when the last
181
182
  sync of a component's current spec failed. The operator does not retry a failed sync; a
182
183
  later successful sync of that Application in Argo CD clears `WaveSyncFailed` and resumes
183
184
  the rollout. When validation failed and the component being waited on needs the operator
184
- to write its Application, the reason is the `Validated` condition's, such as
185
- `InfraPlaneNotFound`: the operator writes nothing until validation passes.
186
- Updates to already released components are not serialized by wave.
185
+ to write or delete its Application, the reason is the `Validated` condition's, such as
186
+ `InfraPlaneNotFound`: the operator writes and deletes nothing until validation passes.
187
+ Updates follow list order like the first rollout: a component's new spec is written only
188
+ after every component before it has finished on its own current spec. The Applications of
189
+ components removed from the spec are deleted last, after every remaining component has
190
+ finished, one at a time in reverse order; the reason is `ComponentRemoving` meanwhile.
187
191
 
188
192
  `delete_component_set` returns as soon as the delete is accepted. The operator's finalizer
189
193
  then uninstalls the set's charts in reverse order, one at a time, so the object stays in
@@ -4,7 +4,7 @@ build-backend = "uv_build"
4
4
 
5
5
  [project]
6
6
  name = "ccluster-py"
7
- version = "0.0.10.dev159"
7
+ version = "0.0.10.dev161"
8
8
  description = "Pydantic models and a client for the ccluster.nvidia.com API and its Helm chart catalog"
9
9
  readme = "README.md"
10
10
  license = "Apache-2.0"
@@ -9,7 +9,7 @@ build-backend = "uv_build"
9
9
  # `ccluster` (src/ccluster).
10
10
  name = "ccluster-py"
11
11
  # Placeholder: the release version is the git tag, stamped in by `make python-build`.
12
- version = "0.0.10.dev159"
12
+ version = "0.0.10.dev161"
13
13
  description = "Pydantic models and a client for the ccluster.nvidia.com API and its Helm chart catalog"
14
14
  readme = "README.md"
15
15
  license = "Apache-2.0"
@@ -233,16 +233,6 @@ class Values(BaseModel):
233
233
  PodAnnotations are added verbatim to the annotations of every pod the chart
234
234
  creates, on the same terms as PodLabels.
235
235
  """
236
- domain: str
237
- """
238
- Domain is the DNS zone the deployment's hostname is created in, by external-dns
239
- from the Service. The host is <name>.<namespace>.<domain> unless DeploymentURL
240
- overrides it. Required.
241
- """
242
- deployment_url: Annotated[str | None, Field(alias="deploymentUrl")] = None
243
- """
244
- DeploymentURL replaces the derived hostname with a full one.
245
- """
246
236
  container_port: Annotated[int, Field(alias="containerPort")]
247
237
  """
248
238
  ContainerPort is the port the SSH launcher listens on inside the pod. Required.
@@ -299,11 +299,12 @@ class CCLClient:
299
299
  The caller controls polling and timeouts.
300
300
  Raises kubernetes.dynamic.exceptions.NotFoundError if the set does not exist.
301
301
 
302
- True means every Application matches current desired input and, for tracked
303
- requests, its sync succeeded before a later Healthy/Synced comparison.
304
- The timestamp check is a freshness barrier, not an atomic configuration-version
305
- acknowledgement. Existing Applications enter request tracking on a spec change;
306
- updates across already released components are not yet serialized by wave.
302
+ True means every Application has the operator's current spec, Argo CD's latest
303
+ comparison was of that spec and reports Synced, no operation for it is pending,
304
+ running or failed, every component is Healthy or Succeeded, and no Application of
305
+ a component removed from the spec is left. Updates follow list order, so after an
306
+ edit this stays False until the last changed component has finished and the
307
+ removed components' Applications are gone.
307
308
  """
308
309
  component_set = self.get_component_set(name=name)
309
310
 
@@ -28,9 +28,8 @@ class CCLClusterConfigSpec(BaseModel):
28
28
  ),
29
29
  ]
30
30
  """
31
- domain is the cluster's DNS domain, and its SPIFFE trust domain. Components such
32
- as spire, external-dns and final_stack must be configured with it; the infra-plane
33
- operator verifies that they are. For a cluster registered with a CCLInfraPlane, the
31
+ domain is the cluster's DNS domain, which the infra-plane operator verifies the
32
+ cluster_base components against. For a cluster registered with a CCLInfraPlane, the
34
33
  control-plane operator writes the plane's domain here:
35
34
  "<name>.<namespace>.<base domain>". It must be a lowercase DNS name of at least two
36
35
  labels, each at most 63 characters.
@@ -135,7 +135,7 @@ class ComponentHealthStatus(BaseModel):
135
135
  """
136
136
  name: str
137
137
  """
138
- name identifies the component in spec.components.
138
+ name identifies the component in spec.components, or a component removed from it.
139
139
  """
140
140
  reason: str | None = None
141
141
  """
@@ -144,6 +144,17 @@ class ComponentHealthStatus(BaseModel):
144
144
  """
145
145
 
146
146
 
147
+ class Removal(Enum):
148
+ """
149
+ removal is set for a component no longer in spec.components whose Application is
150
+ still there: DeletePending until the operator deletes the Application, Deleting
151
+ while Argo CD uninstalls its chart.
152
+ """
153
+
154
+ delete_pending = "DeletePending"
155
+ deleting = "Deleting"
156
+
157
+
147
158
  class ComponentSyncStatus(BaseModel):
148
159
  """
149
160
  ComponentSyncStatus reports the latest observed Application state.
@@ -157,7 +168,8 @@ class ComponentSyncStatus(BaseModel):
157
168
  """
158
169
  comparedToMatchesSpec reports whether Argo CD's latest comparison used the
159
170
  desired source, destination and ignoreDifferences. While false, sync does not
160
- establish convergence on the desired configuration.
171
+ establish convergence on the desired configuration. Always false for a removed
172
+ component, which has no desired configuration.
161
173
  """
162
174
  message: str | None = None
163
175
  """
@@ -165,7 +177,14 @@ class ComponentSyncStatus(BaseModel):
165
177
  """
166
178
  name: str
167
179
  """
168
- name identifies the component in spec.components.
180
+ name identifies the component in spec.components, or, with removal set, a
181
+ component removed from it.
182
+ """
183
+ removal: Removal | None = None
184
+ """
185
+ removal is set for a component no longer in spec.components whose Application is
186
+ still there: DeletePending until the operator deletes the Application, Deleting
187
+ while Argo CD uninstalls its chart.
169
188
  """
170
189
  sync: str | None = None
171
190
  """
@@ -254,7 +273,9 @@ class CCLComponentSetStatus(BaseModel):
254
273
  """
255
274
  componentHealthStatuses reports the health of each released component's live
256
275
  objects, as its chart judges it from what Argo CD reports, such as a Job that
257
- succeeded or a Pod in CrashLoopBackOff.
276
+ succeeded or a Pod in CrashLoopBackOff. A component removed from the spec stays
277
+ listed until its Application is gone, judged by the default health function, as
278
+ componentSyncStatuses lists it.
258
279
 
259
280
  It describes the objects running now, whichever spec they were rendered from.
260
281
  Whether they are the current spec's is the same component's entry in
@@ -267,7 +288,9 @@ class CCLComponentSetStatus(BaseModel):
267
288
  ] = None
268
289
  """
269
290
  componentSyncStatuses reports the latest observed Application state for each
270
- released component, judged against the spec at status.observedGeneration.
291
+ released component, judged against the spec at status.observedGeneration. A
292
+ component removed from that spec stays listed, with removal set, until its
293
+ Application is gone.
271
294
  """
272
295
  conditions: list[Condition] | None = None
273
296
  """
@@ -1,108 +0,0 @@
1
- # SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2
- # SPDX-License-Identifier: Apache-2.0
3
- #
4
- # Code generated by `make python-generate`. DO NOT EDIT.
5
-
6
- from __future__ import annotations
7
-
8
- from typing import Annotated
9
-
10
- from pydantic import BaseModel, ConfigDict, Field
11
-
12
-
13
- class Provider(BaseModel):
14
- """
15
- Provider is the DNS provider external-dns talks to.
16
- """
17
-
18
- model_config = ConfigDict(
19
- extra="allow",
20
- populate_by_name=True,
21
- )
22
- name: str | None = None
23
-
24
-
25
- class ServiceAccount(BaseModel):
26
- """
27
- ServiceAccount configures the identity external-dns runs as.
28
- """
29
-
30
- model_config = ConfigDict(
31
- extra="allow",
32
- populate_by_name=True,
33
- )
34
- create: bool | None = None
35
- """
36
- Create is shipped true for standalone testing. Set it false and
37
- pre-create the account, with IRSA for instance, in production.
38
- """
39
- name: str | None = None
40
-
41
-
42
- class Toggle(BaseModel):
43
- """
44
- Toggle is a subchart's enable flag.
45
- """
46
-
47
- model_config = ConfigDict(
48
- extra="allow",
49
- populate_by_name=True,
50
- )
51
- enabled: bool | None = None
52
- """
53
- Enabled turns the feature on.
54
- """
55
-
56
-
57
- class ChartValues(BaseModel):
58
- """
59
- ChartValues are the upstream external-dns values worth setting per cluster.
60
- """
61
-
62
- model_config = ConfigDict(
63
- extra="allow",
64
- populate_by_name=True,
65
- )
66
- provider: Provider | None = None
67
- """
68
- Provider is the DNS provider. The chart ships aws; switch it and supply
69
- the matching credentials through the service account.
70
- """
71
- domain_filters: Annotated[list[str] | None, Field(alias="domainFilters")] = None
72
- """
73
- DomainFilters constrains external-dns to these zones. Unset, it manages
74
- every zone the credentials can reach.
75
- """
76
- txt_owner_id: Annotated[str | None, Field(alias="txtOwnerId")] = None
77
- """
78
- TxtOwnerID identifies this instance's TXT ownership records. Two
79
- clusters sharing a zone must not share it.
80
- """
81
- extra_args: Annotated[list[str] | None, Field(alias="extraArgs")] = None
82
- """
83
- ExtraArgs is where --zone-id-filter goes to constrain Route53 changes
84
- to a single hosted zone.
85
- """
86
- service_account: Annotated[ServiceAccount | None, Field(alias="serviceAccount")] = (
87
- None
88
- )
89
- service_monitor: Annotated[Toggle | None, Field(alias="serviceMonitor")] = None
90
- """
91
- ServiceMonitor requires the kube-prometheus-stack CRDs.
92
- """
93
-
94
-
95
- class Values(BaseModel):
96
- """
97
- Values of the catalogs/cluster_base/external_dns chart, generated from its Go package.
98
- """
99
-
100
- model_config = ConfigDict(
101
- extra="allow",
102
- populate_by_name=True,
103
- )
104
- external_dns: Annotated[ChartValues | None, Field(alias="external-dns")] = None
105
-
106
-
107
- # CHART is the chart directory, relative to the root of the catalog repository.
108
- CHART = "catalogs/cluster_base/external_dns"
@@ -1,70 +0,0 @@
1
- # SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2
- # SPDX-License-Identifier: Apache-2.0
3
- #
4
- # Code generated by `make python-generate`. DO NOT EDIT.
5
-
6
- from __future__ import annotations
7
-
8
- from typing import Annotated, Any
9
-
10
- from pydantic import BaseModel, ConfigDict, Field
11
-
12
-
13
- class Image(BaseModel):
14
- """
15
- Image is the collector image. The catalog chart ships the contrib
16
- distribution, which is the one carrying most exporters.
17
- """
18
-
19
- model_config = ConfigDict(
20
- extra="allow",
21
- populate_by_name=True,
22
- )
23
- repository: str | None = None
24
- tag: str | None = None
25
-
26
-
27
- class ChartValues(BaseModel):
28
- """
29
- ChartValues are the upstream opentelemetry-collector values worth setting per
30
- cluster. Mode and Image are both mandatory in chart 0.130.2 — upstream removed
31
- their defaults to force callers to pick deliberately — so the catalog chart ships
32
- values for them and they are only overridden here.
33
- """
34
-
35
- model_config = ConfigDict(
36
- extra="allow",
37
- populate_by_name=True,
38
- )
39
- mode: str | None = None
40
- """
41
- Mode is the collector's deployment mode: deployment, daemonset,
42
- statefulset or sidecar.
43
- """
44
- image: Image | None = None
45
- config: dict[str, Any] | None = None
46
- """
47
- Config is the collector's own configuration: receivers, processors,
48
- exporters and pipelines. It is untyped because it is OpenTelemetry's
49
- schema rather than the chart's, and it changes independently of both.
50
- The chart ships a stub that accepts OTLP and writes to the debug
51
- exporter; replace it with real exporters.
52
- """
53
-
54
-
55
- class Values(BaseModel):
56
- """
57
- Values of the catalogs/cluster_base/opentelemetry_collector chart, generated from its Go package.
58
- """
59
-
60
- model_config = ConfigDict(
61
- extra="allow",
62
- populate_by_name=True,
63
- )
64
- opentelemetry_collector: Annotated[
65
- ChartValues | None, Field(alias="opentelemetry-collector")
66
- ] = None
67
-
68
-
69
- # CHART is the chart directory, relative to the root of the catalog repository.
70
- CHART = "catalogs/cluster_base/opentelemetry_collector"
@@ -1,148 +0,0 @@
1
- # SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2
- # SPDX-License-Identifier: Apache-2.0
3
- #
4
- # Code generated by `make python-generate`. DO NOT EDIT.
5
-
6
- from __future__ import annotations
7
-
8
- from typing import Annotated
9
-
10
- from pydantic import BaseModel, ConfigDict, Field
11
-
12
-
13
- class CSIDriver(BaseModel):
14
- """
15
- CSIDriver configures the SPIFFE CSI driver.
16
- """
17
-
18
- model_config = ConfigDict(
19
- extra="allow",
20
- populate_by_name=True,
21
- )
22
- enabled: bool | None = None
23
- kubelet_path: Annotated[str | None, Field(alias="kubeletPath")] = None
24
- """
25
- KubeletPath is kubelet's data root, where plugins_registry/ and pods/
26
- live. It is distro-dependent; k3s/k3d uses the upstream default the
27
- chart ships even though its config file lives elsewhere.
28
- """
29
-
30
-
31
- class OIDCDiscoveryProvider(BaseModel):
32
- """
33
- OIDCDiscoveryProvider configures the SPIFFE OIDC discovery provider.
34
- """
35
-
36
- model_config = ConfigDict(
37
- extra="allow",
38
- populate_by_name=True,
39
- )
40
- enabled: bool | None = None
41
-
42
-
43
- class Persistence(BaseModel):
44
- """
45
- Persistence is where the spire-server CA and registration database live.
46
- """
47
-
48
- model_config = ConfigDict(
49
- extra="allow",
50
- populate_by_name=True,
51
- )
52
- type: str | None = None
53
- """
54
- Type is the volume type. The chart ships emptyDir: the StatefulSet's
55
- volumeClaimTemplate exposes no retention policy, so a PVC would survive
56
- teardown and poison the next registration with a stale trust-domain CA.
57
- """
58
-
59
-
60
- class SpireServer(BaseModel):
61
- """
62
- SpireServer configures the spire-server subchart.
63
- """
64
-
65
- model_config = ConfigDict(
66
- extra="allow",
67
- populate_by_name=True,
68
- )
69
- persistence: Persistence | None = None
70
-
71
-
72
- class Toggle(BaseModel):
73
- """
74
- Toggle is a subchart's enable flag.
75
- """
76
-
77
- model_config = ConfigDict(
78
- extra="allow",
79
- populate_by_name=True,
80
- )
81
- enabled: bool | None = None
82
- """
83
- Enabled turns the feature on.
84
- """
85
-
86
-
87
- class Global(BaseModel):
88
- """
89
- Global carries the umbrella chart's global values.
90
- """
91
-
92
- model_config = ConfigDict(
93
- extra="allow",
94
- populate_by_name=True,
95
- )
96
- install_and_upgrade_hooks: Annotated[
97
- Toggle | None, Field(alias="installAndUpgradeHooks")
98
- ] = None
99
- """
100
- InstallAndUpgradeHooks must stay disabled under Argo CD, which renders
101
- with helm template and does not run Helm hooks the way helm install
102
- does. With them enabled the chart's pre-upgrade hook tries to patch a
103
- validating webhook that does not exist yet and blocks the sync forever.
104
- """
105
- delete_hooks: Annotated[Toggle | None, Field(alias="deleteHooks")] = None
106
- """
107
- DeleteHooks is disabled for the same reason.
108
- """
109
-
110
-
111
- class ChartValues(BaseModel):
112
- """
113
- ChartValues are the upstream spire values worth setting per cluster.
114
- """
115
-
116
- model_config = ConfigDict(
117
- extra="allow",
118
- populate_by_name=True,
119
- )
120
- global_: Annotated[Global | None, Field(alias="global")] = None
121
- spire_server: Annotated[SpireServer | None, Field(alias="spire-server")] = None
122
- spiffe_oidc_discovery_provider: Annotated[
123
- OIDCDiscoveryProvider | None, Field(alias="spiffe-oidc-discovery-provider")
124
- ] = None
125
- """
126
- OIDCDiscoveryProvider is only useful when SPIRE JWTs are wired into AWS
127
- IAM through the AWS OIDC provider sync. Standalone, it fails to mount
128
- looking for an externally provided TLS secret.
129
- """
130
- spiffe_csi_driver: Annotated[CSIDriver | None, Field(alias="spiffe-csi-driver")] = (
131
- None
132
- )
133
-
134
-
135
- class Values(BaseModel):
136
- """
137
- Values of the catalogs/cluster_base/spire chart, generated from its Go package.
138
- """
139
-
140
- model_config = ConfigDict(
141
- extra="allow",
142
- populate_by_name=True,
143
- )
144
- spire: ChartValues | None = None
145
-
146
-
147
- # CHART is the chart directory, relative to the root of the catalog repository.
148
- CHART = "catalogs/cluster_base/spire"
@@ -1,43 +0,0 @@
1
- # SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2
- # SPDX-License-Identifier: Apache-2.0
3
- #
4
- # Code generated by `make python-generate`. DO NOT EDIT.
5
-
6
- from __future__ import annotations
7
-
8
- from typing import Annotated
9
-
10
- from pydantic import BaseModel, ConfigDict, Field
11
-
12
-
13
- class ChartValues(BaseModel):
14
- """
15
- ChartValues are the upstream spire-crds values worth setting per cluster.
16
- """
17
-
18
- model_config = ConfigDict(
19
- extra="allow",
20
- populate_by_name=True,
21
- )
22
- annotations: dict[str, str] | None = None
23
- """
24
- Annotations are applied to the CRDs. The chart ships
25
- helm.sh/resource-policy: keep, so uninstalling does not delete every
26
- SPIRE custom resource in the cluster.
27
- """
28
-
29
-
30
- class Values(BaseModel):
31
- """
32
- Values of the catalogs/cluster_base/spire_crds chart, generated from its Go package.
33
- """
34
-
35
- model_config = ConfigDict(
36
- extra="allow",
37
- populate_by_name=True,
38
- )
39
- spire_crds: Annotated[ChartValues | None, Field(alias="spire-crds")] = None
40
-
41
-
42
- # CHART is the chart directory, relative to the root of the catalog repository.
43
- CHART = "catalogs/cluster_base/spire_crds"