Skip to content
Open
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
5 changes: 5 additions & 0 deletions docs/resources/addon.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ resource "rafay_addon" "tfdemoaddon1" {
env = "dev"
name = "app"
}
annotations = {
"key1" = "value1"
"key2" = "value2"
}
}
spec {
namespace = "tftestnamespace"
Expand Down Expand Up @@ -187,6 +191,7 @@ resource "rafay_addon" "tfdemoaddon6" {
***Optional***

- `labels` - (Block) . Labels are key/value pairs that are attached to objects, such as pods. Labels are intended to be used to specify identifying attributes of objects that are meaningful and relevant to users.
- `annotations` - (Map) A map of string keys and values to attach arbitrary, non-identifying metadata to objects for consumption by humans, tools, and libraries.
---

<a id="nestedblock--spec"></a>
Expand Down
7 changes: 7 additions & 0 deletions docs/resources/blueprint.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ resource "rafay_blueprint" "custom-blueprint" {
metadata {
name = "custom-blueprint"
project = "terraform"
annotations = {
"key1" = "value1"
"key2" = "value2"
}
}
spec {
version = "v0"
Expand Down Expand Up @@ -368,6 +372,9 @@ resource "rafay_blueprint" "cost-blueprint" {
- `name` - (String) The name of the resource. This must be unique to the organization.
- `project` - (String) The Rafay project(s) the resource belongs to.

***Optional***

- `annotations` - (Map) A map of string keys and values to attach arbitrary, non-identifying metadata to objects for consumption by humans, tools, and libraries.
---

<a id="nestedblock--spec"></a>
Expand Down
9 changes: 9 additions & 0 deletions docs/resources/cluster_override.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ resource "rafay_cluster_override" "tfdemocluster-override1" {
"rafay.dev/overrideScope" = "clusterLabels"
"rafay.dev/overrideType" = "valuesFile"
}
annotations = {
"key1" = "value1"
"key2" = "value2"
}
}
spec {
cluster_selector = "rafay.dev/clusterName in (cluster-1)"
Expand Down Expand Up @@ -313,6 +317,11 @@ resource "rafay_cluster_override" "override-with-addon-version" {
Note: Same labels are required as shown in the examples.
- For YAML based "rafay.dev/overrideType" : "manifestsFile"
- For HELM based "rafay.dev/overrideType" : "valuesFile"

***Optional***

- `annotations` - (Map) A map of string keys and values to attach arbitrary, non-identifying metadata to objects for consumption by humans, tools, and libraries.
---

<a id="nestedblock--spec"></a>
### Nested Schema for `spec`
Expand Down
8 changes: 8 additions & 0 deletions docs/resources/workload.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ resource "rafay_workload" "tftestworkload1" {
metadata {
name = "tftestworkload1"
project = "terraform"
annotations = {
"key1" = "value1"
"key2" = "value2"
}
}
spec {
namespace = "test-workload1"
Expand Down Expand Up @@ -263,6 +267,10 @@ resource "rafay_workload" "tftestworkload7" {
- `name` - (String) The name of the resource. This must be unique in your organization.
- `project` - (String) The name of the Rafay project the workload will be created in.

***Optional***

- `annotations` - (Map) A map of string keys and values to attach arbitrary, non-identifying metadata to objects for consumption by humans, tools, and libraries.
---

<a id="nestedblock--spec"></a>
### Nested Schema for `spec`
Expand Down
4 changes: 4 additions & 0 deletions examples/resources/rafay_addon/resource.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ resource "rafay_addon" "tfdemoaddon1" {
metadata {
name = "tfdemoaddon1"
project = "terraform"
annotations = {
"key1" = "value1"
"key2" = "value2"
}
}
spec {
namespace = "tfdemonamespace1"
Expand Down
4 changes: 4 additions & 0 deletions examples/resources/rafay_blueprint/resource.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ resource "rafay_blueprint" "blueprint" {
metadata {
name = "custom-blueprint"
project = "terraform"
annotations = {
"key1" = "value1"
"key2" = "value2"
}
}
spec {
version = "v0"
Expand Down
4 changes: 4 additions & 0 deletions examples/resources/rafay_cluster_override/resource.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ resource "rafay_cluster_override" "tfdemocluster-override1" {
"rafay.dev/overrideScope" = "clusterLabels"
"rafay.dev/overrideType" = "valuesFile"
}
annotations = {
"key1" = "value1"
"key2" = "value2"
}
}
spec {
cluster_selector = "rafay.dev/clusterName in (cluster-1)"
Expand Down
4 changes: 4 additions & 0 deletions examples/resources/rafay_workload/data.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ data "rafay_workload" "testworkload" {
metadata {
name = "testworkload"
project = "benny-cilium-test"
annotations = {
"key1" = "value1"
"key2" = "value2"
}
}
}

Expand Down