Skip to content

Commit

Permalink
Merge pull request #466 from threefoldtech/development_update_provider
Browse files Browse the repository at this point in the history
Update provider
  • Loading branch information
rawdaGastan authored Aug 14, 2024
2 parents 4e8189a + 8155e3e commit f1cc38d
Show file tree
Hide file tree
Showing 49 changed files with 509 additions and 543 deletions.
32 changes: 16 additions & 16 deletions docs/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,14 @@ resources:
mnemonic:

scheduler:
type: threefold:provider:Scheduler
type: threefold:Scheduler
options:
provider: ${provider}
properties:
farm_ids: [1]

network:
type: threefold:provider:Network
type: threefold:Network
options:
provider: ${provider}
dependsOn:
Expand Down Expand Up @@ -223,7 +223,7 @@ resources:
mnemonic:

scheduler:
type: threefold:provider:Scheduler
type: threefold:Scheduler
options:
provider: ${provider}
properties:
Expand All @@ -232,7 +232,7 @@ resources:
farm_ids: [1]

network:
type: threefold:provider:Network
type: threefold:Network
options:
provider: ${provider}
dependsOn:
Expand All @@ -246,7 +246,7 @@ resources:
mycelium: true

deployment:
type: threefold:provider:Deployment
type: threefold:Deployment
options:
provider: ${provider}
dependsOn:
Expand Down Expand Up @@ -400,7 +400,7 @@ resources:
mnemonic:

scheduler:
type: threefold:provider:Scheduler
type: threefold:Scheduler
options:
provider: ${provider}
properties:
Expand All @@ -409,7 +409,7 @@ resources:
farm_ids: [1]

network:
type: threefold:provider:Network
type: threefold:Network
options:
provider: ${provider}
dependsOn:
Expand All @@ -422,7 +422,7 @@ resources:
ip_range: 10.1.0.0/16

kubernetes:
type: threefold:provider:Kubernetes
type: threefold:Kubernetes
options:
provider: ${provider}
dependsOn:
Expand Down Expand Up @@ -534,7 +534,7 @@ resources:
mnemonic:

scheduler:
type: threefold:provider:Scheduler
type: threefold:Scheduler
options:
provider: ${provider}
properties:
Expand All @@ -543,7 +543,7 @@ resources:
free_ips: 1

gatewayName:
type: threefold:provider:GatewayName
type: threefold:GatewayName
options:
provider: ${provider}
dependsOn:
Expand Down Expand Up @@ -676,7 +676,7 @@ resources:
mnemonic:

scheduler:
type: threefold:provider:Scheduler
type: threefold:Scheduler
options:
provider: ${provider}
properties:
Expand All @@ -686,7 +686,7 @@ resources:
free_ips: 1

network:
type: threefold:provider:Network
type: threefold:Network
options:
provider: ${provider}
dependsOn:
Expand All @@ -699,7 +699,7 @@ resources:
ip_range: 10.1.0.0/16

deployment:
type: threefold:provider:Deployment
type: threefold:Deployment
options:
provider: ${provider}
dependsOn:
Expand All @@ -717,7 +717,7 @@ resources:
planetary: true

gatewayFQDN:
type: threefold:provider:GatewayFQDN
type: threefold:GatewayFQDN
options:
provider: ${provider}
dependsOn:
Expand Down Expand Up @@ -821,7 +821,7 @@ resources:
mnemonic:

scheduler:
type: threefold:provider:Scheduler
type: threefold:Scheduler
options:
provider: ${provider}
properties:
Expand All @@ -830,7 +830,7 @@ resources:
farm_ids: [1]

deployment:
type: threefold:provider:Deployment
type: threefold:Deployment
options:
provider: ${provider}
properties:
Expand Down
8 changes: 4 additions & 4 deletions examples/yaml/gateway_fqdn/Pulumi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ resources:
mnemonic:

scheduler:
type: threefold:provider:Scheduler
type: threefold:Scheduler
options:
provider: ${provider}
properties:
Expand All @@ -20,7 +20,7 @@ resources:
free_ips: 1

network:
type: threefold:provider:Network
type: threefold:Network
options:
provider: ${provider}
dependsOn:
Expand All @@ -33,7 +33,7 @@ resources:
ip_range: 10.1.0.0/16

deployment:
type: threefold:provider:Deployment
type: threefold:Deployment
options:
provider: ${provider}
dependsOn:
Expand All @@ -51,7 +51,7 @@ resources:
planetary: true

gatewayFQDN:
type: threefold:provider:GatewayFQDN
type: threefold:GatewayFQDN
options:
provider: ${provider}
dependsOn:
Expand Down
4 changes: 2 additions & 2 deletions examples/yaml/gateway_name/Pulumi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ resources:
mnemonic:

scheduler:
type: threefold:provider:Scheduler
type: threefold:Scheduler
options:
provider: ${provider}
properties:
Expand All @@ -19,7 +19,7 @@ resources:
free_ips: 1

gatewayName:
type: threefold:provider:GatewayName
type: threefold:GatewayName
options:
provider: ${provider}
dependsOn:
Expand Down
12 changes: 9 additions & 3 deletions examples/yaml/kubernetes/Pulumi.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: pulumi-threefold
runtime: yaml

# # local build
# plugins:
# providers:
# - name: threefold
# path: ../../../bin

resources:
provider:
type: pulumi:providers:threefold
Expand All @@ -10,7 +16,7 @@ resources:
mnemonic:

scheduler:
type: threefold:provider:Scheduler
type: threefold:Scheduler
options:
provider: ${provider}
properties:
Expand All @@ -19,7 +25,7 @@ resources:
farm_ids: [1]

network:
type: threefold:provider:Network
type: threefold:Network
options:
provider: ${provider}
dependsOn:
Expand All @@ -32,7 +38,7 @@ resources:
ip_range: 10.1.0.0/16

kubernetes:
type: threefold:provider:Kubernetes
type: threefold:Kubernetes
options:
provider: ${provider}
dependsOn:
Expand Down
4 changes: 2 additions & 2 deletions examples/yaml/network/Pulumi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ resources:
mnemonic:

scheduler:
type: threefold:provider:Scheduler
type: threefold:Scheduler
options:
provider: ${provider}
properties:
farm_ids: [1]

network:
type: threefold:provider:Network
type: threefold:Network
options:
provider: ${provider}
dependsOn:
Expand Down
6 changes: 3 additions & 3 deletions examples/yaml/virtual_machine/Pulumi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ resources:
mnemonic:

scheduler:
type: threefold:provider:Scheduler
type: threefold:Scheduler
options:
provider: ${provider}
properties:
Expand All @@ -19,7 +19,7 @@ resources:
farm_ids: [1]

network:
type: threefold:provider:Network
type: threefold:Network
options:
provider: ${provider}
dependsOn:
Expand All @@ -35,7 +35,7 @@ resources:
# manual_nodeID: 9751c596c7c951aedad1a5f78f18b59515064adf660e0d55abead65e6fbbd627 # hex encoded 32 bytes [example]

deployment:
type: threefold:provider:Deployment
type: threefold:Deployment
options:
provider: ${provider}
dependsOn:
Expand Down
4 changes: 2 additions & 2 deletions examples/yaml/zdb/Pulumi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ resources:
mnemonic:

scheduler:
type: threefold:provider:Scheduler
type: threefold:Scheduler
options:
provider: ${provider}
properties:
Expand All @@ -19,7 +19,7 @@ resources:
farm_ids: [1]

deployment:
type: threefold:provider:Deployment
type: threefold:Deployment
options:
provider: ${provider}
properties:
Expand Down
Loading

0 comments on commit f1cc38d

Please sign in to comment.