Navigation Menu

Skip to content

Commit

Permalink
Prepare for release v0.20.0 (#619)
Browse files Browse the repository at this point in the history
ProductLine: KubeDB

Release: v2021.08.23

Release-tracker: kubedb/CHANGELOG#40
Signed-off-by: 1gtm <1gtm@appscode.com>
  • Loading branch information
1gtm committed Aug 23, 2021
1 parent 2e84e66 commit d5f1dbd
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 6 deletions.
2 changes: 1 addition & 1 deletion go.mod
Expand Up @@ -21,7 +21,7 @@ require (
kmodules.xyz/custom-resources v0.0.0-20210812193424-1631fae03a1a
kmodules.xyz/monitoring-agent-api v0.0.0-20210618110729-9cd872c66513
kmodules.xyz/objectstore-api v0.0.0-20210816212508-b1e60a2fd3a0 // indirect
kubedb.dev/apimachinery v0.19.1-0.20210816225014-a8eb885ccaa2
kubedb.dev/apimachinery v0.20.0
stash.appscode.dev/apimachinery v0.14.2-0.20210715200631-5399637188c0
)

Expand Down
4 changes: 2 additions & 2 deletions go.sum
Expand Up @@ -1184,8 +1184,8 @@ kmodules.xyz/resource-metadata v0.5.7/go.mod h1:Jdi7zBXRwwFTOR0CxwKxqJhsDVIilhrg
kmodules.xyz/resource-metadata v0.5.8-0.20210812062826-71d20972a852/go.mod h1:FpXWUvVESesHlaexlwqQvdI5Vtl8DCBcmBPWTVpiyn0=
kmodules.xyz/resource-metrics v0.0.1/go.mod h1:5nlhi7MPPr09m7VblezHSz9cE1fuUypOSLlo+aN5mrA=
kmodules.xyz/webhook-runtime v0.0.0-20210716205500-e489faf01981/go.mod h1:MFZFmJk9IXNHwq8JlF/mukwBDbopFQj4swaB2MWHc/U=
kubedb.dev/apimachinery v0.19.1-0.20210816225014-a8eb885ccaa2 h1:zYQduv17xK3VingIscP9UDpYWW7wrWVx4NoWVBtmCi0=
kubedb.dev/apimachinery v0.19.1-0.20210816225014-a8eb885ccaa2/go.mod h1:RRStZ10EiF7/BM/R1ILuGbpHYQXKu07kZENnG35oNJw=
kubedb.dev/apimachinery v0.20.0 h1:sXKvauaxxxNResrTL9IJoWeWWoFyi/jjdR484H45PiI=
kubedb.dev/apimachinery v0.20.0/go.mod h1:RRStZ10EiF7/BM/R1ILuGbpHYQXKu07kZENnG35oNJw=
modernc.org/cc v1.0.0/go.mod h1:1Sk4//wdnYJiUIxnW8ddKpaOJCF37yAdqYnkxUpaYxw=
modernc.org/golex v1.0.0/go.mod h1:b/QX9oBD/LhixY6NDh+IdGv17hgB+51fET1i2kPSmvk=
modernc.org/mathutil v1.0.0/go.mod h1:wU0vUrJsVWBZ4P6e7xtFJEhFSNsfRLJ8H458uRjg03k=
Expand Down
Expand Up @@ -126,11 +126,12 @@ const (
ElasticsearchAuthPluginXpack ElasticsearchAuthPlugin = "X-Pack"
)

// +kubebuilder:validation:Enum=ElasticStack;OpenDistro;SearchGuard
// +kubebuilder:validation:Enum=ElasticStack;OpenDistro;SearchGuard;KubeDB
type ElasticsearchDistro string

const (
ElasticsearchDistroElasticStack ElasticsearchDistro = "ElasticStack"
ElasticsearchDistroOpenDistro ElasticsearchDistro = "OpenDistro"
ElasticsearchDistroSearchGuard ElasticsearchDistro = "SearchGuard"
ElasticsearchDistroKubeDB ElasticsearchDistro = "KubeDB"
)
Expand Up @@ -268,6 +268,8 @@ const (
RedisKeyFileSecretSuffix = "key"
RedisPEMSecretSuffix = "pem"
RedisRootUsername = "root"
EnvRedisUser = "USERNAME"
EnvRedisPassword = "REDISCLI_AUTH"

// =========================== PgBouncer Constants ============================
PgBouncerUpstreamServerCA = "upstream-server-ca.crt"
Expand Down
Expand Up @@ -215,7 +215,15 @@ func (r *Redis) SetTLSDefaults() {
}

func (r *RedisSpec) GetPersistentSecrets() []string {
return nil
if r == nil {
return nil
}

var secrets []string
if r.AuthSecret != nil {
secrets = append(secrets, r.AuthSecret.Name)
}
return secrets
}

func (r *Redis) setDefaultAffinity(podTemplate *ofst.PodTemplateSpec, labels map[string]string, topology *core_util.Topology) {
Expand Down
Expand Up @@ -68,6 +68,7 @@ spec:
- ElasticStack
- OpenDistro
- SearchGuard
- KubeDB
type: string
exporter:
properties:
Expand Down
2 changes: 1 addition & 1 deletion vendor/modules.txt
Expand Up @@ -608,7 +608,7 @@ kmodules.xyz/objectstore-api/api/v1
kmodules.xyz/offshoot-api/api/v1
# kmodules.xyz/prober v0.0.0-20210618020259-5836fb959027
kmodules.xyz/prober/api/v1
# kubedb.dev/apimachinery v0.19.1-0.20210816225014-a8eb885ccaa2
# kubedb.dev/apimachinery v0.20.0
## explicit
kubedb.dev/apimachinery/apis
kubedb.dev/apimachinery/apis/autoscaling
Expand Down

0 comments on commit d5f1dbd

Please sign in to comment.