Skip to content

Commit

Permalink
fix examples
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Hoß <[email protected]>
  • Loading branch information
sebhoss committed Sep 27, 2024
1 parent 6c3b36c commit a2fbae2
Show file tree
Hide file tree
Showing 14 changed files with 44 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ data "k8s_gateway_networking_k8s_io_backend_lb_policy_v1alpha2_manifest" "exampl
name = "some-name"
namespace = "some-namespace"
}
spec = {
target_refs = []
}
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ data "k8s_gateway_networking_k8s_io_backend_tls_policy_v1alpha3_manifest" "examp
name = "some-name"
namespace = "some-namespace"
}
spec = {
target_refs = []
validation = {
hostname = "some-host"
}
}
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ WorkloadPriorityClass is the Schema for the workloadPriorityClass API
data "k8s_kueue_x_k8s_io_workload_priority_class_v1beta1_manifest" "example" {
metadata = {
name = "some-name"
}
value = 12345
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ data "k8s_operator_victoriametrics_com_vm_probe_v1beta1_manifest" "example" {
name = "some-name"
namespace = "some-namespace"
}
spec = {
vm_prober_spec = {
url = "some-url"
}
}
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ data "k8s_operator_victoriametrics_com_vm_rule_v1beta1_manifest" "example" {
name = "some-name"
namespace = "some-namespace"
}
spec = {
groups = []
}
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ data "k8s_operator_victoriametrics_com_vm_service_scrape_v1beta1_manifest" "exam
name = "some-name"
namespace = "some-namespace"
}
spec = {
endpoints = []
}
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ data "k8s_work_karmada_io_work_v1alpha1_manifest" "example" {
name = "some-name"
namespace = "some-namespace"
}
spec = {}
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,7 @@ data "k8s_gateway_networking_k8s_io_backend_lb_policy_v1alpha2_manifest" "exampl
name = "some-name"
namespace = "some-namespace"
}
spec = {
target_refs = []
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,10 @@ data "k8s_gateway_networking_k8s_io_backend_tls_policy_v1alpha3_manifest" "examp
name = "some-name"
namespace = "some-namespace"
}
spec = {
target_refs = []
validation = {
hostname = "some-host"
}
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
data "k8s_kueue_x_k8s_io_workload_priority_class_v1beta1_manifest" "example" {
metadata = {
name = "some-name"

}
value = 12345
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,9 @@ data "k8s_operator_victoriametrics_com_vm_probe_v1beta1_manifest" "example" {
name = "some-name"
namespace = "some-namespace"
}
spec = {
vm_prober_spec = {
url = "some-url"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,7 @@ data "k8s_operator_victoriametrics_com_vm_rule_v1beta1_manifest" "example" {
name = "some-name"
namespace = "some-namespace"
}
spec = {
groups = []
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,7 @@ data "k8s_operator_victoriametrics_com_vm_service_scrape_v1beta1_manifest" "exam
name = "some-name"
namespace = "some-namespace"
}
spec = {
endpoints = []
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ data "k8s_work_karmada_io_work_v1alpha1_manifest" "example" {
name = "some-name"
namespace = "some-namespace"
}
spec = {}
}

0 comments on commit a2fbae2

Please sign in to comment.