typekro 0.27.0 → 0.28.0
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.
- package/dist/.tsbuildinfo +1 -1
- package/dist/core/containers/build.d.ts +2 -46
- package/dist/core/containers/build.d.ts.map +1 -1
- package/dist/core/containers/build.js +219 -134
- package/dist/core/containers/build.js.map +1 -1
- package/dist/core/containers/errors.d.ts +4 -0
- package/dist/core/containers/errors.d.ts.map +1 -1
- package/dist/core/containers/errors.js +14 -1
- package/dist/core/containers/errors.js.map +1 -1
- package/dist/core/containers/exec.d.ts +6 -23
- package/dist/core/containers/exec.d.ts.map +1 -1
- package/dist/core/containers/exec.js +94 -78
- package/dist/core/containers/exec.js.map +1 -1
- package/dist/core/containers/image.d.ts +11 -7
- package/dist/core/containers/image.d.ts.map +1 -1
- package/dist/core/containers/image.js +102 -13
- package/dist/core/containers/image.js.map +1 -1
- package/dist/core/containers/index.d.ts +5 -1
- package/dist/core/containers/index.d.ts.map +1 -1
- package/dist/core/containers/index.js +3 -0
- package/dist/core/containers/index.js.map +1 -1
- package/dist/core/containers/registries/credentials.d.ts +30 -0
- package/dist/core/containers/registries/credentials.d.ts.map +1 -0
- package/dist/core/containers/registries/credentials.js +87 -0
- package/dist/core/containers/registries/credentials.js.map +1 -0
- package/dist/core/containers/registries/docker-session.d.ts +14 -0
- package/dist/core/containers/registries/docker-session.d.ts.map +1 -0
- package/dist/core/containers/registries/docker-session.js +164 -0
- package/dist/core/containers/registries/docker-session.js.map +1 -0
- package/dist/core/containers/registries/ecr.d.ts +2 -3
- package/dist/core/containers/registries/ecr.d.ts.map +1 -1
- package/dist/core/containers/registries/ecr.js +13 -22
- package/dist/core/containers/registries/ecr.js.map +1 -1
- package/dist/core/containers/registries/harbor.d.ts +7 -0
- package/dist/core/containers/registries/harbor.d.ts.map +1 -0
- package/dist/core/containers/registries/harbor.js +9 -0
- package/dist/core/containers/registries/harbor.js.map +1 -0
- package/dist/core/containers/registries/index.d.ts.map +1 -1
- package/dist/core/containers/registries/index.js +5 -0
- package/dist/core/containers/registries/index.js.map +1 -1
- package/dist/core/containers/registries/oci.d.ts +13 -0
- package/dist/core/containers/registries/oci.d.ts.map +1 -0
- package/dist/core/containers/registries/oci.js +68 -0
- package/dist/core/containers/registries/oci.js.map +1 -0
- package/dist/core/containers/registries/orbstack.d.ts +2 -3
- package/dist/core/containers/registries/orbstack.d.ts.map +1 -1
- package/dist/core/containers/registries/orbstack.js +8 -8
- package/dist/core/containers/registries/orbstack.js.map +1 -1
- package/dist/core/containers/registries/types.d.ts +75 -49
- package/dist/core/containers/registries/types.d.ts.map +1 -1
- package/dist/core/containers/registries/types.js +1 -9
- package/dist/core/containers/registries/types.js.map +1 -1
- package/dist/core/deployment/direct-factory.d.ts.map +1 -1
- package/dist/core/deployment/direct-factory.js +15 -8
- package/dist/core/deployment/direct-factory.js.map +1 -1
- package/dist/core/deployment/engine.d.ts.map +1 -1
- package/dist/core/deployment/engine.js +46 -5
- package/dist/core/deployment/engine.js.map +1 -1
- package/dist/core/deployment/kro-factory.d.ts +7 -7
- package/dist/core/deployment/kro-factory.d.ts.map +1 -1
- package/dist/core/deployment/kro-factory.js +148 -60
- package/dist/core/deployment/kro-factory.js.map +1 -1
- package/dist/core/deployment/kro-instance-safety.d.ts +7 -0
- package/dist/core/deployment/kro-instance-safety.d.ts.map +1 -1
- package/dist/core/deployment/kro-instance-safety.js +15 -0
- package/dist/core/deployment/kro-instance-safety.js.map +1 -1
- package/dist/core/deployment/kro-namespace-teardown.d.ts +7 -5
- package/dist/core/deployment/kro-namespace-teardown.d.ts.map +1 -1
- package/dist/core/deployment/kro-namespace-teardown.js +29 -10
- package/dist/core/deployment/kro-namespace-teardown.js.map +1 -1
- package/dist/core/deployment/kro-readiness.d.ts +1 -0
- package/dist/core/deployment/kro-readiness.d.ts.map +1 -1
- package/dist/core/deployment/kro-readiness.js +22 -1
- package/dist/core/deployment/kro-readiness.js.map +1 -1
- package/dist/core/deployment/rollback-manager.d.ts +13 -0
- package/dist/core/deployment/rollback-manager.d.ts.map +1 -1
- package/dist/core/deployment/rollback-manager.js +8 -0
- package/dist/core/deployment/rollback-manager.js.map +1 -1
- package/dist/core/serialization/core.js +3 -1
- package/dist/core/serialization/core.js.map +1 -1
- package/dist/core/serialization/schema.d.ts +2 -2
- package/dist/core/serialization/schema.d.ts.map +1 -1
- package/dist/core/serialization/schema.js +57 -4
- package/dist/core/serialization/schema.js.map +1 -1
- package/dist/core/types/serialization.d.ts +9 -0
- package/dist/core/types/serialization.d.ts.map +1 -1
- package/dist/factories/apisix/types.js +11 -11
- package/dist/factories/apisix/types.js.map +1 -1
- package/dist/factories/caddy/types.js +2 -2
- package/dist/factories/caddy/types.js.map +1 -1
- package/dist/factories/cert-manager/types.js +6 -6
- package/dist/factories/cert-manager/types.js.map +1 -1
- package/dist/factories/cilium/compositions/cilium-bootstrap.js +6 -6
- package/dist/factories/cilium/compositions/cilium-bootstrap.js.map +1 -1
- package/dist/factories/clickhouse/compositions/clickhouse-cluster.js +1 -1
- package/dist/factories/clickhouse/compositions/clickhouse-cluster.js.map +1 -1
- package/dist/factories/clickhouse/types.js +8 -8
- package/dist/factories/clickhouse/types.js.map +1 -1
- package/dist/factories/clickstack/types.js +5 -5
- package/dist/factories/clickstack/types.js.map +1 -1
- package/dist/factories/cnpg/types.js +6 -6
- package/dist/factories/cnpg/types.js.map +1 -1
- package/dist/factories/dagster/types.js +14 -14
- package/dist/factories/dagster/types.js.map +1 -1
- package/dist/factories/external-dns/types.js +3 -3
- package/dist/factories/external-dns/types.js.map +1 -1
- package/dist/factories/harbor/compositions/harbor-installation.d.ts +610 -0
- package/dist/factories/harbor/compositions/harbor-installation.d.ts.map +1 -0
- package/dist/factories/harbor/compositions/harbor-installation.js +348 -0
- package/dist/factories/harbor/compositions/harbor-installation.js.map +1 -0
- package/dist/factories/harbor/compositions/index.d.ts +2 -0
- package/dist/factories/harbor/compositions/index.d.ts.map +1 -0
- package/dist/factories/harbor/compositions/index.js +2 -0
- package/dist/factories/harbor/compositions/index.js.map +1 -0
- package/dist/factories/harbor/index.d.ts +7 -0
- package/dist/factories/harbor/index.d.ts.map +1 -0
- package/dist/factories/harbor/index.js +7 -0
- package/dist/factories/harbor/index.js.map +1 -0
- package/dist/factories/harbor/provider/harbor-api.d.ts +123 -0
- package/dist/factories/harbor/provider/harbor-api.d.ts.map +1 -0
- package/dist/factories/harbor/provider/harbor-api.js +595 -0
- package/dist/factories/harbor/provider/harbor-api.js.map +1 -0
- package/dist/factories/harbor/provider/index.d.ts +4 -0
- package/dist/factories/harbor/provider/index.d.ts.map +1 -0
- package/dist/factories/harbor/provider/index.js +4 -0
- package/dist/factories/harbor/provider/index.js.map +1 -0
- package/dist/factories/harbor/provider/kubernetes-secret-store.d.ts +12 -0
- package/dist/factories/harbor/provider/kubernetes-secret-store.d.ts.map +1 -0
- package/dist/factories/harbor/provider/kubernetes-secret-store.js +81 -0
- package/dist/factories/harbor/provider/kubernetes-secret-store.js.map +1 -0
- package/dist/factories/harbor/provider/rook-s3-binding.d.ts +30 -0
- package/dist/factories/harbor/provider/rook-s3-binding.d.ts.map +1 -0
- package/dist/factories/harbor/provider/rook-s3-binding.js +74 -0
- package/dist/factories/harbor/provider/rook-s3-binding.js.map +1 -0
- package/dist/factories/harbor/resources/helm.d.ts +12 -0
- package/dist/factories/harbor/resources/helm.d.ts.map +1 -0
- package/dist/factories/harbor/resources/helm.js +46 -0
- package/dist/factories/harbor/resources/helm.js.map +1 -0
- package/dist/factories/harbor/resources/index.d.ts +2 -0
- package/dist/factories/harbor/resources/index.d.ts.map +1 -0
- package/dist/factories/harbor/resources/index.js +2 -0
- package/dist/factories/harbor/resources/index.js.map +1 -0
- package/dist/factories/harbor/types.d.ts +319 -0
- package/dist/factories/harbor/types.d.ts.map +1 -0
- package/dist/factories/harbor/types.js +252 -0
- package/dist/factories/harbor/types.js.map +1 -0
- package/dist/factories/harbor/utils/helm-values-mapper.d.ts +8 -0
- package/dist/factories/harbor/utils/helm-values-mapper.d.ts.map +1 -0
- package/dist/factories/harbor/utils/helm-values-mapper.js +322 -0
- package/dist/factories/harbor/utils/helm-values-mapper.js.map +1 -0
- package/dist/factories/harbor/utils/index.d.ts +2 -0
- package/dist/factories/harbor/utils/index.d.ts.map +1 -0
- package/dist/factories/harbor/utils/index.js +2 -0
- package/dist/factories/harbor/utils/index.js.map +1 -0
- package/dist/factories/helm/helm-release.d.ts +10 -0
- package/dist/factories/helm/helm-release.d.ts.map +1 -1
- package/dist/factories/helm/helm-release.js +30 -2
- package/dist/factories/helm/helm-release.js.map +1 -1
- package/dist/factories/helm/readiness-evaluators.d.ts.map +1 -1
- package/dist/factories/helm/readiness-evaluators.js +26 -1
- package/dist/factories/helm/readiness-evaluators.js.map +1 -1
- package/dist/factories/helm/types.d.ts +5 -0
- package/dist/factories/helm/types.d.ts.map +1 -1
- package/dist/factories/index.d.ts +1 -0
- package/dist/factories/index.d.ts.map +1 -1
- package/dist/factories/index.js +4 -0
- package/dist/factories/index.js.map +1 -1
- package/dist/factories/inngest/types.js +8 -8
- package/dist/factories/inngest/types.js.map +1 -1
- package/dist/factories/kubernetes/networking/network-policy.d.ts.map +1 -1
- package/dist/factories/kubernetes/networking/network-policy.js +34 -1
- package/dist/factories/kubernetes/networking/network-policy.js.map +1 -1
- package/dist/factories/ory/types.js +40 -40
- package/dist/factories/ory/types.js.map +1 -1
- package/dist/factories/rook/compositions/index.d.ts +1 -0
- package/dist/factories/rook/compositions/index.d.ts.map +1 -1
- package/dist/factories/rook/compositions/index.js +1 -0
- package/dist/factories/rook/compositions/index.js.map +1 -1
- package/dist/factories/rook/compositions/rook-ceph-operator-installation.d.ts +2 -0
- package/dist/factories/rook/compositions/rook-ceph-operator-installation.d.ts.map +1 -1
- package/dist/factories/rook/compositions/rook-ceph-operator-installation.js +17 -0
- package/dist/factories/rook/compositions/rook-ceph-operator-installation.js.map +1 -1
- package/dist/factories/rook/compositions/rook-ceph-platform.d.ts +181 -0
- package/dist/factories/rook/compositions/rook-ceph-platform.d.ts.map +1 -0
- package/dist/factories/rook/compositions/rook-ceph-platform.js +388 -0
- package/dist/factories/rook/compositions/rook-ceph-platform.js.map +1 -0
- package/dist/factories/rook/resources/bucket-storage-class.d.ts.map +1 -1
- package/dist/factories/rook/resources/bucket-storage-class.js +4 -1
- package/dist/factories/rook/resources/bucket-storage-class.js.map +1 -1
- package/dist/factories/rook/resources/ceph-object-store.d.ts.map +1 -1
- package/dist/factories/rook/resources/ceph-object-store.js +2 -0
- package/dist/factories/rook/resources/ceph-object-store.js.map +1 -1
- package/dist/factories/rook/resources/helm.d.ts +4 -0
- package/dist/factories/rook/resources/helm.d.ts.map +1 -1
- package/dist/factories/rook/resources/helm.js +22 -0
- package/dist/factories/rook/resources/helm.js.map +1 -1
- package/dist/factories/rook/types.d.ts +180 -1
- package/dist/factories/rook/types.d.ts.map +1 -1
- package/dist/factories/rook/types.js +100 -9
- package/dist/factories/rook/types.js.map +1 -1
- package/dist/factories/rook/utils/helm-values-mapper.d.ts +34 -1
- package/dist/factories/rook/utils/helm-values-mapper.d.ts.map +1 -1
- package/dist/factories/rook/utils/helm-values-mapper.js +207 -0
- package/dist/factories/rook/utils/helm-values-mapper.js.map +1 -1
- package/dist/factories/searxng/types.js +2 -2
- package/dist/factories/searxng/types.js.map +1 -1
- package/dist/factories/valkey/types.js +4 -4
- package/dist/factories/valkey/types.js.map +1 -1
- package/dist/factories/webapp/types.js +8 -8
- package/dist/factories/webapp/types.js.map +1 -1
- package/package.json +6 -1
|
@@ -16,6 +16,7 @@ export declare const RookCephOperatorBootstrapConfigSchema: import("arktype/inte
|
|
|
16
16
|
version?: string;
|
|
17
17
|
repositoryName?: string;
|
|
18
18
|
repositoryNamespace?: string;
|
|
19
|
+
repositoryNamespaceOwnership?: "external" | "owned";
|
|
19
20
|
repositoryUrl?: string;
|
|
20
21
|
logLevel?: "ERROR" | "WARNING" | "INFO" | "DEBUG";
|
|
21
22
|
enableOBCWatchOperatorNamespace?: boolean;
|
|
@@ -128,6 +129,8 @@ export declare const CephObjectStoreConfigSchema: import("arktype/internal/varia
|
|
|
128
129
|
};
|
|
129
130
|
namespace?: string;
|
|
130
131
|
id?: string;
|
|
132
|
+
labels?: Record<string, string>;
|
|
133
|
+
annotations?: Record<string, string>;
|
|
131
134
|
}, {}>;
|
|
132
135
|
export type CephObjectStoreConfig = typeof CephObjectStoreConfigSchema.infer;
|
|
133
136
|
/** Status condition emitted by Rook CRDs. */
|
|
@@ -239,7 +242,7 @@ export declare const RookBucketStorageClassConfigSchema: import("arktype/interna
|
|
|
239
242
|
name: string;
|
|
240
243
|
objectStoreName: string;
|
|
241
244
|
objectStoreNamespace: string;
|
|
242
|
-
operatorNamespace
|
|
245
|
+
operatorNamespace?: string;
|
|
243
246
|
provisionerNamePrefix?: string;
|
|
244
247
|
reclaimPolicy?: "Delete" | "Retain";
|
|
245
248
|
existingBucketName?: string;
|
|
@@ -294,6 +297,182 @@ export declare const RookCephHelmReleaseConfigSchema: import("arktype/internal/v
|
|
|
294
297
|
export type RookCephHelmReleaseConfig = Omit<typeof RookCephHelmReleaseConfigSchema.infer, 'values'> & {
|
|
295
298
|
values?: TypeKroChartValue<Record<string, unknown>>;
|
|
296
299
|
};
|
|
300
|
+
/** Honest one-node development profile. Data is not highly available. */
|
|
301
|
+
export declare const RookCephSingleNodePlatformConfigSchema: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
302
|
+
profile: "single-node-development";
|
|
303
|
+
name: string;
|
|
304
|
+
storageClassName: string;
|
|
305
|
+
storageSize?: string;
|
|
306
|
+
namespace?: string;
|
|
307
|
+
operatorNamespace?: string;
|
|
308
|
+
version?: string;
|
|
309
|
+
repositoryName?: string;
|
|
310
|
+
repositoryNamespace?: string;
|
|
311
|
+
repositoryNamespaceOwnership?: "external" | "owned";
|
|
312
|
+
repositoryUrl?: string;
|
|
313
|
+
objectStoreName?: string;
|
|
314
|
+
bucketStorageClassName?: string;
|
|
315
|
+
cephImageRepository?: string;
|
|
316
|
+
cephImageTag?: string;
|
|
317
|
+
values?: Record<string, unknown>;
|
|
318
|
+
}, {}>;
|
|
319
|
+
export type RookCephSingleNodePlatformConfig = typeof RookCephSingleNodePlatformConfigSchema.infer;
|
|
320
|
+
/**
|
|
321
|
+
* One-node cluster profile that consumes a separately owned Rook operator.
|
|
322
|
+
*
|
|
323
|
+
* This is the safe shape for shared platform clusters: the composition owns
|
|
324
|
+
* only its Ceph cluster namespace, chart release, object store, and bucket
|
|
325
|
+
* StorageClass. It observes but never adopts or deletes the operator.
|
|
326
|
+
*/
|
|
327
|
+
export declare const RookCephExternalOperatorSingleNodePlatformConfigSchema: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
328
|
+
profile: "single-node-development";
|
|
329
|
+
operatorNamespace: string;
|
|
330
|
+
name: string;
|
|
331
|
+
storageClassName: string;
|
|
332
|
+
operatorDeploymentName?: string;
|
|
333
|
+
storageSize?: string;
|
|
334
|
+
namespace?: string;
|
|
335
|
+
version?: string;
|
|
336
|
+
repositoryName?: string;
|
|
337
|
+
repositoryNamespace?: string;
|
|
338
|
+
repositoryNamespaceOwnership?: "external" | "owned";
|
|
339
|
+
repositoryUrl?: string;
|
|
340
|
+
objectStoreName?: string;
|
|
341
|
+
bucketStorageClassName?: string;
|
|
342
|
+
cephImageRepository?: string;
|
|
343
|
+
cephImageTag?: string;
|
|
344
|
+
values?: Record<string, unknown>;
|
|
345
|
+
}, {}>;
|
|
346
|
+
export type RookCephExternalOperatorSingleNodePlatformConfig = typeof RookCephExternalOperatorSingleNodePlatformConfigSchema.infer;
|
|
347
|
+
/** Production profile with explicit availability and operational decisions. */
|
|
348
|
+
export declare const RookCephProductionPlatformConfigSchema: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
349
|
+
profile: "production";
|
|
350
|
+
storageSize: string;
|
|
351
|
+
osdCount: number;
|
|
352
|
+
monCount: number;
|
|
353
|
+
mgrCount: number;
|
|
354
|
+
poolReplicas: number;
|
|
355
|
+
failureDomain: string;
|
|
356
|
+
portableVolumes: boolean;
|
|
357
|
+
resources: {
|
|
358
|
+
mon: {
|
|
359
|
+
requests?: {
|
|
360
|
+
cpu?: string;
|
|
361
|
+
memory?: string;
|
|
362
|
+
};
|
|
363
|
+
limits?: {
|
|
364
|
+
cpu?: string;
|
|
365
|
+
memory?: string;
|
|
366
|
+
};
|
|
367
|
+
};
|
|
368
|
+
mgr: {
|
|
369
|
+
requests?: {
|
|
370
|
+
cpu?: string;
|
|
371
|
+
memory?: string;
|
|
372
|
+
};
|
|
373
|
+
limits?: {
|
|
374
|
+
cpu?: string;
|
|
375
|
+
memory?: string;
|
|
376
|
+
};
|
|
377
|
+
};
|
|
378
|
+
osd: {
|
|
379
|
+
requests?: {
|
|
380
|
+
cpu?: string;
|
|
381
|
+
memory?: string;
|
|
382
|
+
};
|
|
383
|
+
limits?: {
|
|
384
|
+
cpu?: string;
|
|
385
|
+
memory?: string;
|
|
386
|
+
};
|
|
387
|
+
};
|
|
388
|
+
prepareosd: {
|
|
389
|
+
requests?: {
|
|
390
|
+
cpu?: string;
|
|
391
|
+
memory?: string;
|
|
392
|
+
};
|
|
393
|
+
limits?: {
|
|
394
|
+
cpu?: string;
|
|
395
|
+
memory?: string;
|
|
396
|
+
};
|
|
397
|
+
};
|
|
398
|
+
rgw: {
|
|
399
|
+
requests?: {
|
|
400
|
+
cpu?: string;
|
|
401
|
+
memory?: string;
|
|
402
|
+
};
|
|
403
|
+
limits?: {
|
|
404
|
+
cpu?: string;
|
|
405
|
+
memory?: string;
|
|
406
|
+
};
|
|
407
|
+
};
|
|
408
|
+
};
|
|
409
|
+
monitoring: {
|
|
410
|
+
enabled: true;
|
|
411
|
+
createPrometheusRules: boolean;
|
|
412
|
+
};
|
|
413
|
+
disruptionManagement: {
|
|
414
|
+
managePodBudgets: true;
|
|
415
|
+
osdMaintenanceTimeoutMinutes?: number;
|
|
416
|
+
};
|
|
417
|
+
backup: {
|
|
418
|
+
strategy: "external-s3-replication" | "ceph-multisite" | "documented-manual";
|
|
419
|
+
recoveryPointObjective: string;
|
|
420
|
+
recoveryTimeObjective: string;
|
|
421
|
+
};
|
|
422
|
+
name: string;
|
|
423
|
+
storageClassName: string;
|
|
424
|
+
namespace?: string;
|
|
425
|
+
operatorNamespace?: string;
|
|
426
|
+
version?: string;
|
|
427
|
+
repositoryName?: string;
|
|
428
|
+
repositoryNamespace?: string;
|
|
429
|
+
repositoryNamespaceOwnership?: "external" | "owned";
|
|
430
|
+
repositoryUrl?: string;
|
|
431
|
+
objectStoreName?: string;
|
|
432
|
+
bucketStorageClassName?: string;
|
|
433
|
+
cephImageRepository?: string;
|
|
434
|
+
cephImageTag?: string;
|
|
435
|
+
values?: Record<string, unknown>;
|
|
436
|
+
}, {}>;
|
|
437
|
+
export type RookCephProductionPlatformConfig = typeof RookCephProductionPlatformConfigSchema.infer;
|
|
438
|
+
/** Observable official cluster-chart platform status. */
|
|
439
|
+
export declare const RookCephPlatformStatusSchema: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
440
|
+
ready: boolean;
|
|
441
|
+
failed: boolean;
|
|
442
|
+
phase: "Ready" | "Failed" | "Installing";
|
|
443
|
+
operatorReady: boolean;
|
|
444
|
+
clusterReady: boolean;
|
|
445
|
+
objectStoreReady: boolean;
|
|
446
|
+
storageClassReady: boolean;
|
|
447
|
+
cephHealth: string;
|
|
448
|
+
endpoint: string;
|
|
449
|
+
bucketStorageClassName: string;
|
|
450
|
+
version: string;
|
|
451
|
+
cephVersion: string;
|
|
452
|
+
profile: "production" | "single-node-development";
|
|
453
|
+
}, {}>;
|
|
454
|
+
export type RookCephPlatformStatus = typeof RookCephPlatformStatusSchema.infer;
|
|
455
|
+
/** Official `rook-ceph-cluster` chart release configuration. */
|
|
456
|
+
export declare const RookCephClusterHelmReleaseConfigSchema: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
457
|
+
name: string;
|
|
458
|
+
namespace?: string;
|
|
459
|
+
version?: string;
|
|
460
|
+
repositoryName?: string;
|
|
461
|
+
repositoryNamespace?: string;
|
|
462
|
+
repositoryUrl?: string;
|
|
463
|
+
values?: Record<string, unknown>;
|
|
464
|
+
id?: string;
|
|
465
|
+
}, {}>;
|
|
466
|
+
export type RookCephClusterHelmReleaseConfig = RookCephHelmReleaseConfig;
|
|
467
|
+
export interface CephClusterStatus {
|
|
468
|
+
phase?: string;
|
|
469
|
+
message?: string;
|
|
470
|
+
observedGeneration?: number;
|
|
471
|
+
ceph?: {
|
|
472
|
+
health?: string;
|
|
473
|
+
};
|
|
474
|
+
conditions?: RookCondition[];
|
|
475
|
+
}
|
|
297
476
|
/** Shared HelmRepository singleton spec. */
|
|
298
477
|
export declare const RookCephHelmRepositorySingletonSpecSchema: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
299
478
|
name: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/factories/rook/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAqDpE,6CAA6C;AAC7C,eAAO,MAAM,qCAAqC
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/factories/rook/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAqDpE,6CAA6C;AAC7C,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;MAchD,CAAC;AAEH,MAAM,MAAM,+BAA+B,GAAG,OAAO,qCAAqC,CAAC,KAAK,CAAC;AAEjG,iDAAiD;AACjD,eAAO,MAAM,qCAAqC;;;;;MAKhD,CAAC;AAEH,MAAM,MAAM,+BAA+B,GAAG,OAAO,qCAAqC,CAAC,KAAK,CAAC;AAEjG,yEAAyE;AACzE,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;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AAC"}
|
|
@@ -14,15 +14,15 @@ const resourceRequirementsSchemaShape = {
|
|
|
14
14
|
'limits?': { 'cpu?': 'string', 'memory?': 'string' },
|
|
15
15
|
};
|
|
16
16
|
const replicatedPoolSchemaShape = {
|
|
17
|
-
size: 'number',
|
|
17
|
+
size: 'number.integer',
|
|
18
18
|
'requireSafeReplicaSize?': 'boolean',
|
|
19
19
|
'targetSizeRatio?': 'number',
|
|
20
|
-
'replicasPerFailureDomain?': 'number',
|
|
20
|
+
'replicasPerFailureDomain?': 'number.integer',
|
|
21
21
|
'subFailureDomain?': 'string',
|
|
22
22
|
};
|
|
23
23
|
const erasureCodedPoolSchemaShape = {
|
|
24
|
-
dataChunks: 'number',
|
|
25
|
-
codingChunks: 'number',
|
|
24
|
+
dataChunks: 'number.integer',
|
|
25
|
+
codingChunks: 'number.integer',
|
|
26
26
|
'algorithm?': '"isa" | "jerasure"',
|
|
27
27
|
'stripeUnit?': '"4Ki" | "16Ki" | "64Ki" | "256Ki" | "1Mi"',
|
|
28
28
|
};
|
|
@@ -61,6 +61,7 @@ export const RookCephOperatorBootstrapConfigSchema = type({
|
|
|
61
61
|
'version?': 'string',
|
|
62
62
|
'repositoryName?': 'string',
|
|
63
63
|
'repositoryNamespace?': 'string',
|
|
64
|
+
'repositoryNamespaceOwnership?': '"owned" | "external"',
|
|
64
65
|
'repositoryUrl?': 'string',
|
|
65
66
|
'logLevel?': '"ERROR" | "WARNING" | "INFO" | "DEBUG"',
|
|
66
67
|
'enableOBCWatchOperatorNamespace?': 'boolean',
|
|
@@ -81,6 +82,8 @@ export const CephObjectStoreConfigSchema = type({
|
|
|
81
82
|
name: 'string',
|
|
82
83
|
'namespace?': 'string',
|
|
83
84
|
'id?': 'string',
|
|
85
|
+
'labels?': 'Record<string, string>',
|
|
86
|
+
'annotations?': 'Record<string, string>',
|
|
84
87
|
spec: {
|
|
85
88
|
metadataPool: metadataPoolSchema,
|
|
86
89
|
dataPool: dataPoolSchema,
|
|
@@ -109,7 +112,7 @@ export const CephObjectStoreConfigSchema = type({
|
|
|
109
112
|
'hosting?': {
|
|
110
113
|
'advertiseEndpoint?': {
|
|
111
114
|
dnsName: 'string',
|
|
112
|
-
port: 'number',
|
|
115
|
+
port: 'number.integer',
|
|
113
116
|
useTls: 'boolean',
|
|
114
117
|
},
|
|
115
118
|
'dnsNames?': 'string[]',
|
|
@@ -143,9 +146,9 @@ export const CephObjectStoreUserConfigSchema = type({
|
|
|
143
146
|
'ratelimit?': '"*" | "read" | "write" | "read, write"',
|
|
144
147
|
},
|
|
145
148
|
'quotas?': {
|
|
146
|
-
'maxBuckets?': 'number',
|
|
149
|
+
'maxBuckets?': 'number.integer',
|
|
147
150
|
'maxSize?': 'string',
|
|
148
|
-
'maxObjects?': 'number',
|
|
151
|
+
'maxObjects?': 'number.integer',
|
|
149
152
|
},
|
|
150
153
|
'keys?': type({
|
|
151
154
|
accessKeyRef: secretKeySelectorSchemaShape,
|
|
@@ -178,8 +181,8 @@ export const RookBucketStorageClassConfigSchema = type({
|
|
|
178
181
|
name: 'string',
|
|
179
182
|
objectStoreName: 'string',
|
|
180
183
|
objectStoreNamespace: 'string',
|
|
181
|
-
/**
|
|
182
|
-
operatorNamespace: 'string',
|
|
184
|
+
/** @deprecated Kept for source compatibility; Rook's default provisioner identity uses the cluster namespace. */
|
|
185
|
+
'operatorNamespace?': 'string',
|
|
183
186
|
'provisionerNamePrefix?': 'string',
|
|
184
187
|
'reclaimPolicy?': '"Delete" | "Retain"',
|
|
185
188
|
'existingBucketName?': 'string',
|
|
@@ -228,6 +231,94 @@ export const RookCephHelmReleaseConfigSchema = type({
|
|
|
228
231
|
'values?': 'Record<string, unknown>',
|
|
229
232
|
'id?': 'string',
|
|
230
233
|
});
|
|
234
|
+
const cephDaemonResourcesSchemaShape = {
|
|
235
|
+
mon: resourceRequirementsSchemaShape,
|
|
236
|
+
mgr: resourceRequirementsSchemaShape,
|
|
237
|
+
osd: resourceRequirementsSchemaShape,
|
|
238
|
+
prepareosd: resourceRequirementsSchemaShape,
|
|
239
|
+
rgw: resourceRequirementsSchemaShape,
|
|
240
|
+
};
|
|
241
|
+
const rookCephClusterCommonSchemaShape = {
|
|
242
|
+
name: 'string',
|
|
243
|
+
'namespace?': 'string',
|
|
244
|
+
'operatorNamespace?': 'string',
|
|
245
|
+
'version?': 'string',
|
|
246
|
+
'repositoryName?': 'string',
|
|
247
|
+
'repositoryNamespace?': 'string',
|
|
248
|
+
'repositoryNamespaceOwnership?': '"owned" | "external"',
|
|
249
|
+
'repositoryUrl?': 'string',
|
|
250
|
+
storageClassName: 'string',
|
|
251
|
+
'objectStoreName?': 'string',
|
|
252
|
+
'bucketStorageClassName?': 'string',
|
|
253
|
+
'cephImageRepository?': 'string',
|
|
254
|
+
'cephImageTag?': 'string',
|
|
255
|
+
'values?': 'Record<string, unknown>',
|
|
256
|
+
};
|
|
257
|
+
/** Honest one-node development profile. Data is not highly available. */
|
|
258
|
+
export const RookCephSingleNodePlatformConfigSchema = type({
|
|
259
|
+
...rookCephClusterCommonSchemaShape,
|
|
260
|
+
profile: '"single-node-development"',
|
|
261
|
+
'storageSize?': 'string',
|
|
262
|
+
});
|
|
263
|
+
const { 'operatorNamespace?': _optionalOperatorNamespace, ...rookCephExternalOperatorClusterCommonSchemaShape } = rookCephClusterCommonSchemaShape;
|
|
264
|
+
/**
|
|
265
|
+
* One-node cluster profile that consumes a separately owned Rook operator.
|
|
266
|
+
*
|
|
267
|
+
* This is the safe shape for shared platform clusters: the composition owns
|
|
268
|
+
* only its Ceph cluster namespace, chart release, object store, and bucket
|
|
269
|
+
* StorageClass. It observes but never adopts or deletes the operator.
|
|
270
|
+
*/
|
|
271
|
+
export const RookCephExternalOperatorSingleNodePlatformConfigSchema = type({
|
|
272
|
+
...rookCephExternalOperatorClusterCommonSchemaShape,
|
|
273
|
+
profile: '"single-node-development"',
|
|
274
|
+
operatorNamespace: 'string',
|
|
275
|
+
'operatorDeploymentName?': 'string',
|
|
276
|
+
'storageSize?': 'string',
|
|
277
|
+
});
|
|
278
|
+
/** Production profile with explicit availability and operational decisions. */
|
|
279
|
+
export const RookCephProductionPlatformConfigSchema = type({
|
|
280
|
+
...rookCephClusterCommonSchemaShape,
|
|
281
|
+
profile: '"production"',
|
|
282
|
+
storageSize: 'string',
|
|
283
|
+
osdCount: 'number.integer >= 3',
|
|
284
|
+
monCount: 'number.integer >= 3',
|
|
285
|
+
mgrCount: 'number.integer >= 2',
|
|
286
|
+
poolReplicas: 'number.integer >= 3',
|
|
287
|
+
failureDomain: 'string',
|
|
288
|
+
portableVolumes: 'boolean',
|
|
289
|
+
resources: cephDaemonResourcesSchemaShape,
|
|
290
|
+
monitoring: {
|
|
291
|
+
enabled: 'true',
|
|
292
|
+
createPrometheusRules: 'boolean',
|
|
293
|
+
},
|
|
294
|
+
disruptionManagement: {
|
|
295
|
+
managePodBudgets: 'true',
|
|
296
|
+
'osdMaintenanceTimeoutMinutes?': 'number.integer >= 1',
|
|
297
|
+
},
|
|
298
|
+
backup: {
|
|
299
|
+
strategy: '"external-s3-replication" | "ceph-multisite" | "documented-manual"',
|
|
300
|
+
recoveryPointObjective: 'string',
|
|
301
|
+
recoveryTimeObjective: 'string',
|
|
302
|
+
},
|
|
303
|
+
});
|
|
304
|
+
/** Observable official cluster-chart platform status. */
|
|
305
|
+
export const RookCephPlatformStatusSchema = type({
|
|
306
|
+
ready: 'boolean',
|
|
307
|
+
failed: 'boolean',
|
|
308
|
+
phase: '"Installing" | "Ready" | "Failed"',
|
|
309
|
+
operatorReady: 'boolean',
|
|
310
|
+
clusterReady: 'boolean',
|
|
311
|
+
objectStoreReady: 'boolean',
|
|
312
|
+
storageClassReady: 'boolean',
|
|
313
|
+
cephHealth: 'string',
|
|
314
|
+
endpoint: 'string',
|
|
315
|
+
bucketStorageClassName: 'string',
|
|
316
|
+
version: 'string',
|
|
317
|
+
cephVersion: 'string',
|
|
318
|
+
profile: '"single-node-development" | "production"',
|
|
319
|
+
});
|
|
320
|
+
/** Official `rook-ceph-cluster` chart release configuration. */
|
|
321
|
+
export const RookCephClusterHelmReleaseConfigSchema = RookCephHelmReleaseConfigSchema;
|
|
231
322
|
/** Shared HelmRepository singleton spec. */
|
|
232
323
|
export const RookCephHelmRepositorySingletonSpecSchema = type({
|
|
233
324
|
name: 'string',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/factories/rook/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAG/B,MAAM,+BAA+B,GAAG;IACtC,WAAW,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE;IACtD,SAAS,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE;CAC5C,CAAC;AAEX,MAAM,yBAAyB,GAAG;IAChC,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/factories/rook/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAG/B,MAAM,+BAA+B,GAAG;IACtC,WAAW,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE;IACtD,SAAS,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE;CAC5C,CAAC;AAEX,MAAM,yBAAyB,GAAG;IAChC,IAAI,EAAE,gBAAgB;IACtB,yBAAyB,EAAE,SAAS;IACpC,kBAAkB,EAAE,QAAQ;IAC5B,2BAA2B,EAAE,gBAAgB;IAC7C,mBAAmB,EAAE,QAAQ;CACrB,CAAC;AAEX,MAAM,2BAA2B,GAAG;IAClC,UAAU,EAAE,gBAAgB;IAC5B,YAAY,EAAE,gBAAgB;IAC9B,YAAY,EAAE,oBAAoB;IAClC,aAAa,EAAE,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;IAC5B,UAAU,EAAE,QAAQ;IACpB,QAAQ,EAAE,QAAQ;IAClB,sBAAsB,EAAE,QAAQ;IAChC,OAAO,EAAE,QAAQ;IACjB,WAAW,EAAE,QAAQ;IACrB,OAAO,EAAE,0CAA0C;CACpD,CAAC,CAAC;AAIH,gEAAgE;AAChE,MAAM,CAAC,MAAM,sCAAsC,GAAG,+BAA+B,CAAC;AAWtF,4CAA4C;AAC5C,MAAM,CAAC,MAAM,yCAAyC,GAAG,IAAI,CAAC;IAC5D,IAAI,EAAE,QAAQ;IACd,SAAS,EAAE,QAAQ;IACnB,GAAG,EAAE,QAAQ;CACd,CAAC,CAAC;AAEH,8CAA8C;AAC9C,MAAM,CAAC,MAAM,2CAA2C,GAAG,IAAI,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/** Map typed bootstrap options into official `rook-ceph` chart values. */
|
|
2
2
|
import { type ValuesMergeExpression } from '../../../core/aspects/values-merge.js';
|
|
3
|
-
import type { RookCephOperatorBootstrapConfig } from '../types.js';
|
|
3
|
+
import type { CephObjectStoreConfig, RookCephOperatorBootstrapConfig, RookCephProductionPlatformConfig, RookCephSingleNodePlatformConfig } from '../types.js';
|
|
4
4
|
export interface RookCephOperatorHelmValues {
|
|
5
5
|
logLevel?: 'ERROR' | 'WARNING' | 'INFO' | 'DEBUG';
|
|
6
6
|
enableOBCWatchOperatorNamespace?: boolean;
|
|
@@ -29,5 +29,38 @@ type RookCephOperatorHelmValuesInput = {
|
|
|
29
29
|
* not lose user overrides or stringify graph markers.
|
|
30
30
|
*/
|
|
31
31
|
export declare function mapRookCephOperatorConfigToHelmValues(config: RookCephOperatorHelmValuesInput): RookCephOperatorMappedHelmValues;
|
|
32
|
+
interface RookCephClusterChartValues {
|
|
33
|
+
operatorNamespace: string;
|
|
34
|
+
clusterName: string;
|
|
35
|
+
cephImage: {
|
|
36
|
+
repository: string;
|
|
37
|
+
tag: string;
|
|
38
|
+
allowUnsupported: false;
|
|
39
|
+
};
|
|
40
|
+
monitoring: {
|
|
41
|
+
enabled: boolean;
|
|
42
|
+
createPrometheusRules: boolean;
|
|
43
|
+
};
|
|
44
|
+
toolbox: {
|
|
45
|
+
enabled: false;
|
|
46
|
+
};
|
|
47
|
+
cephClusterMetadata: {
|
|
48
|
+
labels: Record<string, string>;
|
|
49
|
+
annotations: Record<string, string>;
|
|
50
|
+
};
|
|
51
|
+
cephClusterSpec: Record<string, unknown>;
|
|
52
|
+
cephBlockPools: [];
|
|
53
|
+
cephFileSystems: [];
|
|
54
|
+
cephObjectStores: Record<string, unknown>[];
|
|
55
|
+
[key: string]: unknown;
|
|
56
|
+
}
|
|
57
|
+
/** Canonical single-node RGW spec shared by chart and composition materialization. */
|
|
58
|
+
export declare function mapRookCephSingleNodeObjectStoreSpec(_config: RookCephSingleNodePlatformConfig): CephObjectStoreConfig['spec'];
|
|
59
|
+
/** Canonical production RGW spec shared by chart and composition materialization. */
|
|
60
|
+
export declare function mapRookCephProductionObjectStoreSpec(config: RookCephProductionPlatformConfig): CephObjectStoreConfig['spec'];
|
|
61
|
+
/** Official chart values for the explicit non-HA, one-node development profile. */
|
|
62
|
+
export declare function mapRookCephSingleNodePlatformToHelmValues(config: RookCephSingleNodePlatformConfig, storageSize?: string): RookCephClusterChartValues | ValuesMergeExpression;
|
|
63
|
+
/** Official chart values for an explicit multi-node production profile. */
|
|
64
|
+
export declare function mapRookCephProductionPlatformToHelmValues(config: RookCephProductionPlatformConfig): RookCephClusterChartValues | ValuesMergeExpression;
|
|
32
65
|
export {};
|
|
33
66
|
//# sourceMappingURL=helm-values-mapper.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helm-values-mapper.d.ts","sourceRoot":"","sources":["../../../../src/factories/rook/utils/helm-values-mapper.ts"],"names":[],"mappings":"AAAA,0EAA0E;AAE1E,OAAO,EAGL,KAAK,qBAAqB,EAC3B,MAAM,uCAAuC,CAAC;AAE/C,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"helm-values-mapper.d.ts","sourceRoot":"","sources":["../../../../src/factories/rook/utils/helm-values-mapper.ts"],"names":[],"mappings":"AAAA,0EAA0E;AAE1E,OAAO,EAGL,KAAK,qBAAqB,EAC3B,MAAM,uCAAuC,CAAC;AAE/C,OAAO,KAAK,EACV,qBAAqB,EACrB,+BAA+B,EAC/B,gCAAgC,EAChC,gCAAgC,EACjC,MAAM,aAAa,CAAC;AAErB,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,MAAM,GAAG,OAAO,CAAC;IAClD,+BAA+B,CAAC,EAAE,OAAO,CAAC;IAC1C,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,8BAA8B,CAAC,EAAE,MAAM,CAAC;IACxC,SAAS,CAAC,EAAE;QACV,QAAQ,CAAC,EAAE;YAAE,GAAG,CAAC,EAAE,MAAM,CAAC;YAAC,MAAM,CAAC,EAAE,MAAM,CAAA;SAAE,CAAC;QAC7C,MAAM,CAAC,EAAE;YAAE,GAAG,CAAC,EAAE,MAAM,CAAC;YAAC,MAAM,CAAC,EAAE,MAAM,CAAA;SAAE,CAAC;KAC5C,CAAC;IACF,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,MAAM,MAAM,gCAAgC,GAAG,0BAA0B,GAAG,qBAAqB,CAAC;AAElG,KAAK,+BAA+B,GAAG;KACpC,CAAC,IAAI,MAAM,IAAI,CACd,+BAA+B,EAC7B,UAAU,GACV,iCAAiC,GACjC,0BAA0B,GAC1B,gCAAgC,GAChC,WAAW,GACX,QAAQ,CACX,GAAG,+BAA+B,CAAC,CAAC,CAAC,GAAG,SAAS;CACnD,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,qCAAqC,CACnD,MAAM,EAAE,+BAA+B,GACtC,gCAAgC,CAgBlC;AA2CD,UAAU,0BAA0B;IAClC,iBAAiB,EAA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