Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Service Mesh and Enable VM #363

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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
26 changes: 9 additions & 17 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,15 @@ description: |-

# Rafay Provider

Organizations that have invested in building complex Terraform based "Infrastructure as Code" for cluster provisioning can seamlessly integrate and use the controller for workload related operations.

There are examples in the [GitHub repo](https://github.com/RafaySystems/terraform-provider-rafay).
Organizations that have invested in building complex Terraform based "Infrastructure as Code" for cluster provisioning can seamlessly integrate and use the controller for workload related operations.

There are examples in the [GitHub repo](https://github.com/RafaySystems/terraform-provider-rafay).

---

## Terraform Resource List
## Terraform Resource List

### Released
### Released

| Resource | Version Released |
| ----------------------------------------- | ---------------- |
Expand All @@ -30,23 +29,18 @@ There are examples in the [GitHub repo](https://github.com/RafaySystems/terrafor
| `rafay_chargeback_share` | 1.1.9 |
| `rafay_cloud_credentials_v3` | 1.1.9 |
| `rafay_cluster_sharing` | 1.1.4 |
| `catalog` | 1.1.2 |
| `catalog` | 1.1.2 |
| `secret_group` | 1.1.2 |
| `secret_provider` | 1.1.2 |
| `mesh_profile` | 1.1.2 |
| `cluster_mesh_rule` | 1.1.2 |
| `cluster_mesh_policy` | 1.1.2 |
| `namespace_mesh_rule` | 1.1.2 |
| `namespace_mesh_policy` | 1.1.2 |
| `cost_profile` | 1.1.2 |
| `download_kubeconfig` | 1.1.2 |
| `access_apikey` | 1.1.1 |
| `opa_installation_profile` | 1.1.1 |
| `cluster_network_policy` | 1.1.0 |
| `cluster_network_policy_rule` | 1.1.0 |
| `network_policy_profile` | 1.1.0 |
| `namespace_network_policy_rule` | 1.1.0 |
| `namespace_network_policy` | 1.1.0 |
| `namespace_network_policy_rule` | 1.1.0 |
| `namespace_network_policy` | 1.1.0 |
| `opa_constraint` | 1.1.0 |
| `opa_constraint_template` | 1.1.0 |
| `secret_sealer` | 1.1.0 |
Expand All @@ -72,11 +66,10 @@ There are examples in the [GitHub repo](https://github.com/RafaySystems/terrafor
| `project` | 0.9.11 |
| `repositories` | 0.9.11 |
| | |

### In Development

- `infra_provisioner`
### In Development

- `infra_provisioner`

---

Expand Down Expand Up @@ -106,7 +99,6 @@ explained below:
- Environment variables
- Credentials/configuration file


### Environment Variables

You can provide your credentials via the `RCTL_REST_ENDPOINT`, `RCTL_API_KEY`,
Expand Down
72 changes: 0 additions & 72 deletions docs/resources/blueprint.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ resource "rafay_blueprint" "custom-blueprint" {
enable_ingress = true
enable_logging = false
enable_monitoring = true
enable_vm = false
monitoring {
metrics_server {
enabled = true
Expand Down Expand Up @@ -85,7 +84,6 @@ resource "rafay_blueprint" "custom-blueprint" {
enable_ingress = true
enable_logging = false
enable_monitoring = true
enable_vm = false
monitoring {
metrics_server {
customization_enabled = true
Expand Down Expand Up @@ -139,7 +137,6 @@ resource "rafay_blueprint" "custom-blueprint-advanced" {
enable_ingress = true
enable_logging = false
enable_monitoring = true
enable_vm = false
monitoring {
metrics_server {
enabled = true
Expand Down Expand Up @@ -204,7 +201,6 @@ resource "rafay_blueprint" "custom-blueprint-advanced2" {
enable_ingress = true
enable_logging = false
enable_monitoring = true
enable_vm = false
enable_rook_ceph = true
monitoring {
metrics_server {
Expand Down Expand Up @@ -259,7 +255,6 @@ resource "rafay_blueprint" "custom-golden-blueprint" {
enable_ingress = true
enable_logging = false
enable_monitoring = true
enable_vm = false
monitoring {
metrics_server {
enabled = true
Expand Down Expand Up @@ -298,45 +293,6 @@ resource "rafay_blueprint" "custom-golden-blueprint" {

---

Example of a custom blueprint resource with service mesh.

```terraform
resource "rafay_blueprint" "mesh-blueprint" {
metadata {
name = "custom-mesh-blueprint"
project = "terraform"
}
spec {
version = "v0"
base {
name = "default"
version = "1.19.0"
}
default_addons {
enable_ingress = true
enable_logging = false
enable_monitoring = true
enable_vm = false
}
drift {
action = "Deny"
enabled = true
}

service_mesh {
profile {
name = "tfdemomeshprofile1"
version = "v0"
}
policies {
name = "tfdemocmp1"
version = "v0"
}
}
}
}
```

Example of a custom blueprint resource with cost profile.

```terraform
Expand All @@ -355,7 +311,6 @@ resource "rafay_blueprint" "cost-blueprint" {
enable_ingress = true
enable_logging = false
enable_monitoring = true
enable_vm = false
}
drift {
action = "Deny"
Expand Down Expand Up @@ -412,7 +367,6 @@ resource "rafay_blueprint" "cost-blueprint" {
- `namespace_config` (Block List, Max: 1) namespace config (see [below for nested schema](#nestedblock--spec--namespace_config))
- `opa_policy` (Block List, Max: 1) opa policy and version details (see [below for nested schema](#nestedblock--spec--opa_policy))
- `network_policy` (Block List, Max: 1) Network policy and version details (see [below for nested schema](#nestedblock--spec--network_policy))
- `service_mesh` (Block List, Max: 1) Service Mesh Profile, Cluster Policies and version details (see [below for nested schema](#nestedblock--spec--service_mesh))
- `cost_profile` (Block List, Max: 1) Cost Profile and version details (see [below for nested schema](#nestedblock--spec--cost_profile))
<a id="nestedblock--spec--base"></a>
### Nested Schema for `spec.base`
Expand Down Expand Up @@ -445,7 +399,6 @@ resource "rafay_blueprint" "cost-blueprint" {
- `enable_logging` - (Boolean) If enabled, logging is installed on the cluster.
- `enable_monitoring` - (Boolean) If enabled, monitoring is installed on the cluster.
- `enable_rook_ceph` - (Boolean) If enabled, run ceph inside a cluster.
- `enable_vm` - (Boolean) If enabled, VM operator (kubevirt) is installed on the cluster.
- `monitoring` - (Block List) The configuration for monitoring the resource is installed on the cluster. (See [below for nested schema](#nestedblock--spec--default_addons--monitoring))


Expand Down Expand Up @@ -601,31 +554,6 @@ resource "rafay_blueprint" "cost-blueprint" {
- `name` (String) name of the network profile
- `version` (String) version of the network profile


<a id="nestedblock--spec--service_mesh"></a>
### Nested Schema for `spec.service_mesh`

***Required***

- `policies` (Block List) policy configuration (see [below for nested schema](#nestedblock--spec--service_mesh--policies))
- `profile` (Block List, Max: 1) profile configuration (see [below for nested schema](#nestedblock--spec--service_mesh--profile))

<a id="nestedblock--spec--service_mesh--policies"></a>
### Nested Schema for `spec.service_mesh.policies`

***Required***

- `name` (String) name of the cluster mesh policy
- `version` (String) version of the cluster mesh policy

<a id="nestedblock--spec--service_mesh--profile"></a>
### Nested Schema for `spec.service_mesh.profile`

***Required***

- `name` (String) name of the mesh profile
- `version` (String) version of the mesh profile

<a id="nestedblock--spec--cost_profile"></a>
### Nested Schema for `spec.cost_profile`

Expand Down
101 changes: 0 additions & 101 deletions docs/resources/cluster_mesh_policy.md

This file was deleted.

Loading