Skip to content

Commit c6ee2e1

Browse files
Release 2.1.0 (#12)
* Redis Helm and app version upgrade * Versions Updated
1 parent 63bfa08 commit c6ee2e1

File tree

15 files changed

+786
-116
lines changed

15 files changed

+786
-116
lines changed

IAM.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,4 @@ The Policy required to deploy this module:
4646
"Microsoft.Resources/subscriptions/resourcegroups/read"]
4747
not_actions = []
4848
}
49-
```
49+
```

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ This module creates a Redis master and one or more Redis slaves, depending on th
1414

1515
| Redis Helm Chart Version | K8s supported version (EKS, AKS & GKE) |
1616
| :-----: | :--- |
17-
| **16.13.2** | **1.23,1.24,1.25,1.26,1.27** |
17+
| **19.6.1** | **1.23,1.24,1.25,1.26,1.27,1.28,1.29** |
1818

1919
## Usage Example
2020

@@ -117,15 +117,14 @@ No modules.
117117

118118
| Name | Description | Type | Default | Required |
119119
|------|-------------|------|---------|:--------:|
120-
| <a name="input_app_version"></a> [app\_version](#input\_app\_version) | Version of the Redis application that will be deployed. | `string` | `"6.2.7-debian-11-r11"` | no |
121-
| <a name="input_chart_version"></a> [chart\_version](#input\_chart\_version) | Version of the chart for the Redis application that will be deployed. | `string` | `"16.13.2"` | no |
120+
| <a name="input_chart_version"></a> [chart\_version](#input\_chart\_version) | Version of the chart for the Redis application that will be deployed. | `string` | `"19.6.1"` | no |
122121
| <a name="input_create_namespace"></a> [create\_namespace](#input\_create\_namespace) | Specify whether or not to create the namespace if it does not already exist. Set it to true to create the namespace. | `string` | `true` | no |
123122
| <a name="input_custom_credentials_config"></a> [custom\_credentials\_config](#input\_custom\_credentials\_config) | Specify the configuration settings for Redis to pass custom credentials during creation. | `any` | <pre>{<br> "password": ""<br>}</pre> | no |
124123
| <a name="input_custom_credentials_enabled"></a> [custom\_credentials\_enabled](#input\_custom\_credentials\_enabled) | Specifies whether to enable custom credentials for Redis. | `bool` | `false` | no |
125124
| <a name="input_grafana_monitoring_enabled"></a> [grafana\_monitoring\_enabled](#input\_grafana\_monitoring\_enabled) | Specify whether or not to deploy Redis exporter to collect Redis metrics for monitoring in Grafana. | `bool` | `false` | no |
126125
| <a name="input_namespace"></a> [namespace](#input\_namespace) | Namespace where the Redis resources will be deployed. | `string` | `"redis"` | no |
127126
| <a name="input_recovery_window_aws_secret"></a> [recovery\_window\_aws\_secret](#input\_recovery\_window\_aws\_secret) | Number of days that AWS Secrets Manager will wait before it can delete the secret. The value can be 0 to force deletion without recovery, or a range from 7 to 30 days. | `number` | `0` | no |
128-
| <a name="input_redis_config"></a> [redis\_config](#input\_redis\_config) | Specify the configuration settings for Redis, including the name, environment, storage options, replication settings, store password to secret manager and custom YAML values. | `any` | <pre>{<br> "architecture": "replication",<br> "environment": "",<br> "master_volume_size": "",<br> "name": "",<br> "slave_replica_count": 1,<br> "slave_volume_size": "",<br> "storage_class_name": "",<br> "store_password_to_secret_manager": true,<br> "values_yaml": ""<br>}</pre> | no |
127+
| <a name="input_redis_config"></a> [redis\_config](#input\_redis\_config) | Specify the configuration settings for Redis, including the name, environment, storage options, replication settings, store password to secret manager and custom YAML values. | `any` | <pre>{<br> "app_version": "7.2.5-debian-12-r2",<br> "architecture": "replication",<br> "environment": "",<br> "master_volume_size": "",<br> "name": "",<br> "slave_replica_count": 1,<br> "slave_volume_size": "",<br> "storage_class_name": "",<br> "store_password_to_secret_manager": true,<br> "values_yaml": ""<br>}</pre> | no |
129128
| <a name="input_redis_password"></a> [redis\_password](#input\_redis\_password) | n/a | `string` | `""` | no |
130129

131130
## Outputs

examples/complete/aws/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,12 @@ No requirements.
1717
| Name | Version |
1818
|------|---------|
1919
| <a name="provider_aws"></a> [aws](#provider\_aws) | n/a |
20+
2021
## Modules
2122

2223
| Name | Source | Version |
2324
|------|--------|---------|
25+
| <a name="module_aws"></a> [aws](#module\_aws) | squareops/redis/kubernetes//modules/resources/aws | n/a |
2426
| <a name="module_redis"></a> [redis](#module\_redis) | squareops/redis/kubernetes | n/a |
2527

2628
## Resources
@@ -29,8 +31,6 @@ No requirements.
2931
|------|------|
3032
| [aws_eks_cluster.cluster](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/eks_cluster) | data source |
3133
| [aws_eks_cluster_auth.cluster](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/eks_cluster_auth) | data source |
32-
| [google_client_config.default](https://registry.terraform.io/providers/hashicorp/google/latest/docs/data-sources/client_config) | data source |
33-
| [google_container_cluster.primary](https://registry.terraform.io/providers/hashicorp/google/latest/docs/data-sources/container_cluster) | data source |
3434

3535
## Inputs
3636

examples/complete/aws/helm/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ replica:
2424
commonConfiguration: |-
2525
# Enable AOF https://redis.io/topics/persistence#append-only-file
2626
appendonly yes
27-
maxclients 2000
27+
maxclients 2000
2828
# Disable RDB persistence, AOF persistence already enabled.
29-
save ""
29+
save ""

examples/complete/aws/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ module "redis" {
3333
name = local.name
3434
values_yaml = file("./helm/values.yaml")
3535
environment = local.environment
36-
app_version = "6.2.7-debian-11-r11"
36+
app_version = "7.2.5-debian-12-r2"
3737
architecture = "replication"
3838
slave_volume_size = "10Gi"
3939
master_volume_size = "10Gi"

examples/complete/azure/README.md

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,39 @@ No inputs.
4141
|------|-------------|
4242
| <a name="output_redis_credential"></a> [redis\_credential](#output\_redis\_credential) | Redis credentials used for accessing the database. |
4343
| <a name="output_redis_endpoints"></a> [redis\_endpoints](#output\_redis\_endpoints) | Redis endpoints in the Kubernetes cluster. |
44-
<!-- END_TF_DOCS -->
44+
<!-- END_TF_DOCS -->
45+
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
46+
## Requirements
47+
48+
No requirements.
49+
50+
## Providers
51+
52+
| Name | Version |
53+
|------|---------|
54+
| <a name="provider_azurerm"></a> [azurerm](#provider\_azurerm) | n/a |
55+
56+
## Modules
57+
58+
| Name | Source | Version |
59+
|------|--------|---------|
60+
| <a name="module_azure"></a> [azure](#module\_azure) | squareops/redis/kubernetes//modules/resources/azure | n/a |
61+
| <a name="module_redis"></a> [redis](#module\_redis) | squareops/redis/kubernetes | n/a |
62+
63+
## Resources
64+
65+
| Name | Type |
66+
|------|------|
67+
| [azurerm_kubernetes_cluster.primary](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/data-sources/kubernetes_cluster) | data source |
68+
69+
## Inputs
70+
71+
No inputs.
72+
73+
## Outputs
74+
75+
| Name | Description |
76+
|------|-------------|
77+
| <a name="output_redis_credential"></a> [redis\_credential](#output\_redis\_credential) | Redis credentials used for accessing the database. |
78+
| <a name="output_redis_endpoints"></a> [redis\_endpoints](#output\_redis\_endpoints) | Redis endpoints in the Kubernetes cluster. |
79+
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->

examples/complete/gcp/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,13 @@ No requirements.
2222

2323
| Name | Source | Version |
2424
|------|--------|---------|
25+
| <a name="module_gcp"></a> [gcp](#module\_gcp) | squareops/redis/kubernetes//modules/resources/gcp | n/a |
2526
| <a name="module_redis"></a> [redis](#module\_redis) | squareops/redis/kubernetes | n/a |
2627

2728
## Resources
2829

2930
| Name | Type |
3031
|------|------|
31-
| [aws_eks_cluster.cluster](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/eks_cluster) | data source |
32-
| [aws_eks_cluster_auth.cluster](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/eks_cluster_auth) | data source |
3332
| [google_client_config.default](https://registry.terraform.io/providers/hashicorp/google/latest/docs/data-sources/client_config) | data source |
3433
| [google_container_cluster.primary](https://registry.terraform.io/providers/hashicorp/google/latest/docs/data-sources/container_cluster) | data source |
3534

examples/complete/gcp/main.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ locals {
1010
create_namespace = true
1111
namespace = "redis"
1212
store_password_to_secret_manager = true
13-
custom_credentials_enabled = true
13+
custom_credentials_enabled = true
1414
custom_credentials_config = {
1515
password = "aajdhgduy3873683dh"
1616
}
@@ -45,6 +45,6 @@ module "redis" {
4545
}
4646
grafana_monitoring_enabled = true
4747
custom_credentials_enabled = local.custom_credentials_enabled
48-
custom_credentials_config = local.custom_credentials_config
49-
redis_password = local.custom_credentials_enabled ? "" : module.gcp.redis_password
48+
custom_credentials_config = local.custom_credentials_config
49+
redis_password = local.custom_credentials_enabled ? "" : module.gcp.redis_password
5050
}

examples/complete/gcp/provider.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ provider "helm" {
1818
token = data.google_client_config.default.access_token
1919
cluster_ca_certificate = base64decode(data.google_container_cluster.primary.master_auth.0.cluster_ca_certificate)
2020
}
21-
}
21+
}

0 commit comments

Comments
 (0)