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
+18
@@ -12,6 +12,9 @@ import (
|
||||
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
|
||||
)
|
||||
|
||||
// A domain routed to an application or a Compose service through Dokploy's Traefik instance.
|
||||
//
|
||||
// Set exactly one of `applicationId` or `composeId`. When targeting a Compose stack, `serviceName` selects which service in the stack receives the traffic.
|
||||
type Domain struct {
|
||||
pulumi.CustomResourceState
|
||||
|
||||
@@ -29,6 +32,8 @@ type Domain struct {
|
||||
CustomEntrypoint pulumi.StringPtrOutput `pulumi:"customEntrypoint"`
|
||||
// What kind of target this domain points at. Valid values: `compose`, `application`, `preview`.
|
||||
DomainType pulumi.StringOutput `pulumi:"domainType"`
|
||||
// Whether the domain is served. Setting this to `false` removes the route from Traefik but keeps the certificate, path and middleware configuration intact, so the domain can be brought back without reconfiguring it.
|
||||
Enabled pulumi.BoolOutput `pulumi:"enabled"`
|
||||
// Protect this domain with Dokploy's forward auth.
|
||||
ForwardAuthEnabled pulumi.BoolOutput `pulumi:"forwardAuthEnabled"`
|
||||
// Fully-qualified hostname, for example `api.example.com`.
|
||||
@@ -98,6 +103,8 @@ type domainState struct {
|
||||
CustomEntrypoint *string `pulumi:"customEntrypoint"`
|
||||
// What kind of target this domain points at. Valid values: `compose`, `application`, `preview`.
|
||||
DomainType *string `pulumi:"domainType"`
|
||||
// Whether the domain is served. Setting this to `false` removes the route from Traefik but keeps the certificate, path and middleware configuration intact, so the domain can be brought back without reconfiguring it.
|
||||
Enabled *bool `pulumi:"enabled"`
|
||||
// Protect this domain with Dokploy's forward auth.
|
||||
ForwardAuthEnabled *bool `pulumi:"forwardAuthEnabled"`
|
||||
// Fully-qualified hostname, for example `api.example.com`.
|
||||
@@ -135,6 +142,8 @@ type DomainState struct {
|
||||
CustomEntrypoint pulumi.StringPtrInput
|
||||
// What kind of target this domain points at. Valid values: `compose`, `application`, `preview`.
|
||||
DomainType pulumi.StringPtrInput
|
||||
// Whether the domain is served. Setting this to `false` removes the route from Traefik but keeps the certificate, path and middleware configuration intact, so the domain can be brought back without reconfiguring it.
|
||||
Enabled pulumi.BoolPtrInput
|
||||
// Protect this domain with Dokploy's forward auth.
|
||||
ForwardAuthEnabled pulumi.BoolPtrInput
|
||||
// Fully-qualified hostname, for example `api.example.com`.
|
||||
@@ -174,6 +183,8 @@ type domainArgs struct {
|
||||
CustomEntrypoint *string `pulumi:"customEntrypoint"`
|
||||
// What kind of target this domain points at. Valid values: `compose`, `application`, `preview`.
|
||||
DomainType *string `pulumi:"domainType"`
|
||||
// Whether the domain is served. Setting this to `false` removes the route from Traefik but keeps the certificate, path and middleware configuration intact, so the domain can be brought back without reconfiguring it.
|
||||
Enabled *bool `pulumi:"enabled"`
|
||||
// Protect this domain with Dokploy's forward auth.
|
||||
ForwardAuthEnabled *bool `pulumi:"forwardAuthEnabled"`
|
||||
// Fully-qualified hostname, for example `api.example.com`.
|
||||
@@ -210,6 +221,8 @@ type DomainArgs struct {
|
||||
CustomEntrypoint pulumi.StringPtrInput
|
||||
// What kind of target this domain points at. Valid values: `compose`, `application`, `preview`.
|
||||
DomainType pulumi.StringPtrInput
|
||||
// Whether the domain is served. Setting this to `false` removes the route from Traefik but keeps the certificate, path and middleware configuration intact, so the domain can be brought back without reconfiguring it.
|
||||
Enabled pulumi.BoolPtrInput
|
||||
// Protect this domain with Dokploy's forward auth.
|
||||
ForwardAuthEnabled pulumi.BoolPtrInput
|
||||
// Fully-qualified hostname, for example `api.example.com`.
|
||||
@@ -354,6 +367,11 @@ func (o DomainOutput) DomainType() pulumi.StringOutput {
|
||||
return o.ApplyT(func(v *Domain) pulumi.StringOutput { return v.DomainType }).(pulumi.StringOutput)
|
||||
}
|
||||
|
||||
// Whether the domain is served. Setting this to `false` removes the route from Traefik but keeps the certificate, path and middleware configuration intact, so the domain can be brought back without reconfiguring it.
|
||||
func (o DomainOutput) Enabled() pulumi.BoolOutput {
|
||||
return o.ApplyT(func(v *Domain) pulumi.BoolOutput { return v.Enabled }).(pulumi.BoolOutput)
|
||||
}
|
||||
|
||||
// Protect this domain with Dokploy's forward auth.
|
||||
func (o DomainOutput) ForwardAuthEnabled() pulumi.BoolOutput {
|
||||
return o.ApplyT(func(v *Domain) pulumi.BoolOutput { return v.ForwardAuthEnabled }).(pulumi.BoolOutput)
|
||||
|
||||
Reference in New Issue
Block a user