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

Rc 37567 #734

Draft
wants to merge 70 commits into
base: v2.10.x
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
592eb54
refoctoring and testing
ankitrafay Aug 14, 2024
596c46f
rename
ankitrafay Aug 19, 2024
02b5c4e
address review comments
ankitrafay Aug 20, 2024
690c7b8
change time type to get timezone info
ankitrafay Aug 28, 2024
68d5b99
update master , update rafay-common , build
ankitrafay Aug 29, 2024
2303448
update provider file
ankitrafay Aug 29, 2024
dcf9440
corrected resource template docs for custom provider tasks (#658)
nirav-rafay Aug 30, 2024
2e0baa3
RC-37088: Validation added for empty string
krishnarafay Aug 30, 2024
ac721db
Merge pull request #661 from RafaySystems/RC-37088
janardhan-rafay Aug 30, 2024
e70447c
RC-35187 TF provider for Workload Identity
mvgautham-rafay Jun 19, 2024
2bc81d4
Merge pull request #660 from RafaySystems/RC-34902-aks-workload-ident…
veerendra-rafay Aug 31, 2024
3baf090
merge master
ankitrafay Sep 3, 2024
576303e
Revert "RC-35187 TF provider for Workload Identity"
mvgautham-rafay Sep 3, 2024
e31dd36
Merge pull request #665 from RafaySystems/revert-660-RC-34902-aks-wor…
mvgautham-rafay Sep 3, 2024
0682296
merge master & make install
ankitrafay Sep 4, 2024
9b8c076
add doc for breakglass access
ankitrafay Sep 4, 2024
882d498
Merge pull request #656 from RafaySystems/ankit-RC-34353-1
janardhan-rafay Sep 4, 2024
0b6ab5e
AKS Workload Identity
mvgautham-rafay Jun 19, 2024
2ef3d85
Merge pull request #666 from RafaySystems/RC-34902-aks-workload-ident…
mvgautham-rafay Sep 5, 2024
9a3d9a5
Updating go version in build job
mvgautham-rafay Sep 5, 2024
96f950f
Merge pull request #667 from RafaySystems/RC-34902-aks-workload-ident…
mvgautham-rafay Sep 5, 2024
4473371
#RC-36641: Added artifact driver and tolerations schema
akash-rafay Sep 10, 2024
bc1da7d
Merge pull request #671 from RafaySystems/RC-36641
akash-rafay Sep 10, 2024
8416cd1
#RC-36899: added inputs and outputs for drivers
akash-rafay Sep 11, 2024
2c81625
#RC-36899: added io to drivers
akash-rafay Sep 13, 2024
e6c7e62
Merge pull request #672 from RafaySystems/RC-36899
akash-rafay Sep 13, 2024
9949383
RC-37458: Returning actual error when namespace fails to create throu…
krishnarafay Sep 18, 2024
0e235a3
Merge pull request #674 from RafaySystems/RC-37458
janardhan-rafay Sep 18, 2024
9411e16
RC-35137: TF support for MKS cluster (#670)
vasu-rafay Sep 18, 2024
e39e3e4
RC-37480 typo fix (#677)
ravi-rafay Sep 19, 2024
6ce6ff4
mks-tf: Return diags if apply/delete fails (#682)
vasu-rafay Sep 25, 2024
d269d1f
handling npe by rawstate for aks resource (#684)
mayank-rafay Sep 26, 2024
ef1a558
RC-35187 TF provider for Workload Identity
mvgautham-rafay Jun 19, 2024
d52a8b4
RC-33433: EKS PodIdentity changes
gopikrishna-rafay Sep 27, 2024
74c67c3
Merge pull request #687 from RafaySystems/RC-33433-squashed
gopikrishna-rafay Sep 27, 2024
a72d4ff
RC-37547 Updated docs
mvgautham-rafay Sep 23, 2024
e11e111
Merge pull request #680 from RafaySystems/RC-37253-fix-tf-main
mvgautham-rafay Sep 27, 2024
ca2ffed
Schedules (#686)
nirav-rafay Sep 27, 2024
96d58ae
RC-37547 Updated docs
mvgautham-rafay Sep 23, 2024
59d86c0
Fixed RC-37253
mvgautham-rafay Sep 13, 2024
e872d0c
Merge pull request #691 from RafaySystems/RC-37253-fix-tf-main
mvgautham-rafay Oct 1, 2024
388ed34
fix
ravi-rafay Oct 1, 2024
a4fdbcb
fix (#693)
ravi-rafay Oct 1, 2024
1f582e8
RC-36656 changes for gcp costprofile
varunr2 Aug 12, 2024
6feb2c9
RC-36656 rafay common
varunr2 Sep 19, 2024
20bcbea
rafaycommon
varunr2 Oct 3, 2024
5246ef0
Merge pull request #676 from RafaySystems/feature-RC-35553
raghavendra-rafay Oct 3, 2024
5073d1a
fix to handle empty schedule context and update docs (#697)
nirav-rafay Oct 3, 2024
54865ad
RC-20583 tf refresh fix
ravi-rafay Oct 4, 2024
3f9c48b
#RC-37322: Added environment placement support for workload
akash-rafay Oct 7, 2024
5c74867
#RC-37322: Added flatten env placement
akash-rafay Oct 7, 2024
8b5311e
Merge pull request #699 from RafaySystems/RC-37322
akash-rafay Oct 7, 2024
d9946d6
#RC-37322: Added doc for environment placement in workload
akash-rafay Oct 7, 2024
86598ba
Merge pull request #702 from RafaySystems/RC-37322
akash-rafay Oct 7, 2024
bbbc8bc
#RC-37873: fixed driver issues (#704)
akash-rafay Oct 8, 2024
b5b7155
Merge pull request #698 from RafaySystems/RC-20583
ravi-rafay Oct 9, 2024
c3397b9
fixed driver and cc flatteners
akash-rafay Oct 9, 2024
cb6eaa8
Merge pull request #706 from RafaySystems/fix-flatteners
akash-rafay Oct 9, 2024
8c19d14
Fixed driver output in doc
akash-rafay Oct 9, 2024
81f545c
Merge pull request #708 from RafaySystems/fix-driver-doc
akash-rafay Oct 9, 2024
12eaa2f
added max allowed times opt-out configuration (#700)
nirav-rafay Oct 9, 2024
47f5e78
RC-33433: Add docs for pod identity association
gopikrishna-rafay Oct 15, 2024
4bd445d
Merge pull request #712 from RafaySystems/pod-identity-docs
chaitanya-rafay Oct 16, 2024
4015425
RC-36667: Conjurer TTL support for terraform
venkatm-rafay Oct 18, 2024
2abac2c
Implement Review Comments
venkatm-rafay Oct 18, 2024
c6ddd73
fix to consider schedule optouts from environment (#714)
nirav-rafay Oct 18, 2024
1991277
Merge pull request #713 from RafaySystems/RC-36667
venkatm-rafay Oct 21, 2024
2a7c3bb
#RC-38131,RC-38022: Added execute once support and driver.outputs exa…
akash-rafay Oct 21, 2024
5dd2b79
Merge pull request #716 from RafaySystems/RC-38131
akash-rafay Oct 21, 2024
286bb62
RC-37567
Vihari-Panathula Nov 13, 2024
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
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pipeline {
agent {
docker {
image 'public.ecr.aws/bitnami/golang:1.22.3'
image 'public.ecr.aws/bitnami/golang:1.22.5'
args '-u root:sudo'
reuseNode false
}
Expand Down
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ test:
testacc:
TF_ACC=1 go test $(TEST) -v $(TESTARGS) -timeout 120m


fwgen:
bash internal/scripts/fwgen.sh

push:
aws s3 cp ./bin/${BINARY}_${VERSION}_darwin_amd64 s3://$(BUCKET_NAME)/$(TAG)/$(BUILD_NUMBER)/${BINARY}_${VERSION}_darwin_amd64 --no-progress
aws s3 cp ./bin/${BINARY}_${VERSION}_freebsd_386 s3://$(BUCKET_NAME)/$(TAG)/$(BUILD_NUMBER)/${BINARY}_${VERSION}_freebsd_386 --no-progress
Expand Down
252 changes: 252 additions & 0 deletions docs/data-sources/mks_cluster.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,252 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "rafay_mks_cluster Data Source - rafay"
subcategory: ""
description: |-

---

# rafay_mks_cluster (Data Source)
```terraform
data "rafay_mks_cluster" "mks-sample-cluster" {
metadata = {
name = "mks-sample-cluster"
project = "sample-project"
}
}
```


<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `metadata` (Attributes) metadata of the resource (see [below for nested schema](#nestedatt--metadata))

### Read-Only

- `api_version` (String) api version
- `kind` (String) kind
- `spec` (Attributes) cluster specification (see [below for nested schema](#nestedatt--spec))

<a id="nestedatt--metadata"></a>
### Nested Schema for `metadata`

Required:

- `name` (String) name of the resource
- `project` (String) Project of the resource

Read-Only:

- `annotations` (Map of String) annotations of the resource
- `description` (String) description of the resource
- `labels` (Map of String) labels of the resource


<a id="nestedatt--spec"></a>
### Nested Schema for `spec`

Read-Only:

- `blueprint` (Attributes) (see [below for nested schema](#nestedatt--spec--blueprint))
- `cloud_credentials` (String) The credentials to be used to ssh into the Clusster Nodes
- `config` (Attributes) MKS V3 cluster specification (see [below for nested schema](#nestedatt--spec--config))
- `proxy` (Attributes) (see [below for nested schema](#nestedatt--spec--proxy))
- `sharing` (Attributes) (see [below for nested schema](#nestedatt--spec--sharing))
- `system_components_placement` (Attributes) (see [below for nested schema](#nestedatt--spec--system_components_placement))
- `type` (String) The type of the cluster this spec corresponds to

<a id="nestedatt--spec--blueprint"></a>
### Nested Schema for `spec.blueprint`

Read-Only:

- `name` (String)
- `version` (String) Version of the blueprint


<a id="nestedatt--spec--config"></a>
### Nested Schema for `spec.config`

Read-Only:

- `auto_approve_nodes` (Boolean) Auto approves incoming nodes by default
- `cluster_ssh` (Attributes) SSH config for all the nodes within the cluster (see [below for nested schema](#nestedatt--spec--config--cluster_ssh))
- `dedicated_control_plane` (Boolean) Select this option for preventing scheduling of user workloads on Control Plane nodes
- `high_availability` (Boolean) Select this option for highly available control plane. Minimum three control plane nodes are required
- `kubernetes_upgrade` (Attributes) (see [below for nested schema](#nestedatt--spec--config--kubernetes_upgrade))
- `kubernetes_version` (String) Kubernetes version of the Control Plane
- `installer_ttl` (Integer) By default, this setting allows ttl configuration for installer config. If not provided by default will set ttl to 365 days.
- `location` (String) The data center location where the cluster nodes will be launched
- `network` (Attributes) MKS Cluster Network Specification (see [below for nested schema](#nestedatt--spec--config--network))
- `nodes` (Attributes Map) holds node configuration for the cluster (see [below for nested schema](#nestedatt--spec--config--nodes))

<a id="nestedatt--spec--config--cluster_ssh"></a>
### Nested Schema for `spec.config.cluster_ssh`

Read-Only:

- `passphrase` (String) Provide ssh passphrase
- `port` (String) Provide ssh port
- `private_key_path` (String) Provide local path to the private key
- `username` (String) Provide the ssh username


<a id="nestedatt--spec--config--kubernetes_upgrade"></a>
### Nested Schema for `spec.config.kubernetes_upgrade`

Read-Only:

- `params` (Attributes) (see [below for nested schema](#nestedatt--spec--config--kubernetes_upgrade--params))
- `strategy` (String) Kubernetes upgrade strategy for worker nodes and Valid options are: concurrent/sequential

<a id="nestedatt--spec--config--kubernetes_upgrade--params"></a>
### Nested Schema for `spec.config.kubernetes_upgrade.params`

Read-Only:

- `worker_concurrency` (String) It can be number or percentage



<a id="nestedatt--spec--config--network"></a>
### Nested Schema for `spec.config.network`

Read-Only:

- `cni` (Attributes) MKS Cluster CNI Specification (see [below for nested schema](#nestedatt--spec--config--network--cni))
- `ipv6` (Attributes) (see [below for nested schema](#nestedatt--spec--config--network--ipv6))
- `pod_subnet` (String) Kubernetes pod subnet
- `service_subnet` (String) Kubernetes service subnet

<a id="nestedatt--spec--config--network--cni"></a>
### Nested Schema for `spec.config.network.cni`

Read-Only:

- `name` (String) Provide the CNI name, e.g., Calico or Cilium
- `version` (String) Provide the CNI version, e.g., 3.26.1


<a id="nestedatt--spec--config--network--ipv6"></a>
### Nested Schema for `spec.config.network.ipv6`

Read-Only:

- `pod_subnet` (String) Kubernetes pod subnet
- `service_subnet` (String) Kubernetes service subnet



<a id="nestedatt--spec--config--nodes"></a>
### Nested Schema for `spec.config.nodes`

Read-Only:

- `arch` (String) System Architecture of the node
- `hostname` (String) Hostname of the node
- `interface` (String) Interface to be used on the node
- `labels` (Map of String) labels to be added to the node
- `operating_system` (String) OS of the node
- `private_ip` (String) Private ip address of the node
- `roles` (Set of String) Valid roles are: 'ControlPlane', 'Worker', 'Storage'
- `ssh` (Attributes) MKS Node SSH definition (see [below for nested schema](#nestedatt--spec--config--nodes--ssh))
- `taints` (Attributes Set) taints to be added to the node (see [below for nested schema](#nestedatt--spec--config--nodes--taints))

<a id="nestedatt--spec--config--nodes--ssh"></a>
### Nested Schema for `spec.config.nodes.ssh`

Read-Only:

- `ip_address` (String) Use this to override node level ssh details
- `passphrase` (String) SSH Passphrase
- `port` (String) SSH Port
- `private_key_path` (String) Specify Path to SSH private key
- `username` (String) SSH Username


<a id="nestedatt--spec--config--nodes--taints"></a>
### Nested Schema for `spec.config.nodes.taints`

Read-Only:

- `effect` (String)
- `key` (String)
- `value` (String)




<a id="nestedatt--spec--proxy"></a>
### Nested Schema for `spec.proxy`

Read-Only:

- `allow_insecure_bootstrap` (Boolean)
- `bootstrap_ca` (String)
- `enabled` (Boolean)
- `http_proxy` (String)
- `https_proxy` (String)
- `no_proxy` (String)
- `proxy_auth` (String)


<a id="nestedatt--spec--sharing"></a>
### Nested Schema for `spec.sharing`

Read-Only:

- `enabled` (Boolean)
- `projects` (Attributes Set) (see [below for nested schema](#nestedatt--spec--sharing--projects))

<a id="nestedatt--spec--sharing--projects"></a>
### Nested Schema for `spec.sharing.projects`

Read-Only:

- `name` (String)



<a id="nestedatt--spec--system_components_placement"></a>
### Nested Schema for `spec.system_components_placement`

Read-Only:

- `daemon_set_override` (Attributes) (see [below for nested schema](#nestedatt--spec--system_components_placement--daemon_set_override))
- `node_selector` (Map of String)
- `tolerations` (Attributes Set) (see [below for nested schema](#nestedatt--spec--system_components_placement--tolerations))

<a id="nestedatt--spec--system_components_placement--daemon_set_override"></a>
### Nested Schema for `spec.system_components_placement.daemon_set_override`

Read-Only:

- `daemon_set_tolerations` (Attributes Set) (see [below for nested schema](#nestedatt--spec--system_components_placement--daemon_set_override--daemon_set_tolerations))
- `node_selection_enabled` (Boolean)

<a id="nestedatt--spec--system_components_placement--daemon_set_override--daemon_set_tolerations"></a>
### Nested Schema for `spec.system_components_placement.daemon_set_override.daemon_set_tolerations`

Read-Only:

- `effect` (String)
- `key` (String)
- `operator` (String)
- `toleration_seconds` (Number)
- `value` (String)



<a id="nestedatt--spec--system_components_placement--tolerations"></a>
### Nested Schema for `spec.system_components_placement.tolerations`

Read-Only:

- `effect` (String)
- `key` (String)
- `operator` (String)
- `toleration_seconds` (Number)
- `value` (String)
1 change: 1 addition & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ There are examples in the [GitHub repo](https://github.com/RafaySystems/terrafor

| Resource | Version Released |
| ----------------------------------------- | ---------------- |
| `rafay_mks_cluster` | 1.1.36
| `rafay_driver` | 1.1.22 |
| `rafay_environment` | 1.1.18 |
| `rafay_environment_template` | 1.1.18 |
Expand Down
Loading