Skip to content

Commit ea8ebfb

Browse files
authored
Merge pull request #4 from ShibraAmin18/azure
Azure & GCP REAME.md details update
2 parents 40db9c4 + 9056910 commit ea8ebfb

File tree

2 files changed

+40
-5
lines changed

2 files changed

+40
-5
lines changed

IAM.md

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## IAM Permission
1+
## AWS IAM Permission
22

33
The Policy required to deploy this module:
44
```hcl
@@ -50,3 +50,36 @@ The Policy required to deploy this module:
5050
]
5151
}
5252
```
53+
## Azure Role Permissions
54+
55+
```hcl
56+
permissions {
57+
actions = [
58+
"Microsoft.Authorization/roleAssignments/delete",
59+
"Microsoft.Authorization/roleAssignments/read",
60+
"Microsoft.Authorization/roleAssignments/write",
61+
"Microsoft.KeyVault/locations/deletedVaults/read",
62+
"Microsoft.KeyVault/vaults/delete",
63+
"Microsoft.KeyVault/vaults/read",
64+
"Microsoft.KeyVault/vaults/write",
65+
"Microsoft.ManagedIdentity/userAssignedIdentities/delete",
66+
"Microsoft.ManagedIdentity/userAssignedIdentities/read",
67+
"Microsoft.ManagedIdentity/userAssignedIdentities/write",
68+
"Microsoft.Resources/subscriptions/providers/read",
69+
"Microsoft.Resources/subscriptions/resourcegroups/read"]
70+
not_actions = []
71+
}
72+
```
73+
74+
## GCP IAM Permissions
75+
76+
```hcl
77+
permissions = [
78+
"iam.serviceAccounts.create",
79+
"iam.serviceAccounts.delete",
80+
"iam.serviceAccounts.get",
81+
"iam.serviceAccounts.update",
82+
"resourcemanager.projects.getIamPolicy",
83+
"resourcemanager.projects.setIamPolicy"
84+
]
85+
```

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55

66
### [SquareOps Technologies](https://squareops.com/) Your DevOps Partner for Accelerating cloud journey.
77
<br>
8-
This module allows you to easily deploy a MySQL database on Kubernetes using Helm. It provides flexible configuration options for the MySQL database, including storage class, database volume sizes, and architecture. In addition, it supports enabling backups and restoring from backups, as well as deploying MySQL database exporters to gather metrics for Grafana. This module is designed to be highly configurable and customizable, and can be easily integrated into your existing Terraform infrastructure code.
8+
This module allows you to easily deploy a MySQL database on Kubernetes using Helm. It provides flexible configuration options for the MySQL database, including storage class, database volume sizes, and architecture. In addition, it supports enabling backups and restoring from backups, as well as deploying MySQL database exporters to gather metrics for Grafana. This module is designed to be highly configurable and customizable, and can be easily integrated into your existing Terraform infrastructure code. This module provides options to create a new namespace, and to configure recovery windows for AWS Secrets Manager, Azure key vault & GCP secrets manager. With this module, users can easily deploy a highly available MYSQL on AWS EKS, Azure AKS & GCP GKE Kubernetes clusters with the flexibility to customize their configurations according to their needs.
99

1010
## Supported Versions:
1111

12-
| MysqlDB Helm Chart Version | K8s supported version |
12+
| MysqlDB Helm Chart Version | K8s supported version (EKS, AKS & GKE) |
1313
| :-----: | :--- |
1414
| **9.2.0** | **1.23,1.24,1.25,1.26,1.27** |
1515

@@ -60,7 +60,9 @@ module "mysql" {
6060
6161
6262
```
63-
Refer [examples](https://github.com/squareops/terraform-kubernetes-mysql/tree/main/examples/complete) for more details.
63+
Refer [AWS examples](https://github.com/squareops/terraform-kubernetes-mysql/tree/main/examples/complete/aws) for more details
64+
Refer [Azure examples](https://github.com/squareops/terraform-kubernetes-mysql/tree/main/examples/complete/azure) for more details
65+
Refer [GCP examples](https://github.com/squareops/terraform-kubernetes-mysql/tree/main/examples/complete/gcp) for more details
6466

6567
## IAM Permissions
6668
The required IAM permissions to create resources from this module can be found [here](https://github.com/squareops/terraform-kubernetes-mysql/blob/main/IAM.md)
@@ -73,7 +75,7 @@ The required IAM permissions to create resources from this module can be found [
7375
5. To deploy Prometheus/Grafana, please follow the installation instructions for each tool in their respective documentation.
7476
6. Once Prometheus and Grafana are deployed, the exporter can be configured to scrape metrics data from your application or system and send it to Prometheus.
7577
7. Finally, you can use Grafana to create custom dashboards and visualize the metrics data collected by Prometheus.
76-
8. This module is compatible with EKS version 1.23,1.24,1.25,1.26 and 1.27, which is great news for users deploying the module on an EKS cluster running that version. Review the module's documentation, meet specific configuration requirements, and test thoroughly after deployment to ensure everything works as expected.
78+
8. This module is compatible with EKS, AKS & GKE which is great news for users deploying the module on an AWS, Azure & GCP cloud. Review the module's documentation, meet specific configuration requirements, and test thoroughly after deployment to ensure everything works as expected.
7779
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
7880
## Requirements
7981

0 commit comments

Comments
 (0)