mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-19 01:46:16 +02:00
Fix golint warnings
This commit is contained in:
@@ -5,7 +5,7 @@ import "time"
|
||||
// AWS specific constants used by other modules
|
||||
const (
|
||||
// default region for AWS. TODO: move it to the operator configuration
|
||||
AWS_REGION = "eu-central-1"
|
||||
AWSRegion = "eu-central-1"
|
||||
// EBS related constants
|
||||
EBSVolumeIDStart = "/vol-"
|
||||
EBSProvisioner = "kubernetes.io/aws-ebs"
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
package constants
|
||||
|
||||
// PostgreSQL specific constants
|
||||
const (
|
||||
DataVolumeName = "pgdata"
|
||||
PodRoleMaster = "master"
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
package constants
|
||||
|
||||
// Roles specific constants
|
||||
const (
|
||||
PasswordLength = 64
|
||||
UserSecretTemplate = "%s.%s.credentials." + TPRKind + "." + TPRGroup // Username, ClusterName
|
||||
|
||||
Reference in New Issue
Block a user