Skip to content

Commit 03f998e

Browse files
Install v1 Materialize CRD (#249)
* enable v1 Materialize CRD * Temporarily disable Azure as a merge queue requirement Temporarily disable Azure as a merge queue requirement, until we can fix the capacity issues. Tracked in https://linear.app/materializeinc/issue/CLO-82/azure-ci-transient-aks-allocation-failure-wedges-terraform-destroy
1 parent 18725b2 commit 03f998e

10 files changed

Lines changed: 31 additions & 4 deletions

File tree

.github/workflows/merge_queue.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ jobs:
1616
uses: ./.github/workflows/test-gcp.yml
1717
secrets: inherit
1818

19-
test-azure:
20-
uses: ./.github/workflows/test-azure.yml
21-
secrets: inherit
19+
#test-azure:
20+
# uses: ./.github/workflows/test-azure.yml
21+
# secrets: inherit
2222

2323
ci-success:
2424
runs-on: ubuntu-latest
@@ -27,7 +27,7 @@ jobs:
2727
- lint
2828
- test-aws
2929
- test-gcp
30-
- test-azure
30+
#- test-azure
3131
steps:
3232
- uses: technote-space/workflow-conclusion-action@45ce8e0eb155657ab8ccf346ade734257fd196a5 # v3.0.3
3333
- name: Verify all checks passed

aws/modules/operator/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ No modules.
4545
| <a name="input_helm_repository"></a> [helm\_repository](#input\_helm\_repository) | Repository URL for the Materialize operator Helm chart. Leave empty if using local chart. | `string` | `"https://materializeinc.github.io/materialize/"` | no |
4646
| <a name="input_helm_values"></a> [helm\_values](#input\_helm\_values) | Values to pass to the Helm chart | `any` | `{}` | no |
4747
| <a name="input_install_metrics_server"></a> [install\_metrics\_server](#input\_install\_metrics\_server) | Whether to install the metrics-server | `bool` | `true` | no |
48+
| <a name="input_install_v1_crd"></a> [install\_v1\_crd](#input\_install\_v1\_crd) | Install v1 of the Materialize CRD. | `bool` | `true` | no |
4849
| <a name="input_instance_node_selector"></a> [instance\_node\_selector](#input\_instance\_node\_selector) | Node selector for Materialize workloads (environmentd, clusterd, balancerd, console). | `map(string)` | `{}` | no |
4950
| <a name="input_instance_pod_tolerations"></a> [instance\_pod\_tolerations](#input\_instance\_pod\_tolerations) | Tolerations for Materialize instance workloads (environmentd, clusterd, balancerd, console). | <pre>list(object({<br/> key = string<br/> value = optional(string)<br/> operator = optional(string, "Equal")<br/> effect = string<br/> }))</pre> | `[]` | no |
5051
| <a name="input_metrics_server_values"></a> [metrics\_server\_values](#input\_metrics\_server\_values) | Configuration values for metrics-server | <pre>object({<br/> metrics_enabled = string<br/> skip_tls_verification = bool<br/> })</pre> | <pre>{<br/> "metrics_enabled": "true",<br/> "skip_tls_verification": true<br/>}</pre> | no |

aws/modules/operator/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ locals {
3434
operator = {
3535
args = {
3636
enableLicenseKeyChecks = var.enable_license_key_checks
37+
installV1CRD = var.install_v1_crd
3738
}
3839
image = var.orchestratord_version == null ? {} : {
3940
tag = var.orchestratord_version

aws/modules/operator/variables.tf

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,13 @@ variable "enable_license_key_checks" {
106106
nullable = false
107107
}
108108

109+
variable "install_v1_crd" {
110+
description = "Install v1 of the Materialize CRD."
111+
type = bool
112+
default = true
113+
nullable = false
114+
}
115+
109116
variable "swap_enabled" {
110117
description = "Whether to enable swap on the local NVMe disks."
111118
type = bool

azure/modules/operator/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ No modules.
4141
| <a name="input_helm_repository"></a> [helm\_repository](#input\_helm\_repository) | Repository URL for the Materialize operator Helm chart. Leave empty if using local chart. | `string` | `"https://materializeinc.github.io/materialize/"` | no |
4242
| <a name="input_helm_values"></a> [helm\_values](#input\_helm\_values) | Values to pass to the Helm chart | `any` | `{}` | no |
4343
| <a name="input_install_metrics_server"></a> [install\_metrics\_server](#input\_install\_metrics\_server) | Whether to install the metrics-server | `bool` | `false` | no |
44+
| <a name="input_install_v1_crd"></a> [install\_v1\_crd](#input\_install\_v1\_crd) | Install v1 of the Materialize CRD. | `bool` | `true` | no |
4445
| <a name="input_instance_node_selector"></a> [instance\_node\_selector](#input\_instance\_node\_selector) | Node selector for Materialize workloads (environmentd, clusterd, balancerd, console). | `map(string)` | `{}` | no |
4546
| <a name="input_instance_pod_tolerations"></a> [instance\_pod\_tolerations](#input\_instance\_pod\_tolerations) | Tolerations for Materialize instance workloads (environmentd, clusterd, balancerd, console). | <pre>list(object({<br/> key = string<br/> value = optional(string)<br/> operator = optional(string, "Equal")<br/> effect = string<br/> }))</pre> | `[]` | no |
4647
| <a name="input_location"></a> [location](#input\_location) | The location of the Azure subscription | `string` | n/a | yes |

azure/modules/operator/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ locals {
3434
operator = {
3535
args = {
3636
enableLicenseKeyChecks = var.enable_license_key_checks
37+
installV1CRD = var.install_v1_crd
3738
}
3839
image = var.orchestratord_version == null ? {} : {
3940
tag = var.orchestratord_version

azure/modules/operator/variables.tf

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,13 @@ variable "enable_license_key_checks" {
9898
nullable = false
9999
}
100100

101+
variable "install_v1_crd" {
102+
description = "Install v1 of the Materialize CRD."
103+
type = bool
104+
default = true
105+
nullable = false
106+
}
107+
101108
variable "swap_enabled" {
102109
description = "Whether to enable swap on the local NVMe disks."
103110
type = bool

gcp/modules/operator/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ No modules.
4141
| <a name="input_helm_repository"></a> [helm\_repository](#input\_helm\_repository) | Repository URL for the Materialize operator Helm chart. Leave empty if using local chart. | `string` | `"https://materializeinc.github.io/materialize/"` | no |
4242
| <a name="input_helm_values"></a> [helm\_values](#input\_helm\_values) | Values to pass to the Helm chart | `any` | `{}` | no |
4343
| <a name="input_install_metrics_server"></a> [install\_metrics\_server](#input\_install\_metrics\_server) | Whether to install the metrics-server | `bool` | `false` | no |
44+
| <a name="input_install_v1_crd"></a> [install\_v1\_crd](#input\_install\_v1\_crd) | Install v1 of the Materialize CRD. | `bool` | `true` | no |
4445
| <a name="input_instance_node_selector"></a> [instance\_node\_selector](#input\_instance\_node\_selector) | Node selector for Materialize workloads (environmentd, clusterd, balancerd, console). | `map(string)` | `{}` | no |
4546
| <a name="input_instance_pod_tolerations"></a> [instance\_pod\_tolerations](#input\_instance\_pod\_tolerations) | Tolerations for Materialize instance workloads (environmentd, clusterd, balancerd, console). | <pre>list(object({<br/> key = string<br/> value = optional(string)<br/> operator = optional(string, "Equal")<br/> effect = string<br/> }))</pre> | `[]` | no |
4647
| <a name="input_metrics_server_values"></a> [metrics\_server\_values](#input\_metrics\_server\_values) | Configuration values for metrics-server | <pre>object({<br/> metrics_enabled = string<br/> skip_tls_verification = bool<br/> })</pre> | <pre>{<br/> "metrics_enabled": "true",<br/> "skip_tls_verification": true<br/>}</pre> | no |

gcp/modules/operator/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ locals {
3434
operator = {
3535
args = {
3636
enableLicenseKeyChecks = var.enable_license_key_checks
37+
installV1CRD = var.install_v1_crd
3738
}
3839
image = var.orchestratord_version == null ? {} : {
3940
tag = var.orchestratord_version

gcp/modules/operator/variables.tf

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,13 @@ variable "enable_license_key_checks" {
9898
nullable = false
9999
}
100100

101+
variable "install_v1_crd" {
102+
description = "Install v1 of the Materialize CRD."
103+
type = bool
104+
default = true
105+
nullable = false
106+
}
107+
101108
variable "swap_enabled" {
102109
description = "Whether to enable swap on the local NVMe disks."
103110
type = bool

0 commit comments

Comments
 (0)