Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/bolt/core/src/context/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1241,7 +1241,7 @@ impl ServiceContextData {
));
}

if self.depends_on_infra() {
if self.depends_on_infra() && project_ctx.tls_enabled() {
let tls = terraform::output::read_tls(&project_ctx).await;
let k8s_infra = terraform::output::read_k8s_infra(&project_ctx).await;

Expand Down
2 changes: 2 additions & 0 deletions svc/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion svc/pkg/cluster/worker/Service.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ kind = "rust"

[secrets]
"rivet/api_route/token" = {}
"cloudflare/terraform/auth_token" = {}
"cloudflare/terraform/auth_token" = { optional = true }
"ssh/server/private_key_openssh" = {}

[databases]
Expand Down
2 changes: 1 addition & 1 deletion svc/pkg/linode/ops/instance-type-get/Service.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ kind = "rust"
[operation]

[secrets]
"linode/token" = {}
"linode/token" = { optional = true }
2 changes: 1 addition & 1 deletion svc/pkg/linode/ops/server-destroy/Service.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ kind = "rust"
[operation]

[secrets]
"linode/token" = {}
"linode/token" = { optional = true }
2 changes: 1 addition & 1 deletion svc/pkg/linode/ops/server-provision/Service.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ kind = "rust"
[operation]

[secrets]
"linode/token" = {}
"linode/token" = { optional = true }
"ssh/server/private_key_openssh" = {}
2 changes: 1 addition & 1 deletion svc/pkg/linode/standalone/gc/Service.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ kind = "rust"
singleton = true

[secrets]
"linode/token" = {}
"linode/token" = { optional = true }
2 changes: 1 addition & 1 deletion svc/pkg/linode/worker/Service.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ kind = "rust"
[consumer]

[secrets]
"linode/token" = {}
"linode/token" = { optional = true }
"ssh/server/private_key_openssh" = {}
2 changes: 1 addition & 1 deletion svc/pkg/tier/ops/list/Service.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ kind = "rust"
[operation]

[secrets]
"linode/token" = {}
"linode/token" = { optional = true }