Skip to content

Commit

Permalink
Merge pull request #14 from ns-squareops/main
Browse files Browse the repository at this point in the history
changes done to solve backup and restore
  • Loading branch information
RohitSquareops authored Jan 5, 2024
2 parents 445c933 + 6540eb8 commit e149bf4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions examples/complete/aws/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ module "aws" {
cluster_name = "cluster-name"
environment = local.environment
name = local.name
namespace = local.namespace
store_password_to_secret_manager = local.store_password_to_secret_manager
mysqldb_custom_credentials_enabled = local.mysqldb_custom_credentials_enabled
mysqldb_custom_credentials_config = local.mysqldb_custom_credentials_config
Expand Down
2 changes: 1 addition & 1 deletion modules/backup/templates/cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ spec:
name: mysql-bucket-uri
key: MYSQL_BUCKET_URI
- name: BUCKET_PROVIDER
value: "gcs"
value: "s3"
- name: AWS_DEFAULT_REGION
value: {{ .Values.backup.aws_default_region }}
2 changes: 1 addition & 1 deletion modules/restore/templates/job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ spec:
serviceAccountName: sa-mysql-restore
containers:
- name: restore-mysqldb
image: squareops/mysqldb-restore:v4
image: squareops/mysqldb-restore:v5
imagePullPolicy: Always
env:
- name: MYSQL_HOST
Expand Down

0 comments on commit e149bf4

Please sign in to comment.