@vibesdotdev/integrations-digitalocean 0.0.0-stage → 1.0.0-rc.2
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/LICENSE +126 -0
- package/README.md +78 -2
- package/dist/ai/index.d.ts +4 -0
- package/dist/ai/index.d.ts.map +1 -0
- package/dist/ai/index.js +4 -0
- package/dist/ai/index.js.map +1 -0
- package/dist/ai/inference.transport.impl.d.ts +5 -0
- package/dist/ai/inference.transport.impl.d.ts.map +1 -0
- package/dist/ai/inference.transport.impl.js +54 -0
- package/dist/ai/inference.transport.impl.js.map +1 -0
- package/dist/ai/provider.plugin.d.ts +6 -0
- package/dist/ai/provider.plugin.d.ts.map +1 -0
- package/dist/ai/provider.plugin.js +126 -0
- package/dist/ai/provider.plugin.js.map +1 -0
- package/dist/ai/providers/cloud/frontier/digitalocean/config/schemas/index.d.ts +62 -0
- package/dist/ai/providers/cloud/frontier/digitalocean/config/schemas/index.d.ts.map +1 -0
- package/dist/ai/providers/cloud/frontier/digitalocean/config/schemas/index.js +73 -0
- package/dist/ai/providers/cloud/frontier/digitalocean/config/schemas/index.js.map +1 -0
- package/dist/ai/providers/cloud/frontier/digitalocean/index.d.ts +2 -0
- package/dist/ai/providers/cloud/frontier/digitalocean/index.d.ts.map +1 -0
- package/dist/ai/providers/cloud/frontier/digitalocean/index.js +2 -0
- package/dist/ai/providers/cloud/frontier/digitalocean/index.js.map +1 -0
- package/dist/ai/providers/cloud/frontier/digitalocean/provider.digitalocean.descriptor.d.ts +183 -0
- package/dist/ai/providers/cloud/frontier/digitalocean/provider.digitalocean.descriptor.d.ts.map +1 -0
- package/dist/ai/providers/cloud/frontier/digitalocean/provider.digitalocean.descriptor.js +66 -0
- package/dist/ai/providers/cloud/frontier/digitalocean/provider.digitalocean.descriptor.js.map +1 -0
- package/dist/apps/api-client.d.ts +45 -0
- package/dist/apps/api-client.d.ts.map +1 -0
- package/dist/apps/api-client.js +47 -0
- package/dist/apps/api-client.js.map +1 -0
- package/dist/apps/build-spec.d.ts +44 -0
- package/dist/apps/build-spec.d.ts.map +1 -0
- package/dist/apps/build-spec.js +463 -0
- package/dist/apps/build-spec.js.map +1 -0
- package/dist/apps/deploy-client.d.ts +42 -0
- package/dist/apps/deploy-client.d.ts.map +1 -0
- package/dist/apps/deploy-client.js +300 -0
- package/dist/apps/deploy-client.js.map +1 -0
- package/dist/apps/index.d.ts +5 -0
- package/dist/apps/index.d.ts.map +1 -0
- package/dist/apps/index.js +4 -0
- package/dist/apps/index.js.map +1 -0
- package/dist/apps/types.d.ts +204 -0
- package/dist/apps/types.d.ts.map +1 -0
- package/dist/apps/types.js +13 -0
- package/dist/apps/types.js.map +1 -0
- package/dist/client/control-plane.d.ts +49 -0
- package/dist/client/control-plane.d.ts.map +1 -0
- package/dist/client/control-plane.js +85 -0
- package/dist/client/control-plane.js.map +1 -0
- package/dist/client/do-fetch.d.ts +41 -0
- package/dist/client/do-fetch.d.ts.map +1 -0
- package/dist/client/do-fetch.js +199 -0
- package/dist/client/do-fetch.js.map +1 -0
- package/dist/client/errors.d.ts +6 -0
- package/dist/client/errors.d.ts.map +1 -0
- package/dist/client/errors.js +34 -0
- package/dist/client/errors.js.map +1 -0
- package/dist/client/factory.d.ts +53 -0
- package/dist/client/factory.d.ts.map +1 -0
- package/dist/client/factory.js +220 -0
- package/dist/client/factory.js.map +1 -0
- package/dist/client/helpers.d.ts +5 -0
- package/dist/client/helpers.d.ts.map +1 -0
- package/dist/client/helpers.js +8 -0
- package/dist/client/helpers.js.map +1 -0
- package/dist/client/index.d.ts +12 -0
- package/dist/client/index.d.ts.map +1 -0
- package/dist/client/index.js +10 -0
- package/dist/client/index.js.map +1 -0
- package/dist/client/paginated.d.ts +19 -0
- package/dist/client/paginated.d.ts.map +1 -0
- package/dist/client/paginated.js +56 -0
- package/dist/client/paginated.js.map +1 -0
- package/dist/client/retry.d.ts +34 -0
- package/dist/client/retry.d.ts.map +1 -0
- package/dist/client/retry.js +53 -0
- package/dist/client/retry.js.map +1 -0
- package/dist/config/digitalocean.config.descriptor.d.ts +197 -0
- package/dist/config/digitalocean.config.descriptor.d.ts.map +1 -0
- package/dist/config/digitalocean.config.descriptor.js +59 -0
- package/dist/config/digitalocean.config.descriptor.js.map +1 -0
- package/dist/credentials/index.d.ts +38 -0
- package/dist/credentials/index.d.ts.map +1 -0
- package/dist/credentials/index.js +56 -0
- package/dist/credentials/index.js.map +1 -0
- package/dist/databases/index.d.ts +82 -0
- package/dist/databases/index.d.ts.map +1 -0
- package/dist/databases/index.js +57 -0
- package/dist/databases/index.js.map +1 -0
- package/dist/digitalocean-friction.policy.d.ts +29 -0
- package/dist/digitalocean-friction.policy.d.ts.map +1 -0
- package/dist/digitalocean-friction.policy.js +21 -0
- package/dist/digitalocean-friction.policy.js.map +1 -0
- package/dist/digitalocean.plugin.d.ts +3 -0
- package/dist/digitalocean.plugin.d.ts.map +1 -0
- package/dist/digitalocean.plugin.js +27 -0
- package/dist/digitalocean.plugin.js.map +1 -0
- package/dist/droplets/index.d.ts +106 -0
- package/dist/droplets/index.d.ts.map +1 -0
- package/dist/droplets/index.js +227 -0
- package/dist/droplets/index.js.map +1 -0
- package/dist/index.d.ts +35 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +32 -0
- package/dist/index.js.map +1 -0
- package/dist/inference-control-plane/index.d.ts +63 -0
- package/dist/inference-control-plane/index.d.ts.map +1 -0
- package/dist/inference-control-plane/index.js +93 -0
- package/dist/inference-control-plane/index.js.map +1 -0
- package/dist/infra/billing.d.ts +26 -0
- package/dist/infra/billing.d.ts.map +1 -0
- package/dist/infra/billing.js +43 -0
- package/dist/infra/billing.js.map +1 -0
- package/dist/infra/credentials.d.ts +11 -0
- package/dist/infra/credentials.d.ts.map +1 -0
- package/dist/infra/credentials.js +15 -0
- package/dist/infra/credentials.js.map +1 -0
- package/dist/infra/deployment-provider/deploy-secrets.d.ts +10 -0
- package/dist/infra/deployment-provider/deploy-secrets.d.ts.map +1 -0
- package/dist/infra/deployment-provider/deploy-secrets.js +66 -0
- package/dist/infra/deployment-provider/deploy-secrets.js.map +1 -0
- package/dist/infra/deployment-provider/digitalocean-deployment-provider.impl.d.ts +97 -0
- package/dist/infra/deployment-provider/digitalocean-deployment-provider.impl.d.ts.map +1 -0
- package/dist/infra/deployment-provider/digitalocean-deployment-provider.impl.js +242 -0
- package/dist/infra/deployment-provider/digitalocean-deployment-provider.impl.js.map +1 -0
- package/dist/infra/deployment-provider/image-publish.d.ts +39 -0
- package/dist/infra/deployment-provider/image-publish.d.ts.map +1 -0
- package/dist/infra/deployment-provider/image-publish.js +146 -0
- package/dist/infra/deployment-provider/image-publish.js.map +1 -0
- package/dist/infra/deployment-provider.descriptor.d.ts +34 -0
- package/dist/infra/deployment-provider.descriptor.d.ts.map +1 -0
- package/dist/infra/deployment-provider.descriptor.js +9 -0
- package/dist/infra/deployment-provider.descriptor.js.map +1 -0
- package/dist/infra/digitalocean-infra.plugin.d.ts +101 -0
- package/dist/infra/digitalocean-infra.plugin.d.ts.map +1 -0
- package/dist/infra/digitalocean-infra.plugin.js +283 -0
- package/dist/infra/digitalocean-infra.plugin.js.map +1 -0
- package/dist/infra/doks/clients.d.ts +183 -0
- package/dist/infra/doks/clients.d.ts.map +1 -0
- package/dist/infra/doks/clients.js +172 -0
- package/dist/infra/doks/clients.js.map +1 -0
- package/dist/infra/doks/digitalocean.d.ts +34 -0
- package/dist/infra/doks/digitalocean.d.ts.map +1 -0
- package/dist/infra/doks/digitalocean.js +267 -0
- package/dist/infra/doks/digitalocean.js.map +1 -0
- package/dist/infra/doks/service-release-schemas.d.ts +1037 -0
- package/dist/infra/doks/service-release-schemas.d.ts.map +1 -0
- package/dist/infra/doks/service-release-schemas.js +51 -0
- package/dist/infra/doks/service-release-schemas.js.map +1 -0
- package/dist/infra/doks/service-release.d.ts +415 -0
- package/dist/infra/doks/service-release.d.ts.map +1 -0
- package/dist/infra/doks/service-release.js +3201 -0
- package/dist/infra/doks/service-release.js.map +1 -0
- package/dist/infra/doks/worker.d.ts +14 -0
- package/dist/infra/doks/worker.d.ts.map +1 -0
- package/dist/infra/doks/worker.js +343 -0
- package/dist/infra/doks/worker.js.map +1 -0
- package/dist/infra/droplet.impl.d.ts +172 -0
- package/dist/infra/droplet.impl.d.ts.map +1 -0
- package/dist/infra/droplet.impl.js +379 -0
- package/dist/infra/droplet.impl.js.map +1 -0
- package/dist/infra/functions.impl.d.ts +123 -0
- package/dist/infra/functions.impl.d.ts.map +1 -0
- package/dist/infra/functions.impl.js +202 -0
- package/dist/infra/functions.impl.js.map +1 -0
- package/dist/infra/index.d.ts +15 -0
- package/dist/infra/index.d.ts.map +1 -0
- package/dist/infra/index.js +12 -0
- package/dist/infra/index.js.map +1 -0
- package/dist/infra/inventory.d.ts +7 -0
- package/dist/infra/inventory.d.ts.map +1 -0
- package/dist/infra/inventory.js +259 -0
- package/dist/infra/inventory.js.map +1 -0
- package/dist/infra/kubernetes-log-stream.d.ts +5 -0
- package/dist/infra/kubernetes-log-stream.d.ts.map +1 -0
- package/dist/infra/kubernetes-log-stream.js +186 -0
- package/dist/infra/kubernetes-log-stream.js.map +1 -0
- package/dist/infra/kubernetes-logs.d.ts +33 -0
- package/dist/infra/kubernetes-logs.d.ts.map +1 -0
- package/dist/infra/kubernetes-logs.descriptor.d.ts +14 -0
- package/dist/infra/kubernetes-logs.descriptor.d.ts.map +1 -0
- package/dist/infra/kubernetes-logs.descriptor.js +28 -0
- package/dist/infra/kubernetes-logs.descriptor.js.map +1 -0
- package/dist/infra/kubernetes-logs.js +196 -0
- package/dist/infra/kubernetes-logs.js.map +1 -0
- package/dist/infra/utilization.d.ts +44 -0
- package/dist/infra/utilization.d.ts.map +1 -0
- package/dist/infra/utilization.js +108 -0
- package/dist/infra/utilization.js.map +1 -0
- package/dist/kubernetes/authority.d.ts +40 -0
- package/dist/kubernetes/authority.d.ts.map +1 -0
- package/dist/kubernetes/authority.js +90 -0
- package/dist/kubernetes/authority.js.map +1 -0
- package/dist/kubernetes/encoding.d.ts +4 -0
- package/dist/kubernetes/encoding.d.ts.map +1 -0
- package/dist/kubernetes/encoding.js +8 -0
- package/dist/kubernetes/encoding.js.map +1 -0
- package/dist/kubernetes/index.d.ts +105 -0
- package/dist/kubernetes/index.d.ts.map +1 -0
- package/dist/kubernetes/index.js +99 -0
- package/dist/kubernetes/index.js.map +1 -0
- package/dist/kubernetes/transport.d.ts +11 -0
- package/dist/kubernetes/transport.d.ts.map +1 -0
- package/dist/kubernetes/transport.js +27 -0
- package/dist/kubernetes/transport.js.map +1 -0
- package/dist/network/index.d.ts +24 -0
- package/dist/network/index.d.ts.map +1 -0
- package/dist/network/index.js +16 -0
- package/dist/network/index.js.map +1 -0
- package/dist/registry/index.d.ts +39 -0
- package/dist/registry/index.d.ts.map +1 -0
- package/dist/registry/index.js +20 -0
- package/dist/registry/index.js.map +1 -0
- package/dist/schemas/app-deployment.d.ts +1474 -0
- package/dist/schemas/app-deployment.d.ts.map +1 -0
- package/dist/schemas/app-deployment.js +156 -0
- package/dist/schemas/app-deployment.js.map +1 -0
- package/dist/schemas/app-platform.d.ts +755 -0
- package/dist/schemas/app-platform.d.ts.map +1 -0
- package/dist/schemas/app-platform.js +253 -0
- package/dist/schemas/app-platform.js.map +1 -0
- package/dist/schemas/cache-database.d.ts +210 -0
- package/dist/schemas/cache-database.d.ts.map +1 -0
- package/dist/schemas/cache-database.js +105 -0
- package/dist/schemas/cache-database.js.map +1 -0
- package/dist/schemas/control-plane.d.ts +456 -0
- package/dist/schemas/control-plane.d.ts.map +1 -0
- package/dist/schemas/control-plane.js +123 -0
- package/dist/schemas/control-plane.js.map +1 -0
- package/dist/schemas/credential-use.d.ts +714 -0
- package/dist/schemas/credential-use.d.ts.map +1 -0
- package/dist/schemas/credential-use.js +73 -0
- package/dist/schemas/credential-use.js.map +1 -0
- package/dist/schemas/doks-worker.d.ts +4071 -0
- package/dist/schemas/doks-worker.d.ts.map +1 -0
- package/dist/schemas/doks-worker.js +330 -0
- package/dist/schemas/doks-worker.js.map +1 -0
- package/dist/schemas/droplet.d.ts +110 -0
- package/dist/schemas/droplet.d.ts.map +1 -0
- package/dist/schemas/droplet.js +22 -0
- package/dist/schemas/droplet.js.map +1 -0
- package/dist/schemas/functions.d.ts +22 -0
- package/dist/schemas/functions.d.ts.map +1 -0
- package/dist/schemas/functions.js +25 -0
- package/dist/schemas/functions.js.map +1 -0
- package/dist/schemas/gitea-git-hosting.d.ts +20 -0
- package/dist/schemas/gitea-git-hosting.d.ts.map +1 -0
- package/dist/schemas/gitea-git-hosting.js +26 -0
- package/dist/schemas/gitea-git-hosting.js.map +1 -0
- package/dist/schemas/http.d.ts +2594 -0
- package/dist/schemas/http.d.ts.map +1 -0
- package/dist/schemas/http.js +4548 -0
- package/dist/schemas/http.js.map +1 -0
- package/dist/schemas/infra-kinds.d.ts +113 -0
- package/dist/schemas/infra-kinds.d.ts.map +1 -0
- package/dist/schemas/infra-kinds.js +93 -0
- package/dist/schemas/infra-kinds.js.map +1 -0
- package/dist/schemas/kubernetes-responses.d.ts +457 -0
- package/dist/schemas/kubernetes-responses.d.ts.map +1 -0
- package/dist/schemas/kubernetes-responses.js +681 -0
- package/dist/schemas/kubernetes-responses.js.map +1 -0
- package/dist/schemas/kubernetes.d.ts +143 -0
- package/dist/schemas/kubernetes.d.ts.map +1 -0
- package/dist/schemas/kubernetes.js +68 -0
- package/dist/schemas/kubernetes.js.map +1 -0
- package/dist/schemas/logs.d.ts +15 -0
- package/dist/schemas/logs.d.ts.map +1 -0
- package/dist/schemas/logs.js +11 -0
- package/dist/schemas/logs.js.map +1 -0
- package/dist/schemas/object-storage.d.ts +167 -0
- package/dist/schemas/object-storage.d.ts.map +1 -0
- package/dist/schemas/object-storage.js +124 -0
- package/dist/schemas/object-storage.js.map +1 -0
- package/dist/schemas/service-settings.d.ts +9 -0
- package/dist/schemas/service-settings.d.ts.map +1 -0
- package/dist/schemas/service-settings.js +21 -0
- package/dist/schemas/service-settings.js.map +1 -0
- package/dist/schemas/utilization.d.ts +57 -0
- package/dist/schemas/utilization.d.ts.map +1 -0
- package/dist/schemas/utilization.js +58 -0
- package/dist/schemas/utilization.js.map +1 -0
- package/dist/schemas/worker-status.d.ts +22 -0
- package/dist/schemas/worker-status.d.ts.map +1 -0
- package/dist/schemas/worker-status.js +14 -0
- package/dist/schemas/worker-status.js.map +1 -0
- package/dist/schemas/worker.d.ts +125 -0
- package/dist/schemas/worker.d.ts.map +1 -0
- package/dist/schemas/worker.js +129 -0
- package/dist/schemas/worker.js.map +1 -0
- package/dist/secrets/app-platform/app-credentials.impl.d.ts +14 -0
- package/dist/secrets/app-platform/app-credentials.impl.d.ts.map +1 -0
- package/dist/secrets/app-platform/app-credentials.impl.js +237 -0
- package/dist/secrets/app-platform/app-credentials.impl.js.map +1 -0
- package/dist/secrets/container-registry/image-publish-settings.descriptor.d.ts +11 -0
- package/dist/secrets/container-registry/image-publish-settings.descriptor.d.ts.map +1 -0
- package/dist/secrets/container-registry/image-publish-settings.descriptor.js +26 -0
- package/dist/secrets/container-registry/image-publish-settings.descriptor.js.map +1 -0
- package/dist/secrets/doks-secret.descriptor.d.ts +18 -0
- package/dist/secrets/doks-secret.descriptor.d.ts.map +1 -0
- package/dist/secrets/doks-secret.descriptor.js +35 -0
- package/dist/secrets/doks-secret.descriptor.js.map +1 -0
- package/dist/secrets/doks-secret.impl.d.ts +98 -0
- package/dist/secrets/doks-secret.impl.d.ts.map +1 -0
- package/dist/secrets/doks-secret.impl.js +451 -0
- package/dist/secrets/doks-secret.impl.js.map +1 -0
- package/dist/secrets/index.d.ts +4 -0
- package/dist/secrets/index.d.ts.map +1 -0
- package/dist/secrets/index.js +4 -0
- package/dist/secrets/index.js.map +1 -0
- package/dist/secrets/secrets-backend-doks.plugin.d.ts +3 -0
- package/dist/secrets/secrets-backend-doks.plugin.d.ts.map +1 -0
- package/dist/secrets/secrets-backend-doks.plugin.js +35 -0
- package/dist/secrets/secrets-backend-doks.plugin.js.map +1 -0
- package/dist/storage/index.d.ts +50 -0
- package/dist/storage/index.d.ts.map +1 -0
- package/dist/storage/index.js +92 -0
- package/dist/storage/index.js.map +1 -0
- package/dist/storage/spaces-keys.d.ts +25 -0
- package/dist/storage/spaces-keys.d.ts.map +1 -0
- package/dist/storage/spaces-keys.js +32 -0
- package/dist/storage/spaces-keys.js.map +1 -0
- package/package.json +172 -4
|
@@ -0,0 +1,1037 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DigitalOcean Kubernetes service-release schemas. The infra/service-release
|
|
3
|
+
* kind keeps `config` open; this package validates the DigitalOcean-owned part
|
|
4
|
+
* once, when it resolves a release or target.
|
|
5
|
+
*/
|
|
6
|
+
import * as z from 'zod/v4';
|
|
7
|
+
export declare const DigitalOceanKubernetesServiceReleaseTargetSchema: z.ZodObject<{
|
|
8
|
+
adapter: z.ZodLiteral<"digitalocean-kubernetes">;
|
|
9
|
+
cluster: z.ZodUnion<readonly [z.ZodObject<{
|
|
10
|
+
id: z.ZodString;
|
|
11
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
12
|
+
name: z.ZodString;
|
|
13
|
+
}, z.core.$strip>]>;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
export declare const DigitalOceanKubernetesServiceReleaseConfigSchema: z.ZodObject<{
|
|
16
|
+
adapter: z.ZodLiteral<"digitalocean-kubernetes">;
|
|
17
|
+
cluster: z.ZodUnion<readonly [z.ZodObject<{
|
|
18
|
+
id: z.ZodString;
|
|
19
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
20
|
+
name: z.ZodString;
|
|
21
|
+
}, z.core.$strip>]>;
|
|
22
|
+
imageRegistry: z.ZodOptional<z.ZodObject<{
|
|
23
|
+
provider: z.ZodLiteral<"digitalocean-container-registry">;
|
|
24
|
+
name: z.ZodString;
|
|
25
|
+
}, z.core.$strip>>;
|
|
26
|
+
loadBalancerAnnotations: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
27
|
+
}, z.core.$strip>;
|
|
28
|
+
/** The kind's descriptor plus the DigitalOcean-owned config fields and the registry-bound image rule. */
|
|
29
|
+
export declare const DigitalOceanServiceReleaseDescriptorSchema: z.ZodPipe<z.ZodObject<{
|
|
30
|
+
name: z.ZodOptional<z.ZodString>;
|
|
31
|
+
description: z.ZodOptional<z.ZodString>;
|
|
32
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
33
|
+
hardware: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
34
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
35
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
36
|
+
capabilityId: z.ZodOptional<z.ZodString>;
|
|
37
|
+
requiredContext: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
38
|
+
optionalContext: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
39
|
+
retention: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
40
|
+
maxAgeDays: z.ZodOptional<z.ZodNumber>;
|
|
41
|
+
maxEntries: z.ZodOptional<z.ZodNumber>;
|
|
42
|
+
maxBytes: z.ZodOptional<z.ZodNumber>;
|
|
43
|
+
cascadeFrom: z.ZodOptional<z.ZodString>;
|
|
44
|
+
ageField: z.ZodOptional<z.ZodString>;
|
|
45
|
+
reason: z.ZodString;
|
|
46
|
+
enforcedBy: z.ZodOptional<z.ZodString>;
|
|
47
|
+
}, z.core.$strip>]>>;
|
|
48
|
+
id: z.ZodString;
|
|
49
|
+
kind: z.ZodLiteral<"infra/service-release">;
|
|
50
|
+
namespace: z.ZodString;
|
|
51
|
+
gateway: z.ZodObject<{
|
|
52
|
+
name: z.ZodString;
|
|
53
|
+
image: z.ZodString;
|
|
54
|
+
revision: z.ZodString;
|
|
55
|
+
replicas: z.ZodNumber;
|
|
56
|
+
port: z.ZodDefault<z.ZodLiteral<22>>;
|
|
57
|
+
listenPort: z.ZodDefault<z.ZodNumber>;
|
|
58
|
+
hostname: z.ZodString;
|
|
59
|
+
hostKeyAuthority: z.ZodObject<{
|
|
60
|
+
publicKey: z.ZodString;
|
|
61
|
+
fingerprint: z.ZodString;
|
|
62
|
+
source: z.ZodObject<{
|
|
63
|
+
repository: z.ZodString;
|
|
64
|
+
path: z.ZodString;
|
|
65
|
+
}, z.core.$strip>;
|
|
66
|
+
secretRef: z.ZodObject<{
|
|
67
|
+
name: z.ZodString;
|
|
68
|
+
privateKeyKey: z.ZodString;
|
|
69
|
+
publicKeyKey: z.ZodString;
|
|
70
|
+
mountPath: z.ZodString;
|
|
71
|
+
}, z.core.$strip>;
|
|
72
|
+
provisioning: z.ZodObject<{
|
|
73
|
+
owner: z.ZodLiteral<"secret-management">;
|
|
74
|
+
mode: z.ZodLiteral<"external-preprovisioned">;
|
|
75
|
+
}, z.core.$strip>;
|
|
76
|
+
rotation: z.ZodObject<{
|
|
77
|
+
generation: z.ZodNumber;
|
|
78
|
+
strategy: z.ZodLiteral<"preprovisioned-atomic">;
|
|
79
|
+
previousFingerprint: z.ZodOptional<z.ZodString>;
|
|
80
|
+
knownHostsOverlapUntil: z.ZodOptional<z.ZodString>;
|
|
81
|
+
}, z.core.$strip>;
|
|
82
|
+
}, z.core.$strip>;
|
|
83
|
+
env: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
84
|
+
source: z.ZodLiteral<"literal">;
|
|
85
|
+
name: z.ZodString;
|
|
86
|
+
value: z.ZodString;
|
|
87
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
88
|
+
source: z.ZodLiteral<"secret">;
|
|
89
|
+
name: z.ZodString;
|
|
90
|
+
secretRef: z.ZodObject<{
|
|
91
|
+
name: z.ZodString;
|
|
92
|
+
key: z.ZodString;
|
|
93
|
+
}, z.core.$strip>;
|
|
94
|
+
}, z.core.$strip>], "source">>>;
|
|
95
|
+
secretMounts: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
96
|
+
secretName: z.ZodString;
|
|
97
|
+
mountPath: z.ZodString;
|
|
98
|
+
keys: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
99
|
+
readOnly: z.ZodDefault<z.ZodLiteral<true>>;
|
|
100
|
+
}, z.core.$strip>>>;
|
|
101
|
+
resources: z.ZodObject<{
|
|
102
|
+
requests: z.ZodObject<{
|
|
103
|
+
cpu: z.ZodString;
|
|
104
|
+
memory: z.ZodString;
|
|
105
|
+
}, z.core.$strip>;
|
|
106
|
+
limits: z.ZodObject<{
|
|
107
|
+
cpu: z.ZodString;
|
|
108
|
+
memory: z.ZodString;
|
|
109
|
+
}, z.core.$strip>;
|
|
110
|
+
}, z.core.$strip>;
|
|
111
|
+
maxUnavailable: z.ZodDefault<z.ZodLiteral<0>>;
|
|
112
|
+
maxSurge: z.ZodDefault<z.ZodNumber>;
|
|
113
|
+
}, z.core.$strip>;
|
|
114
|
+
controlPlaneRouter: z.ZodObject<{
|
|
115
|
+
image: z.ZodString;
|
|
116
|
+
revision: z.ZodString;
|
|
117
|
+
publicPort: z.ZodLiteral<443>;
|
|
118
|
+
listenPort: z.ZodDefault<z.ZodNumber>;
|
|
119
|
+
tlsSecretRef: z.ZodObject<{
|
|
120
|
+
name: z.ZodString;
|
|
121
|
+
certificateKey: z.ZodDefault<z.ZodString>;
|
|
122
|
+
privateKeyKey: z.ZodDefault<z.ZodString>;
|
|
123
|
+
}, z.core.$strip>;
|
|
124
|
+
smartGit: z.ZodDefault<z.ZodObject<{
|
|
125
|
+
enabled: z.ZodLiteral<true>;
|
|
126
|
+
authorizationOwner: z.ZodLiteral<"stateful">;
|
|
127
|
+
pathContract: z.ZodLiteral<"owner/repo.git">;
|
|
128
|
+
}, z.core.$strip>>;
|
|
129
|
+
allowedPathPrefixes: z.ZodArray<z.ZodString>;
|
|
130
|
+
proxyRepoBrowse: z.ZodDefault<z.ZodBoolean>;
|
|
131
|
+
proxyMergeControl: z.ZodDefault<z.ZodBoolean>;
|
|
132
|
+
fallbackRedirect: z.ZodOptional<z.ZodURL>;
|
|
133
|
+
resources: z.ZodObject<{
|
|
134
|
+
requests: z.ZodObject<{
|
|
135
|
+
cpu: z.ZodString;
|
|
136
|
+
memory: z.ZodString;
|
|
137
|
+
}, z.core.$strip>;
|
|
138
|
+
limits: z.ZodObject<{
|
|
139
|
+
cpu: z.ZodString;
|
|
140
|
+
memory: z.ZodString;
|
|
141
|
+
}, z.core.$strip>;
|
|
142
|
+
}, z.core.$strip>;
|
|
143
|
+
}, z.core.$strip>;
|
|
144
|
+
stateful: z.ZodObject<{
|
|
145
|
+
name: z.ZodString;
|
|
146
|
+
exposure: z.ZodDefault<z.ZodLiteral<"internal">>;
|
|
147
|
+
adminExposure: z.ZodDefault<z.ZodLiteral<"internal">>;
|
|
148
|
+
image: z.ZodString;
|
|
149
|
+
revision: z.ZodString;
|
|
150
|
+
replicas: z.ZodLiteral<1>;
|
|
151
|
+
port: z.ZodNumber;
|
|
152
|
+
storage: z.ZodObject<{
|
|
153
|
+
mountPath: z.ZodString;
|
|
154
|
+
size: z.ZodString;
|
|
155
|
+
accessMode: z.ZodLiteral<"ReadWriteOnce">;
|
|
156
|
+
storageClassName: z.ZodOptional<z.ZodString>;
|
|
157
|
+
schemaVersion: z.ZodNumber;
|
|
158
|
+
releaseCompatibility: z.ZodObject<{
|
|
159
|
+
readFrom: z.ZodNumber;
|
|
160
|
+
readThrough: z.ZodNumber;
|
|
161
|
+
writeVersion: z.ZodNumber;
|
|
162
|
+
}, z.core.$strip>;
|
|
163
|
+
}, z.core.$strip>;
|
|
164
|
+
backup: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
165
|
+
mode: z.ZodLiteral<"restic-s3">;
|
|
166
|
+
toolImage: z.ZodString;
|
|
167
|
+
repository: z.ZodString;
|
|
168
|
+
credentials: z.ZodObject<{
|
|
169
|
+
accessKeyId: z.ZodObject<{
|
|
170
|
+
store: z.ZodOptional<z.ZodString>;
|
|
171
|
+
key: z.ZodString;
|
|
172
|
+
env: z.ZodOptional<z.ZodString>;
|
|
173
|
+
}, z.core.$strip>;
|
|
174
|
+
secretAccessKey: z.ZodObject<{
|
|
175
|
+
store: z.ZodOptional<z.ZodString>;
|
|
176
|
+
key: z.ZodString;
|
|
177
|
+
env: z.ZodOptional<z.ZodString>;
|
|
178
|
+
}, z.core.$strip>;
|
|
179
|
+
encryptionKey: z.ZodObject<{
|
|
180
|
+
store: z.ZodOptional<z.ZodString>;
|
|
181
|
+
key: z.ZodString;
|
|
182
|
+
env: z.ZodOptional<z.ZodString>;
|
|
183
|
+
}, z.core.$strip>;
|
|
184
|
+
}, z.core.$strip>;
|
|
185
|
+
schedule: z.ZodString;
|
|
186
|
+
retention: z.ZodObject<{
|
|
187
|
+
keepDaily: z.ZodNumber;
|
|
188
|
+
keepWeekly: z.ZodNumber;
|
|
189
|
+
keepMonthly: z.ZodNumber;
|
|
190
|
+
}, z.core.$strip>;
|
|
191
|
+
restoreVerify: z.ZodObject<{
|
|
192
|
+
schedule: z.ZodString;
|
|
193
|
+
scratchSize: z.ZodString;
|
|
194
|
+
timeoutSeconds: z.ZodNumber;
|
|
195
|
+
}, z.core.$strip>;
|
|
196
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
197
|
+
mode: z.ZodLiteral<"csi-volume-snapshot">;
|
|
198
|
+
toolImage: z.ZodString;
|
|
199
|
+
snapshotClassName: z.ZodString;
|
|
200
|
+
deletionPolicy: z.ZodLiteral<"Delete">;
|
|
201
|
+
schedule: z.ZodString;
|
|
202
|
+
retention: z.ZodObject<{
|
|
203
|
+
verifiedGenerations: z.ZodNumber;
|
|
204
|
+
}, z.core.$strip>;
|
|
205
|
+
restoreVerify: z.ZodObject<{
|
|
206
|
+
schedule: z.ZodString;
|
|
207
|
+
scratchSize: z.ZodString;
|
|
208
|
+
timeoutSeconds: z.ZodNumber;
|
|
209
|
+
}, z.core.$strip>;
|
|
210
|
+
}, z.core.$strip>], "mode">;
|
|
211
|
+
repositoryMigration: z.ZodOptional<z.ZodObject<{
|
|
212
|
+
mode: z.ZodLiteral<"mirror-ssh">;
|
|
213
|
+
migrationId: z.ZodString;
|
|
214
|
+
source: z.ZodObject<{
|
|
215
|
+
origin: z.ZodURL;
|
|
216
|
+
inventoryUrl: z.ZodURL;
|
|
217
|
+
sshLeaseUrl: z.ZodURL;
|
|
218
|
+
inventoryAuthoritySecretRef: z.ZodObject<{
|
|
219
|
+
name: z.ZodString;
|
|
220
|
+
key: z.ZodString;
|
|
221
|
+
}, z.core.$strip>;
|
|
222
|
+
}, z.core.$strip>;
|
|
223
|
+
expected: z.ZodObject<{
|
|
224
|
+
repositoryCount: z.ZodNumber;
|
|
225
|
+
owners: z.ZodArray<z.ZodObject<{
|
|
226
|
+
ownerType: z.ZodEnum<{
|
|
227
|
+
user: "user";
|
|
228
|
+
organization: "organization";
|
|
229
|
+
}>;
|
|
230
|
+
ownerId: z.ZodString;
|
|
231
|
+
repositoryCount: z.ZodNumber;
|
|
232
|
+
}, z.core.$strip>>;
|
|
233
|
+
}, z.core.$strip>;
|
|
234
|
+
receipt: z.ZodObject<{
|
|
235
|
+
configMapName: z.ZodString;
|
|
236
|
+
}, z.core.$strip>;
|
|
237
|
+
convergence: z.ZodObject<{
|
|
238
|
+
stablePasses: z.ZodLiteral<2>;
|
|
239
|
+
}, z.core.$strip>;
|
|
240
|
+
rollback: z.ZodObject<{
|
|
241
|
+
mode: z.ZodLiteral<"source-authoritative-until-public-cutover">;
|
|
242
|
+
}, z.core.$strip>;
|
|
243
|
+
}, z.core.$strip>>;
|
|
244
|
+
env: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
245
|
+
source: z.ZodLiteral<"literal">;
|
|
246
|
+
name: z.ZodString;
|
|
247
|
+
value: z.ZodString;
|
|
248
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
249
|
+
source: z.ZodLiteral<"secret">;
|
|
250
|
+
name: z.ZodString;
|
|
251
|
+
secretRef: z.ZodObject<{
|
|
252
|
+
name: z.ZodString;
|
|
253
|
+
key: z.ZodString;
|
|
254
|
+
}, z.core.$strip>;
|
|
255
|
+
}, z.core.$strip>], "source">>>;
|
|
256
|
+
secretMounts: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
257
|
+
secretName: z.ZodString;
|
|
258
|
+
mountPath: z.ZodString;
|
|
259
|
+
keys: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
260
|
+
readOnly: z.ZodDefault<z.ZodLiteral<true>>;
|
|
261
|
+
}, z.core.$strip>>>;
|
|
262
|
+
resources: z.ZodObject<{
|
|
263
|
+
requests: z.ZodObject<{
|
|
264
|
+
cpu: z.ZodString;
|
|
265
|
+
memory: z.ZodString;
|
|
266
|
+
}, z.core.$strip>;
|
|
267
|
+
limits: z.ZodObject<{
|
|
268
|
+
cpu: z.ZodString;
|
|
269
|
+
memory: z.ZodString;
|
|
270
|
+
}, z.core.$strip>;
|
|
271
|
+
}, z.core.$strip>;
|
|
272
|
+
}, z.core.$strip>;
|
|
273
|
+
secretBindings: z.ZodArray<z.ZodObject<{
|
|
274
|
+
source: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
275
|
+
kind: z.ZodLiteral<"secret-store">;
|
|
276
|
+
key: z.ZodString;
|
|
277
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
278
|
+
kind: z.ZodLiteral<"repository-file">;
|
|
279
|
+
path: z.ZodString;
|
|
280
|
+
}, z.core.$strip>], "kind">;
|
|
281
|
+
target: z.ZodObject<{
|
|
282
|
+
name: z.ZodString;
|
|
283
|
+
key: z.ZodString;
|
|
284
|
+
}, z.core.$strip>;
|
|
285
|
+
description: z.ZodString;
|
|
286
|
+
}, z.core.$strip>>;
|
|
287
|
+
networkPolicy: z.ZodObject<{
|
|
288
|
+
defaultDenyIngress: z.ZodLiteral<true>;
|
|
289
|
+
allowGatewayToStateful: z.ZodLiteral<true>;
|
|
290
|
+
egress: z.ZodObject<{
|
|
291
|
+
defaultDeny: z.ZodLiteral<true>;
|
|
292
|
+
platformAuthCidrs: z.ZodArray<z.ZodString>;
|
|
293
|
+
objectBackupCidrs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
294
|
+
objectBackupHostnames: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
295
|
+
}, z.core.$strip>;
|
|
296
|
+
}, z.core.$strip>;
|
|
297
|
+
config: z.ZodObject<{
|
|
298
|
+
adapter: z.ZodString;
|
|
299
|
+
dnsOwnerRef: z.ZodString;
|
|
300
|
+
namespaceQuota: z.ZodOptional<z.ZodObject<{
|
|
301
|
+
name: z.ZodString;
|
|
302
|
+
hard: z.ZodObject<{
|
|
303
|
+
"limits.cpu": z.ZodString;
|
|
304
|
+
"limits.memory": z.ZodString;
|
|
305
|
+
persistentvolumeclaims: z.ZodString;
|
|
306
|
+
pods: z.ZodString;
|
|
307
|
+
"requests.cpu": z.ZodString;
|
|
308
|
+
"requests.memory": z.ZodString;
|
|
309
|
+
"requests.storage": z.ZodString;
|
|
310
|
+
}, z.core.$strip>;
|
|
311
|
+
}, z.core.$strip>>;
|
|
312
|
+
backupStorage: z.ZodOptional<z.ZodObject<{
|
|
313
|
+
adapter: z.ZodLiteral<"s3-compatible">;
|
|
314
|
+
authority: z.ZodObject<{
|
|
315
|
+
provider: z.ZodString;
|
|
316
|
+
name: z.ZodString;
|
|
317
|
+
requiredControlPlaneScopes: z.ZodArray<z.ZodString>;
|
|
318
|
+
}, z.core.$strip>;
|
|
319
|
+
bucket: z.ZodString;
|
|
320
|
+
region: z.ZodString;
|
|
321
|
+
endpoint: z.ZodURL;
|
|
322
|
+
forcePathStyle: z.ZodLiteral<true>;
|
|
323
|
+
versioning: z.ZodLiteral<"Enabled">;
|
|
324
|
+
publicAccess: z.ZodLiteral<"private">;
|
|
325
|
+
}, z.core.$strip>>;
|
|
326
|
+
certificate: z.ZodOptional<z.ZodObject<{
|
|
327
|
+
manager: z.ZodLiteral<"cert-manager">;
|
|
328
|
+
issuerRef: z.ZodObject<{
|
|
329
|
+
kind: z.ZodUnion<readonly [z.ZodLiteral<"ClusterIssuer">, z.ZodLiteral<"Issuer">]>;
|
|
330
|
+
name: z.ZodString;
|
|
331
|
+
}, z.core.$strip>;
|
|
332
|
+
provisioning: z.ZodOptional<z.ZodObject<{
|
|
333
|
+
owner: z.ZodLiteral<"service-release">;
|
|
334
|
+
mode: z.ZodLiteral<"namespace-acme-dns01">;
|
|
335
|
+
server: z.ZodURL;
|
|
336
|
+
email: z.ZodEmail;
|
|
337
|
+
privateKeySecretRef: z.ZodObject<{
|
|
338
|
+
name: z.ZodString;
|
|
339
|
+
}, z.core.$strip>;
|
|
340
|
+
solver: z.ZodObject<{
|
|
341
|
+
provider: z.ZodString;
|
|
342
|
+
dnsZones: z.ZodArray<z.ZodString>;
|
|
343
|
+
apiToken: z.ZodObject<{
|
|
344
|
+
environment: z.ZodLiteral<"local">;
|
|
345
|
+
sourceKeys: z.ZodArray<z.ZodString>;
|
|
346
|
+
target: z.ZodObject<{
|
|
347
|
+
name: z.ZodString;
|
|
348
|
+
key: z.ZodString;
|
|
349
|
+
}, z.core.$strip>;
|
|
350
|
+
}, z.core.$strip>;
|
|
351
|
+
}, z.core.$strip>;
|
|
352
|
+
}, z.core.$strip>>;
|
|
353
|
+
duration: z.ZodDefault<z.ZodLiteral<"2160h">>;
|
|
354
|
+
renewBefore: z.ZodDefault<z.ZodLiteral<"360h">>;
|
|
355
|
+
privateKey: z.ZodDefault<z.ZodObject<{
|
|
356
|
+
algorithm: z.ZodDefault<z.ZodLiteral<"ECDSA">>;
|
|
357
|
+
size: z.ZodDefault<z.ZodLiteral<256>>;
|
|
358
|
+
rotationPolicy: z.ZodDefault<z.ZodLiteral<"Always">>;
|
|
359
|
+
}, z.core.$strip>>;
|
|
360
|
+
}, z.core.$strip>>;
|
|
361
|
+
}, z.core.$loose>;
|
|
362
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
363
|
+
config: {
|
|
364
|
+
adapter: "digitalocean-kubernetes";
|
|
365
|
+
cluster: {
|
|
366
|
+
id: string;
|
|
367
|
+
} | {
|
|
368
|
+
name: string;
|
|
369
|
+
};
|
|
370
|
+
loadBalancerAnnotations: Record<string, string>;
|
|
371
|
+
imageRegistry?: {
|
|
372
|
+
provider: "digitalocean-container-registry";
|
|
373
|
+
name: string;
|
|
374
|
+
} | undefined;
|
|
375
|
+
dnsOwnerRef: string;
|
|
376
|
+
namespaceQuota?: {
|
|
377
|
+
name: string;
|
|
378
|
+
hard: {
|
|
379
|
+
'limits.cpu': string;
|
|
380
|
+
'limits.memory': string;
|
|
381
|
+
persistentvolumeclaims: string;
|
|
382
|
+
pods: string;
|
|
383
|
+
'requests.cpu': string;
|
|
384
|
+
'requests.memory': string;
|
|
385
|
+
'requests.storage': string;
|
|
386
|
+
};
|
|
387
|
+
} | undefined;
|
|
388
|
+
backupStorage?: {
|
|
389
|
+
adapter: "s3-compatible";
|
|
390
|
+
authority: {
|
|
391
|
+
provider: string;
|
|
392
|
+
name: string;
|
|
393
|
+
requiredControlPlaneScopes: string[];
|
|
394
|
+
};
|
|
395
|
+
bucket: string;
|
|
396
|
+
region: string;
|
|
397
|
+
endpoint: string;
|
|
398
|
+
forcePathStyle: true;
|
|
399
|
+
versioning: "Enabled";
|
|
400
|
+
publicAccess: "private";
|
|
401
|
+
} | undefined;
|
|
402
|
+
certificate?: {
|
|
403
|
+
manager: "cert-manager";
|
|
404
|
+
issuerRef: {
|
|
405
|
+
kind: "ClusterIssuer" | "Issuer";
|
|
406
|
+
name: string;
|
|
407
|
+
};
|
|
408
|
+
duration: "2160h";
|
|
409
|
+
renewBefore: "360h";
|
|
410
|
+
privateKey: {
|
|
411
|
+
algorithm: "ECDSA";
|
|
412
|
+
size: 256;
|
|
413
|
+
rotationPolicy: "Always";
|
|
414
|
+
};
|
|
415
|
+
provisioning?: {
|
|
416
|
+
owner: "service-release";
|
|
417
|
+
mode: "namespace-acme-dns01";
|
|
418
|
+
server: string;
|
|
419
|
+
email: string;
|
|
420
|
+
privateKeySecretRef: {
|
|
421
|
+
name: string;
|
|
422
|
+
};
|
|
423
|
+
solver: {
|
|
424
|
+
provider: string;
|
|
425
|
+
dnsZones: string[];
|
|
426
|
+
apiToken: {
|
|
427
|
+
environment: "local";
|
|
428
|
+
sourceKeys: string[];
|
|
429
|
+
target: {
|
|
430
|
+
name: string;
|
|
431
|
+
key: string;
|
|
432
|
+
};
|
|
433
|
+
};
|
|
434
|
+
};
|
|
435
|
+
} | undefined;
|
|
436
|
+
} | undefined;
|
|
437
|
+
};
|
|
438
|
+
id: string;
|
|
439
|
+
kind: "infra/service-release";
|
|
440
|
+
namespace: string;
|
|
441
|
+
gateway: {
|
|
442
|
+
name: string;
|
|
443
|
+
image: string;
|
|
444
|
+
revision: string;
|
|
445
|
+
replicas: number;
|
|
446
|
+
port: 22;
|
|
447
|
+
listenPort: number;
|
|
448
|
+
hostname: string;
|
|
449
|
+
hostKeyAuthority: {
|
|
450
|
+
publicKey: string;
|
|
451
|
+
fingerprint: string;
|
|
452
|
+
source: {
|
|
453
|
+
repository: string;
|
|
454
|
+
path: string;
|
|
455
|
+
};
|
|
456
|
+
secretRef: {
|
|
457
|
+
name: string;
|
|
458
|
+
privateKeyKey: string;
|
|
459
|
+
publicKeyKey: string;
|
|
460
|
+
mountPath: string;
|
|
461
|
+
};
|
|
462
|
+
provisioning: {
|
|
463
|
+
owner: "secret-management";
|
|
464
|
+
mode: "external-preprovisioned";
|
|
465
|
+
};
|
|
466
|
+
rotation: {
|
|
467
|
+
generation: number;
|
|
468
|
+
strategy: "preprovisioned-atomic";
|
|
469
|
+
previousFingerprint?: string | undefined;
|
|
470
|
+
knownHostsOverlapUntil?: string | undefined;
|
|
471
|
+
};
|
|
472
|
+
};
|
|
473
|
+
env: ({
|
|
474
|
+
source: "literal";
|
|
475
|
+
name: string;
|
|
476
|
+
value: string;
|
|
477
|
+
} | {
|
|
478
|
+
source: "secret";
|
|
479
|
+
name: string;
|
|
480
|
+
secretRef: {
|
|
481
|
+
name: string;
|
|
482
|
+
key: string;
|
|
483
|
+
};
|
|
484
|
+
})[];
|
|
485
|
+
secretMounts: {
|
|
486
|
+
secretName: string;
|
|
487
|
+
mountPath: string;
|
|
488
|
+
readOnly: true;
|
|
489
|
+
keys?: string[] | undefined;
|
|
490
|
+
}[];
|
|
491
|
+
resources: {
|
|
492
|
+
requests: {
|
|
493
|
+
cpu: string;
|
|
494
|
+
memory: string;
|
|
495
|
+
};
|
|
496
|
+
limits: {
|
|
497
|
+
cpu: string;
|
|
498
|
+
memory: string;
|
|
499
|
+
};
|
|
500
|
+
};
|
|
501
|
+
maxUnavailable: 0;
|
|
502
|
+
maxSurge: number;
|
|
503
|
+
};
|
|
504
|
+
controlPlaneRouter: {
|
|
505
|
+
image: string;
|
|
506
|
+
revision: string;
|
|
507
|
+
publicPort: 443;
|
|
508
|
+
listenPort: number;
|
|
509
|
+
tlsSecretRef: {
|
|
510
|
+
name: string;
|
|
511
|
+
certificateKey: string;
|
|
512
|
+
privateKeyKey: string;
|
|
513
|
+
};
|
|
514
|
+
smartGit: {
|
|
515
|
+
enabled: true;
|
|
516
|
+
authorizationOwner: "stateful";
|
|
517
|
+
pathContract: "owner/repo.git";
|
|
518
|
+
};
|
|
519
|
+
allowedPathPrefixes: string[];
|
|
520
|
+
proxyRepoBrowse: boolean;
|
|
521
|
+
proxyMergeControl: boolean;
|
|
522
|
+
resources: {
|
|
523
|
+
requests: {
|
|
524
|
+
cpu: string;
|
|
525
|
+
memory: string;
|
|
526
|
+
};
|
|
527
|
+
limits: {
|
|
528
|
+
cpu: string;
|
|
529
|
+
memory: string;
|
|
530
|
+
};
|
|
531
|
+
};
|
|
532
|
+
fallbackRedirect?: string | undefined;
|
|
533
|
+
};
|
|
534
|
+
stateful: {
|
|
535
|
+
name: string;
|
|
536
|
+
exposure: "internal";
|
|
537
|
+
adminExposure: "internal";
|
|
538
|
+
image: string;
|
|
539
|
+
revision: string;
|
|
540
|
+
replicas: 1;
|
|
541
|
+
port: number;
|
|
542
|
+
storage: {
|
|
543
|
+
mountPath: string;
|
|
544
|
+
size: string;
|
|
545
|
+
accessMode: "ReadWriteOnce";
|
|
546
|
+
schemaVersion: number;
|
|
547
|
+
releaseCompatibility: {
|
|
548
|
+
readFrom: number;
|
|
549
|
+
readThrough: number;
|
|
550
|
+
writeVersion: number;
|
|
551
|
+
};
|
|
552
|
+
storageClassName?: string | undefined;
|
|
553
|
+
};
|
|
554
|
+
backup: {
|
|
555
|
+
mode: "restic-s3";
|
|
556
|
+
toolImage: string;
|
|
557
|
+
repository: string;
|
|
558
|
+
credentials: {
|
|
559
|
+
accessKeyId: {
|
|
560
|
+
key: string;
|
|
561
|
+
store?: string | undefined;
|
|
562
|
+
env?: string | undefined;
|
|
563
|
+
};
|
|
564
|
+
secretAccessKey: {
|
|
565
|
+
key: string;
|
|
566
|
+
store?: string | undefined;
|
|
567
|
+
env?: string | undefined;
|
|
568
|
+
};
|
|
569
|
+
encryptionKey: {
|
|
570
|
+
key: string;
|
|
571
|
+
store?: string | undefined;
|
|
572
|
+
env?: string | undefined;
|
|
573
|
+
};
|
|
574
|
+
};
|
|
575
|
+
schedule: string;
|
|
576
|
+
retention: {
|
|
577
|
+
keepDaily: number;
|
|
578
|
+
keepWeekly: number;
|
|
579
|
+
keepMonthly: number;
|
|
580
|
+
};
|
|
581
|
+
restoreVerify: {
|
|
582
|
+
schedule: string;
|
|
583
|
+
scratchSize: string;
|
|
584
|
+
timeoutSeconds: number;
|
|
585
|
+
};
|
|
586
|
+
} | {
|
|
587
|
+
mode: "csi-volume-snapshot";
|
|
588
|
+
toolImage: string;
|
|
589
|
+
snapshotClassName: string;
|
|
590
|
+
deletionPolicy: "Delete";
|
|
591
|
+
schedule: string;
|
|
592
|
+
retention: {
|
|
593
|
+
verifiedGenerations: number;
|
|
594
|
+
};
|
|
595
|
+
restoreVerify: {
|
|
596
|
+
schedule: string;
|
|
597
|
+
scratchSize: string;
|
|
598
|
+
timeoutSeconds: number;
|
|
599
|
+
};
|
|
600
|
+
};
|
|
601
|
+
env: ({
|
|
602
|
+
source: "literal";
|
|
603
|
+
name: string;
|
|
604
|
+
value: string;
|
|
605
|
+
} | {
|
|
606
|
+
source: "secret";
|
|
607
|
+
name: string;
|
|
608
|
+
secretRef: {
|
|
609
|
+
name: string;
|
|
610
|
+
key: string;
|
|
611
|
+
};
|
|
612
|
+
})[];
|
|
613
|
+
secretMounts: {
|
|
614
|
+
secretName: string;
|
|
615
|
+
mountPath: string;
|
|
616
|
+
readOnly: true;
|
|
617
|
+
keys?: string[] | undefined;
|
|
618
|
+
}[];
|
|
619
|
+
resources: {
|
|
620
|
+
requests: {
|
|
621
|
+
cpu: string;
|
|
622
|
+
memory: string;
|
|
623
|
+
};
|
|
624
|
+
limits: {
|
|
625
|
+
cpu: string;
|
|
626
|
+
memory: string;
|
|
627
|
+
};
|
|
628
|
+
};
|
|
629
|
+
repositoryMigration?: {
|
|
630
|
+
mode: "mirror-ssh";
|
|
631
|
+
migrationId: string;
|
|
632
|
+
source: {
|
|
633
|
+
origin: string;
|
|
634
|
+
inventoryUrl: string;
|
|
635
|
+
sshLeaseUrl: string;
|
|
636
|
+
inventoryAuthoritySecretRef: {
|
|
637
|
+
name: string;
|
|
638
|
+
key: string;
|
|
639
|
+
};
|
|
640
|
+
};
|
|
641
|
+
expected: {
|
|
642
|
+
repositoryCount: number;
|
|
643
|
+
owners: {
|
|
644
|
+
ownerType: "user" | "organization";
|
|
645
|
+
ownerId: string;
|
|
646
|
+
repositoryCount: number;
|
|
647
|
+
}[];
|
|
648
|
+
};
|
|
649
|
+
receipt: {
|
|
650
|
+
configMapName: string;
|
|
651
|
+
};
|
|
652
|
+
convergence: {
|
|
653
|
+
stablePasses: 2;
|
|
654
|
+
};
|
|
655
|
+
rollback: {
|
|
656
|
+
mode: "source-authoritative-until-public-cutover";
|
|
657
|
+
};
|
|
658
|
+
} | undefined;
|
|
659
|
+
};
|
|
660
|
+
secretBindings: {
|
|
661
|
+
source: {
|
|
662
|
+
kind: "secret-store";
|
|
663
|
+
key: string;
|
|
664
|
+
} | {
|
|
665
|
+
kind: "repository-file";
|
|
666
|
+
path: string;
|
|
667
|
+
};
|
|
668
|
+
target: {
|
|
669
|
+
name: string;
|
|
670
|
+
key: string;
|
|
671
|
+
};
|
|
672
|
+
description: string;
|
|
673
|
+
}[];
|
|
674
|
+
networkPolicy: {
|
|
675
|
+
defaultDenyIngress: true;
|
|
676
|
+
allowGatewayToStateful: true;
|
|
677
|
+
egress: {
|
|
678
|
+
defaultDeny: true;
|
|
679
|
+
platformAuthCidrs: string[];
|
|
680
|
+
objectBackupCidrs?: string[] | undefined;
|
|
681
|
+
objectBackupHostnames?: string[] | undefined;
|
|
682
|
+
};
|
|
683
|
+
};
|
|
684
|
+
name?: string | undefined;
|
|
685
|
+
description?: string | undefined;
|
|
686
|
+
tags?: string[] | undefined;
|
|
687
|
+
hardware?: string[] | undefined;
|
|
688
|
+
enabled?: boolean | undefined;
|
|
689
|
+
priority?: number | undefined;
|
|
690
|
+
capabilityId?: string | undefined;
|
|
691
|
+
requiredContext?: string[] | undefined;
|
|
692
|
+
optionalContext?: string[] | undefined;
|
|
693
|
+
retention?: string | {
|
|
694
|
+
reason: string;
|
|
695
|
+
maxAgeDays?: number | undefined;
|
|
696
|
+
maxEntries?: number | undefined;
|
|
697
|
+
maxBytes?: number | undefined;
|
|
698
|
+
cascadeFrom?: string | undefined;
|
|
699
|
+
ageField?: string | undefined;
|
|
700
|
+
enforcedBy?: string | undefined;
|
|
701
|
+
} | undefined;
|
|
702
|
+
}, {
|
|
703
|
+
id: string;
|
|
704
|
+
kind: "infra/service-release";
|
|
705
|
+
namespace: string;
|
|
706
|
+
gateway: {
|
|
707
|
+
name: string;
|
|
708
|
+
image: string;
|
|
709
|
+
revision: string;
|
|
710
|
+
replicas: number;
|
|
711
|
+
port: 22;
|
|
712
|
+
listenPort: number;
|
|
713
|
+
hostname: string;
|
|
714
|
+
hostKeyAuthority: {
|
|
715
|
+
publicKey: string;
|
|
716
|
+
fingerprint: string;
|
|
717
|
+
source: {
|
|
718
|
+
repository: string;
|
|
719
|
+
path: string;
|
|
720
|
+
};
|
|
721
|
+
secretRef: {
|
|
722
|
+
name: string;
|
|
723
|
+
privateKeyKey: string;
|
|
724
|
+
publicKeyKey: string;
|
|
725
|
+
mountPath: string;
|
|
726
|
+
};
|
|
727
|
+
provisioning: {
|
|
728
|
+
owner: "secret-management";
|
|
729
|
+
mode: "external-preprovisioned";
|
|
730
|
+
};
|
|
731
|
+
rotation: {
|
|
732
|
+
generation: number;
|
|
733
|
+
strategy: "preprovisioned-atomic";
|
|
734
|
+
previousFingerprint?: string | undefined;
|
|
735
|
+
knownHostsOverlapUntil?: string | undefined;
|
|
736
|
+
};
|
|
737
|
+
};
|
|
738
|
+
env: ({
|
|
739
|
+
source: "literal";
|
|
740
|
+
name: string;
|
|
741
|
+
value: string;
|
|
742
|
+
} | {
|
|
743
|
+
source: "secret";
|
|
744
|
+
name: string;
|
|
745
|
+
secretRef: {
|
|
746
|
+
name: string;
|
|
747
|
+
key: string;
|
|
748
|
+
};
|
|
749
|
+
})[];
|
|
750
|
+
secretMounts: {
|
|
751
|
+
secretName: string;
|
|
752
|
+
mountPath: string;
|
|
753
|
+
readOnly: true;
|
|
754
|
+
keys?: string[] | undefined;
|
|
755
|
+
}[];
|
|
756
|
+
resources: {
|
|
757
|
+
requests: {
|
|
758
|
+
cpu: string;
|
|
759
|
+
memory: string;
|
|
760
|
+
};
|
|
761
|
+
limits: {
|
|
762
|
+
cpu: string;
|
|
763
|
+
memory: string;
|
|
764
|
+
};
|
|
765
|
+
};
|
|
766
|
+
maxUnavailable: 0;
|
|
767
|
+
maxSurge: number;
|
|
768
|
+
};
|
|
769
|
+
controlPlaneRouter: {
|
|
770
|
+
image: string;
|
|
771
|
+
revision: string;
|
|
772
|
+
publicPort: 443;
|
|
773
|
+
listenPort: number;
|
|
774
|
+
tlsSecretRef: {
|
|
775
|
+
name: string;
|
|
776
|
+
certificateKey: string;
|
|
777
|
+
privateKeyKey: string;
|
|
778
|
+
};
|
|
779
|
+
smartGit: {
|
|
780
|
+
enabled: true;
|
|
781
|
+
authorizationOwner: "stateful";
|
|
782
|
+
pathContract: "owner/repo.git";
|
|
783
|
+
};
|
|
784
|
+
allowedPathPrefixes: string[];
|
|
785
|
+
proxyRepoBrowse: boolean;
|
|
786
|
+
proxyMergeControl: boolean;
|
|
787
|
+
resources: {
|
|
788
|
+
requests: {
|
|
789
|
+
cpu: string;
|
|
790
|
+
memory: string;
|
|
791
|
+
};
|
|
792
|
+
limits: {
|
|
793
|
+
cpu: string;
|
|
794
|
+
memory: string;
|
|
795
|
+
};
|
|
796
|
+
};
|
|
797
|
+
fallbackRedirect?: string | undefined;
|
|
798
|
+
};
|
|
799
|
+
stateful: {
|
|
800
|
+
name: string;
|
|
801
|
+
exposure: "internal";
|
|
802
|
+
adminExposure: "internal";
|
|
803
|
+
image: string;
|
|
804
|
+
revision: string;
|
|
805
|
+
replicas: 1;
|
|
806
|
+
port: number;
|
|
807
|
+
storage: {
|
|
808
|
+
mountPath: string;
|
|
809
|
+
size: string;
|
|
810
|
+
accessMode: "ReadWriteOnce";
|
|
811
|
+
schemaVersion: number;
|
|
812
|
+
releaseCompatibility: {
|
|
813
|
+
readFrom: number;
|
|
814
|
+
readThrough: number;
|
|
815
|
+
writeVersion: number;
|
|
816
|
+
};
|
|
817
|
+
storageClassName?: string | undefined;
|
|
818
|
+
};
|
|
819
|
+
backup: {
|
|
820
|
+
mode: "restic-s3";
|
|
821
|
+
toolImage: string;
|
|
822
|
+
repository: string;
|
|
823
|
+
credentials: {
|
|
824
|
+
accessKeyId: {
|
|
825
|
+
key: string;
|
|
826
|
+
store?: string | undefined;
|
|
827
|
+
env?: string | undefined;
|
|
828
|
+
};
|
|
829
|
+
secretAccessKey: {
|
|
830
|
+
key: string;
|
|
831
|
+
store?: string | undefined;
|
|
832
|
+
env?: string | undefined;
|
|
833
|
+
};
|
|
834
|
+
encryptionKey: {
|
|
835
|
+
key: string;
|
|
836
|
+
store?: string | undefined;
|
|
837
|
+
env?: string | undefined;
|
|
838
|
+
};
|
|
839
|
+
};
|
|
840
|
+
schedule: string;
|
|
841
|
+
retention: {
|
|
842
|
+
keepDaily: number;
|
|
843
|
+
keepWeekly: number;
|
|
844
|
+
keepMonthly: number;
|
|
845
|
+
};
|
|
846
|
+
restoreVerify: {
|
|
847
|
+
schedule: string;
|
|
848
|
+
scratchSize: string;
|
|
849
|
+
timeoutSeconds: number;
|
|
850
|
+
};
|
|
851
|
+
} | {
|
|
852
|
+
mode: "csi-volume-snapshot";
|
|
853
|
+
toolImage: string;
|
|
854
|
+
snapshotClassName: string;
|
|
855
|
+
deletionPolicy: "Delete";
|
|
856
|
+
schedule: string;
|
|
857
|
+
retention: {
|
|
858
|
+
verifiedGenerations: number;
|
|
859
|
+
};
|
|
860
|
+
restoreVerify: {
|
|
861
|
+
schedule: string;
|
|
862
|
+
scratchSize: string;
|
|
863
|
+
timeoutSeconds: number;
|
|
864
|
+
};
|
|
865
|
+
};
|
|
866
|
+
env: ({
|
|
867
|
+
source: "literal";
|
|
868
|
+
name: string;
|
|
869
|
+
value: string;
|
|
870
|
+
} | {
|
|
871
|
+
source: "secret";
|
|
872
|
+
name: string;
|
|
873
|
+
secretRef: {
|
|
874
|
+
name: string;
|
|
875
|
+
key: string;
|
|
876
|
+
};
|
|
877
|
+
})[];
|
|
878
|
+
secretMounts: {
|
|
879
|
+
secretName: string;
|
|
880
|
+
mountPath: string;
|
|
881
|
+
readOnly: true;
|
|
882
|
+
keys?: string[] | undefined;
|
|
883
|
+
}[];
|
|
884
|
+
resources: {
|
|
885
|
+
requests: {
|
|
886
|
+
cpu: string;
|
|
887
|
+
memory: string;
|
|
888
|
+
};
|
|
889
|
+
limits: {
|
|
890
|
+
cpu: string;
|
|
891
|
+
memory: string;
|
|
892
|
+
};
|
|
893
|
+
};
|
|
894
|
+
repositoryMigration?: {
|
|
895
|
+
mode: "mirror-ssh";
|
|
896
|
+
migrationId: string;
|
|
897
|
+
source: {
|
|
898
|
+
origin: string;
|
|
899
|
+
inventoryUrl: string;
|
|
900
|
+
sshLeaseUrl: string;
|
|
901
|
+
inventoryAuthoritySecretRef: {
|
|
902
|
+
name: string;
|
|
903
|
+
key: string;
|
|
904
|
+
};
|
|
905
|
+
};
|
|
906
|
+
expected: {
|
|
907
|
+
repositoryCount: number;
|
|
908
|
+
owners: {
|
|
909
|
+
ownerType: "user" | "organization";
|
|
910
|
+
ownerId: string;
|
|
911
|
+
repositoryCount: number;
|
|
912
|
+
}[];
|
|
913
|
+
};
|
|
914
|
+
receipt: {
|
|
915
|
+
configMapName: string;
|
|
916
|
+
};
|
|
917
|
+
convergence: {
|
|
918
|
+
stablePasses: 2;
|
|
919
|
+
};
|
|
920
|
+
rollback: {
|
|
921
|
+
mode: "source-authoritative-until-public-cutover";
|
|
922
|
+
};
|
|
923
|
+
} | undefined;
|
|
924
|
+
};
|
|
925
|
+
secretBindings: {
|
|
926
|
+
source: {
|
|
927
|
+
kind: "secret-store";
|
|
928
|
+
key: string;
|
|
929
|
+
} | {
|
|
930
|
+
kind: "repository-file";
|
|
931
|
+
path: string;
|
|
932
|
+
};
|
|
933
|
+
target: {
|
|
934
|
+
name: string;
|
|
935
|
+
key: string;
|
|
936
|
+
};
|
|
937
|
+
description: string;
|
|
938
|
+
}[];
|
|
939
|
+
networkPolicy: {
|
|
940
|
+
defaultDenyIngress: true;
|
|
941
|
+
allowGatewayToStateful: true;
|
|
942
|
+
egress: {
|
|
943
|
+
defaultDeny: true;
|
|
944
|
+
platformAuthCidrs: string[];
|
|
945
|
+
objectBackupCidrs?: string[] | undefined;
|
|
946
|
+
objectBackupHostnames?: string[] | undefined;
|
|
947
|
+
};
|
|
948
|
+
};
|
|
949
|
+
config: {
|
|
950
|
+
[x: string]: unknown;
|
|
951
|
+
adapter: string;
|
|
952
|
+
dnsOwnerRef: string;
|
|
953
|
+
namespaceQuota?: {
|
|
954
|
+
name: string;
|
|
955
|
+
hard: {
|
|
956
|
+
'limits.cpu': string;
|
|
957
|
+
'limits.memory': string;
|
|
958
|
+
persistentvolumeclaims: string;
|
|
959
|
+
pods: string;
|
|
960
|
+
'requests.cpu': string;
|
|
961
|
+
'requests.memory': string;
|
|
962
|
+
'requests.storage': string;
|
|
963
|
+
};
|
|
964
|
+
} | undefined;
|
|
965
|
+
backupStorage?: {
|
|
966
|
+
adapter: "s3-compatible";
|
|
967
|
+
authority: {
|
|
968
|
+
provider: string;
|
|
969
|
+
name: string;
|
|
970
|
+
requiredControlPlaneScopes: string[];
|
|
971
|
+
};
|
|
972
|
+
bucket: string;
|
|
973
|
+
region: string;
|
|
974
|
+
endpoint: string;
|
|
975
|
+
forcePathStyle: true;
|
|
976
|
+
versioning: "Enabled";
|
|
977
|
+
publicAccess: "private";
|
|
978
|
+
} | undefined;
|
|
979
|
+
certificate?: {
|
|
980
|
+
manager: "cert-manager";
|
|
981
|
+
issuerRef: {
|
|
982
|
+
kind: "ClusterIssuer" | "Issuer";
|
|
983
|
+
name: string;
|
|
984
|
+
};
|
|
985
|
+
duration: "2160h";
|
|
986
|
+
renewBefore: "360h";
|
|
987
|
+
privateKey: {
|
|
988
|
+
algorithm: "ECDSA";
|
|
989
|
+
size: 256;
|
|
990
|
+
rotationPolicy: "Always";
|
|
991
|
+
};
|
|
992
|
+
provisioning?: {
|
|
993
|
+
owner: "service-release";
|
|
994
|
+
mode: "namespace-acme-dns01";
|
|
995
|
+
server: string;
|
|
996
|
+
email: string;
|
|
997
|
+
privateKeySecretRef: {
|
|
998
|
+
name: string;
|
|
999
|
+
};
|
|
1000
|
+
solver: {
|
|
1001
|
+
provider: string;
|
|
1002
|
+
dnsZones: string[];
|
|
1003
|
+
apiToken: {
|
|
1004
|
+
environment: "local";
|
|
1005
|
+
sourceKeys: string[];
|
|
1006
|
+
target: {
|
|
1007
|
+
name: string;
|
|
1008
|
+
key: string;
|
|
1009
|
+
};
|
|
1010
|
+
};
|
|
1011
|
+
};
|
|
1012
|
+
} | undefined;
|
|
1013
|
+
} | undefined;
|
|
1014
|
+
};
|
|
1015
|
+
name?: string | undefined;
|
|
1016
|
+
description?: string | undefined;
|
|
1017
|
+
tags?: string[] | undefined;
|
|
1018
|
+
hardware?: string[] | undefined;
|
|
1019
|
+
enabled?: boolean | undefined;
|
|
1020
|
+
priority?: number | undefined;
|
|
1021
|
+
capabilityId?: string | undefined;
|
|
1022
|
+
requiredContext?: string[] | undefined;
|
|
1023
|
+
optionalContext?: string[] | undefined;
|
|
1024
|
+
retention?: string | {
|
|
1025
|
+
reason: string;
|
|
1026
|
+
maxAgeDays?: number | undefined;
|
|
1027
|
+
maxEntries?: number | undefined;
|
|
1028
|
+
maxBytes?: number | undefined;
|
|
1029
|
+
cascadeFrom?: string | undefined;
|
|
1030
|
+
ageField?: string | undefined;
|
|
1031
|
+
enforcedBy?: string | undefined;
|
|
1032
|
+
} | undefined;
|
|
1033
|
+
}>>;
|
|
1034
|
+
export type DigitalOceanKubernetesServiceReleaseTarget = z.infer<typeof DigitalOceanKubernetesServiceReleaseTargetSchema>;
|
|
1035
|
+
export type DigitalOceanKubernetesServiceReleaseConfig = z.infer<typeof DigitalOceanKubernetesServiceReleaseConfigSchema>;
|
|
1036
|
+
export type DigitalOceanServiceReleaseDescriptor = z.infer<typeof DigitalOceanServiceReleaseDescriptorSchema>;
|
|
1037
|
+
//# sourceMappingURL=service-release-schemas.d.ts.map
|