-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7e17c72
commit 54ffce9
Showing
10 changed files
with
252 additions
and
136 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,38 @@ | ||
# Submodule - harvester-vm-image | ||
|
||
<!-- BEGIN_TF_DOCS --> | ||
|
||
## Providers | ||
|
||
| Name | Version | | ||
| --------- | ------- | | ||
| harvester | 0.6.3 | | ||
| Name | Version | | ||
|------|---------| | ||
| harvester | 0.6.3 | | ||
|
||
|
||
|
||
## Resources | ||
|
||
| Name | Type | | ||
| ------------------------------------------------------------------------------------------------------------------ | -------- | | ||
| Name | Type | | ||
|------|------| | ||
| [harvester_image.vm_image](https://registry.terraform.io/providers/harvester/harvester/0.6.3/docs/resources/image) | resource | | ||
|
||
## Inputs | ||
|
||
| Name | Description | Type | Default | Required | | ||
| ------------ | -------------------------------------------------- | ------------- | ------- | :------: | | ||
| display_name | The display name for the OS image | `string` | n/a | yes | | ||
| name | The name of the OS image | `string` | n/a | yes | | ||
| namespace | The namespace where the image will reside | `string` | n/a | yes | | ||
| source_type | Source type for the image (e.g., download, upload) | `string` | n/a | yes | | ||
| url | URL from where the image will be downloaded | `string` | n/a | yes | | ||
| tags | Tags associated with the image | `map(string)` | `{}` | no | | ||
| Name | Description | Type | Default | Required | | ||
|------|-------------|------|---------|:--------:| | ||
| display_name | The display name for the OS image | `string` | n/a | yes | | ||
| name | The name of the OS image | `string` | n/a | yes | | ||
| namespace | The namespace where the image will reside | `string` | n/a | yes | | ||
| source_type | Source type for the image (e.g., download, upload) | `string` | n/a | yes | | ||
| url | URL from where the image will be downloaded | `string` | n/a | yes | | ||
| description | Any text you want that better describes this resource | `string` | `""` | no | | ||
| pvc_name | PVC Name | `string` | `""` | no | | ||
| pvc_namespace | PVC Namespace | `string` | `""` | no | | ||
| storage_class_name | The name of the storage class | `string` | `""` | no | | ||
| tags | Tags associated with the image | `map(string)` | `{}` | no | | ||
|
||
## Outputs | ||
|
||
| Name | Description | | ||
| -------- | ---------------------- | | ||
| Name | Description | | ||
|------|-------------| | ||
| image_id | The ID of the VM image | | ||
|
||
<!-- END_TF_DOCS --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
resource "harvester_image" "vm_image" { | ||
name = var.name | ||
namespace = var.namespace | ||
display_name = var.display_name | ||
source_type = var.source_type | ||
url = var.url | ||
tags = var.tags | ||
name = var.name | ||
namespace = var.namespace | ||
display_name = var.display_name | ||
source_type = var.source_type | ||
url = var.url | ||
tags = var.tags | ||
description = var.description | ||
storage_class_name = var.storage_class_name | ||
pvc_name = var.pvc_name | ||
pvc_namespace = var.pvc_namespace | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,32 @@ | ||
# Submodule: harvester-vm-network | ||
|
||
<!-- BEGIN_TF_DOCS --> | ||
|
||
## Providers | ||
|
||
| Name | Version | | ||
| --------- | ------- | | ||
| harvester | 0.6.3 | | ||
| Name | Version | | ||
|------|---------| | ||
| harvester | 0.6.3 | | ||
|
||
|
||
|
||
## Resources | ||
|
||
| Name | Type | | ||
| ------------------------------------------------------------------------------------------------------------------------ | -------- | | ||
| Name | Type | | ||
|------|------| | ||
| [harvester_network.vm_network](https://registry.terraform.io/providers/harvester/harvester/0.6.3/docs/resources/network) | resource | | ||
|
||
## Inputs | ||
|
||
| Name | Description | Type | Default | Required | | ||
| -------------------- | ------------------------ | -------- | ------- | :------: | | ||
| cluster_network_name | Cluster network name | `string` | n/a | yes | | ||
| name | Name of the network | `string` | n/a | yes | | ||
| namespace | Namespace of the network | `string` | n/a | yes | | ||
| vlan_id | VLAN ID for the network | `string` | n/a | yes | | ||
| Name | Description | Type | Default | Required | | ||
|------|-------------|------|---------|:--------:| | ||
| cluster_network_name | Cluster network name | `string` | n/a | yes | | ||
| name | Name of the network | `string` | n/a | yes | | ||
| namespace | Namespace of the network | `string` | n/a | yes | | ||
| vlan_id | VLAN ID for the network | `string` | n/a | yes | | ||
|
||
## Outputs | ||
|
||
| Name | Description | | ||
| ------------ | ----------------------- | | ||
| Name | Description | | ||
|------|-------------| | ||
| network_name | The name of the network | | ||
|
||
<!-- END_TF_DOCS --> |
Oops, something went wrong.