-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: TDE for PG clusters #561
Conversation
(cherry picked from commit 037c5ef)
# Conflicts: # examples/resources/biganimal_cluster/single_node/bah_aws/resource.tf # examples/resources/biganimal_cluster/single_node/bah_azure/resource.tf # examples/resources/biganimal_cluster/single_node/bah_gcp/resource.tf # examples/resources/biganimal_pgd/aws/bah_data_group/resource.tf # examples/resources/biganimal_pgd/aws/bah_data_groups_with_witness_group/resource.tf # examples/resources/biganimal_pgd/azure/bah_data_group/resource.tf # examples/resources/biganimal_pgd/azure/bah_data_groups_with_witness_group/resource.tf # examples/resources/biganimal_pgd/gcp/bah_data_group/resource.tf # examples/resources/biganimal_pgd/gcp/bah_data_groups_with_witness_group/resource.tf
…lica # Conflicts: # pkg/provider/provider.go
…ttributes # Conflicts: # pkg/provider/provider.go
# Conflicts: # examples/resources/biganimal_cluster/single_node/resource.tf # pkg/provider/resource_cluster.go
# Conflicts: # pkg/provider/resource_fareplica.go
The base branch was changed.
# Conflicts: # examples/resources/biganimal_cluster/single_node/aws/resource.tf # examples/resources/biganimal_cluster/single_node/azure/resource.tf # examples/resources/biganimal_cluster/single_node/gcp/resource.tf # examples/resources/biganimal_cluster/single_node/resource.tf # pkg/provider/data_source_cluster.go # pkg/provider/resource_cluster.go
b70eab6
to
3b1a96f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
# Conflicts: # pkg/models/cluster.go
switch provider { | ||
case "aws", "bah:aws": | ||
return fmt.Sprintf(constants.TDE_KEY_AWS_ACTION, provider) | ||
case "azure", "bah:azure": | ||
return fmt.Sprintf(constants.TDE_KEY_AZURE_ACTION, provider) | ||
case "gcp", "bah:gcp": | ||
return fmt.Sprintf(constants.TDE_KEY_GCP_ACTION, provider) | ||
default: | ||
return fmt.Sprintf(constants.TDE_KEY_ACTION_UNKNOWN_PROVIDER_ERROR, provider) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- constants.TDE_KEY_AWS_ACTION message should be displayed for both BAH and BYOA providers
- exception: we do not support TDE for bah:azure yet
switch provider { | |
case "aws", "bah:aws": | |
return fmt.Sprintf(constants.TDE_KEY_AWS_ACTION, provider) | |
case "azure", "bah:azure": | |
return fmt.Sprintf(constants.TDE_KEY_AZURE_ACTION, provider) | |
case "gcp", "bah:gcp": | |
return fmt.Sprintf(constants.TDE_KEY_GCP_ACTION, provider) | |
default: | |
return fmt.Sprintf(constants.TDE_KEY_ACTION_UNKNOWN_PROVIDER_ERROR, provider) | |
switch provider { | |
case "aws", "bah:aws": | |
return fmt.Sprintf(constants.TDE_KEY_AWS_ACTION, provider) | |
case "azure", "bah:azure": | |
return fmt.Sprintf(constants.TDE_KEY_AZURE_ACTION, provider) | |
case "gcp", "bah:gcp": | |
return fmt.Sprintf(constants.TDE_KEY_GCP_ACTION, provider) | |
default: | |
return fmt.Sprintf(constants.TDE_KEY_ACTION_UNKNOWN_PROVIDER_ERROR, provider) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
No description provided.