Bridge what Dokploy v0.30 added, and let the docs through
Six new resources from terraform-provider-dokploy v0.2.0 -- Network, DnsProvider, VaultProvider, Schedule, VolumeBackup and Libsql -- plus the new properties on Domain (`enabled`), Compose (`serviceNetworks`, `createEnvFile`, `icon`) and Application. Verified with `pulumi up` against a live v0.30.2 instance: create, preview-clean, and destroy. The upstream provider also now refuses a volume Mount with no `volumeName`, which Dokploy would otherwise turn into an anonymous Docker volume recreated on every deploy. That surfaces here at preview time, before anything exists. Two things made that fix nearly invisible to Pulumi users, so this commit fixes the second one: the bridge resolves the upstream `docs/` through the Go module cache, where a locally `replace`d dependency never lands, so tfgen was emitting every resource with no description at all. UpstreamRepoPath now points at the checkout and all 445 inputs carry documentation -- with names rendered per language, so Python readers see `volume_name` where TypeScript readers see `volumeName`.
This commit is contained in:
Generated
+9
-6
@@ -4,6 +4,9 @@
|
||||
import * as pulumi from "@pulumi/pulumi";
|
||||
import * as utilities from "./utilities";
|
||||
|
||||
/**
|
||||
* A published port that exposes an application directly on the host, bypassing Traefik.
|
||||
*/
|
||||
export class Port extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing Port resource's state with the given name, ID, and optional extra
|
||||
@@ -103,23 +106,23 @@ export interface PortState {
|
||||
/**
|
||||
* Application this port belongs to.
|
||||
*/
|
||||
applicationId?: pulumi.Input<string>;
|
||||
applicationId?: pulumi.Input<string | undefined>;
|
||||
/**
|
||||
* Transport protocol. Valid values: `tcp`, `udp`.
|
||||
*/
|
||||
protocol?: pulumi.Input<string>;
|
||||
protocol?: pulumi.Input<string | undefined>;
|
||||
/**
|
||||
* Docker Swarm publish mode. `host` binds directly to the node; `ingress` uses the swarm routing mesh. Valid values: `ingress`, `host`.
|
||||
*/
|
||||
publishMode?: pulumi.Input<string>;
|
||||
publishMode?: pulumi.Input<string | undefined>;
|
||||
/**
|
||||
* Port exposed on the host.
|
||||
*/
|
||||
publishedPort?: pulumi.Input<number>;
|
||||
publishedPort?: pulumi.Input<number | undefined>;
|
||||
/**
|
||||
* Port the container listens on.
|
||||
*/
|
||||
targetPort?: pulumi.Input<number>;
|
||||
targetPort?: pulumi.Input<number | undefined>;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -137,7 +140,7 @@ export interface PortArgs {
|
||||
/**
|
||||
* Docker Swarm publish mode. `host` binds directly to the node; `ingress` uses the swarm routing mesh. Valid values: `ingress`, `host`.
|
||||
*/
|
||||
publishMode?: pulumi.Input<string>;
|
||||
publishMode?: pulumi.Input<string | undefined>;
|
||||
/**
|
||||
* Port exposed on the host.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user