diff --git a/README.md b/README.md
index 72acb19..d25682a 100644
--- a/README.md
+++ b/README.md
@@ -18,14 +18,14 @@ This module allows you to easily deploy a MySQL database on Kubernetes using Hel
```hcl
module "mysql" {
- source = "https://github.com/sq-ia/terraform-kubernetes-mysql.git"
+ source = "squareops/mysql/kubernetes"
cluster_name = "dev-cluster"
mysqldb_config = {
- name = "skaf"
+ name = "mysql"
values_yaml = ""
environment = "prod"
architecture = "replication"
- storage_class_name = "gp2"
+ storage_class_name = "gp3"
custom_user_username = "admin"
primary_db_volume_size = "10Gi"
secondary_db_volume_size = "10Gi"
@@ -47,10 +47,10 @@ module "mysql" {
```
-Refer [examples](https://github.com/sq-ia/terraform-kubernetes-mysql/tree/main/examples/complete) for more details.
+Refer [examples](https://github.com/squareops/terraform-kubernetes-mysql/tree/main/examples/complete) for more details.
## IAM Permissions
-The required IAM permissions to create resources from this module can be found [here](https://github.com/sq-ia/terraform-kubernetes-mysql/blob/main/IAM.md)
+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)
## Important Notes
1. In order to enable the exporter, it is required to deploy Prometheus/Grafana first.
@@ -126,7 +126,7 @@ No modules.
To report an issue with a project:
- 1. Check the repository's [issue tracker](https://github.com/sq-ia/terraform-kubernetes-mysql/issues) on GitHub
+ 1. Check the repository's [issue tracker](https://github.com/squareops/terraform-kubernetes-mysql/issues) on GitHub
2. Search to see if the issue has already been reported
3. If you can't find an answer to your question in the documentation or issue tracker, you can ask a question by creating a new issue. Be sure to provide enough context and details so others can understand your problem.
@@ -138,7 +138,7 @@ Apache License, Version 2.0, January 2004 (http://www.apache.org/licenses/).
To support a GitHub project by liking it, you can follow these steps:
- 1. Visit the repository: Navigate to the [GitHub repository](https://github.com/sq-ia/terraform-kubernetes-mysql).
+ 1. Visit the repository: Navigate to the [GitHub repository](https://github.com/squareops/terraform-kubernetes-mysql).
2. Click the "Star" button: On the repository page, you'll see a "Star" button in the upper right corner. Clicking on it will star the repository, indicating your support for the project.
diff --git a/backup/templates/cronjob.yaml b/backup/templates/cronjob.yaml
index 90589f5..3c5ea6e 100644
--- a/backup/templates/cronjob.yaml
+++ b/backup/templates/cronjob.yaml
@@ -40,13 +40,4 @@ spec:
secretKeyRef:
name: aws-mysql
key: AWS_DEFAULT_REGION
- # - name: AWS_ACCESS_KEY_ID
- # valueFrom:
- # secretKeyRef:
- # name: aws-key
- # key: AWS_ACCESS_KEY_ID
- # - name: AWS_SECRET_ACCESS_KEY
- # valueFrom:
- # secretKeyRef:
- # name: aws-secret
- # key: AWS_SECRET_ACCESS_KEY
+
diff --git a/examples/complete/README.md b/examples/complete/README.md
index 2aa9adb..2dd9b8a 100644
--- a/examples/complete/README.md
+++ b/examples/complete/README.md
@@ -21,7 +21,7 @@ No requirements.
| Name | Source | Version |
|------|--------|---------|
-| [mysql](#module\_mysql) | https://github.com/sq-ia/terraform-kubernetes-mysql.git | n/a |
+| [mysql](#module\_mysql) | squareops/mysql/kubernetes | n/a |
## Resources
diff --git a/examples/complete/main.tf b/examples/complete/main.tf
index bdc3e12..8d98f72 100644
--- a/examples/complete/main.tf
+++ b/examples/complete/main.tf
@@ -10,14 +10,14 @@ locals {
}
module "mysql" {
- source = "https://github.com/sq-ia/terraform-kubernetes-mysql.git"
+ source = "squareops/mysql/kubernetes"
cluster_name = ""
mysqldb_config = {
name = local.name
values_yaml = file("./helm/values.yaml")
environment = local.environment
architecture = "replication"
- storage_class_name = "infra-service-sc"
+ storage_class_name = "gp3"
custom_user_username = "admin"
primary_db_volume_size = "10Gi"
secondary_db_volume_size = "10Gi"
@@ -25,14 +25,14 @@ module "mysql" {
}
mysqldb_backup_enabled = true
mysqldb_backup_config = {
- s3_bucket_uri = "s3://mysqlbackupp"
- s3_bucket_region = "us-east-2"
- cron_for_full_backup = "*/2 * * * *"
+ s3_bucket_uri = "s3://bucket_name"
+ s3_bucket_region = "bucket_region"
+ cron_for_full_backup = "* * * * *"
}
mysqldb_restore_enabled = true
mysqldb_restore_config = {
- s3_bucket_uri = "s3://mysqldumprestore/10-dump.sql"
- s3_bucket_region = "us-east-2"
+ s3_bucket_uri = "s3://bucket_name/filename"
+ s3_bucket_region = "bucket_region"
}
mysqldb_exporter_enabled = true
}