From b83d3d6ea4b8f6145fafc43aff777b63b1d32800 Mon Sep 17 00:00:00 2001 From: pritamdas99 Date: Mon, 28 Oct 2024 12:40:28 +0600 Subject: [PATCH 1/3] Update authsecret name for solr Signed-off-by: pritamdas99 --- go.mod | 2 +- go.sum | 4 ++-- solr/kubedb_client_builder.go | 2 +- .../apis/kafka/v1alpha1/connect_cluster_helpers.go | 6 +++--- .../apimachinery/apis/kubedb/v1/kafka_helpers.go | 6 +++--- .../apis/kubedb/v1alpha2/cassandra_helpers.go | 2 +- .../apis/kubedb/v1alpha2/clickhouse_helpers.go | 2 +- .../apis/kubedb/v1alpha2/druid_helpers.go | 7 +++++++ .../apis/kubedb/v1alpha2/kafka_helpers.go | 4 ++-- .../apis/kubedb/v1alpha2/rabbitmq_helpers.go | 2 +- .../apis/kubedb/v1alpha2/solr_helpers.go | 13 +++++++------ vendor/modules.txt | 2 +- 12 files changed, 30 insertions(+), 22 deletions(-) diff --git a/go.mod b/go.mod index 7b90dcfb..c31ad10d 100644 --- a/go.mod +++ b/go.mod @@ -32,7 +32,7 @@ require ( k8s.io/klog/v2 v2.130.1 kmodules.xyz/client-go v0.30.28 kmodules.xyz/custom-resources v0.30.0 - kubedb.dev/apimachinery v0.48.1-0.20241025104947-405c179f3f23 + kubedb.dev/apimachinery v0.48.1-0.20241028061506-54019160140d sigs.k8s.io/controller-runtime v0.18.4 xorm.io/xorm v1.3.6 ) diff --git a/go.sum b/go.sum index 77694c13..9e033a8b 100644 --- a/go.sum +++ b/go.sum @@ -804,8 +804,8 @@ kmodules.xyz/monitoring-agent-api v0.30.2 h1:sAgz5P5EXZqhlj1NzJ+QltAgeIx5bGSMj+a kmodules.xyz/monitoring-agent-api v0.30.2/go.mod h1:BoZFPDDRB7J39CcUsSDlzgW8PQCwik4ILPleyUob+Mg= kmodules.xyz/offshoot-api v0.30.1 h1:TrulAYO+oBsXe9sZZGTmNWIuI8qD2izMpgcTSPvgAmI= kmodules.xyz/offshoot-api v0.30.1/go.mod h1:T3mpjR6fui0QzOcmQvIuANytW48fe9ytmy/1cgx6D4g= -kubedb.dev/apimachinery v0.48.1-0.20241025104947-405c179f3f23 h1:nYWefc+tQjXFddLRfX8BaRku1phkqFx5KbNoVtd77NM= -kubedb.dev/apimachinery v0.48.1-0.20241025104947-405c179f3f23/go.mod h1:NCiS4uS+F8DUyU9/tUQO3wqyNRNf0busab5/0Q2nYA0= +kubedb.dev/apimachinery v0.48.1-0.20241028061506-54019160140d h1:7fRMAhrz5tFTa3r3gZFnLBL3iifQ/d/dh/mCCCi0Wqo= +kubedb.dev/apimachinery v0.48.1-0.20241028061506-54019160140d/go.mod h1:NCiS4uS+F8DUyU9/tUQO3wqyNRNf0busab5/0Q2nYA0= kubeops.dev/petset v0.0.7 h1:F77BTRfUqRVO7kNc8q2oFSSviDmYBqni/osXqu0kgJ4= kubeops.dev/petset v0.0.7/go.mod h1:lt0SZV4ohRy7RiwLNUnMoauG4lCbcRbSqhMg20rdUQg= lukechampine.com/uint128 v1.1.1/go.mod h1:c4eWIwlEGaxC/+H1VguhU4PHXNWDCDMUlWdIWl2j1gk= diff --git a/solr/kubedb_client_builder.go b/solr/kubedb_client_builder.go index 0c481275..9ed88b45 100644 --- a/solr/kubedb_client_builder.go +++ b/solr/kubedb_client_builder.go @@ -141,7 +141,7 @@ func (o *KubeDBClientBuilder) GetSolrClient() (*Client, error) { var authSecret core.Secret if !o.db.Spec.DisableSecurity { err := o.kc.Get(o.ctx, types.NamespacedName{ - Name: o.db.Spec.AuthSecret.Name, + Name: o.db.GetAuthSecretName(), Namespace: o.db.Namespace, }, &authSecret) if err != nil { diff --git a/vendor/kubedb.dev/apimachinery/apis/kafka/v1alpha1/connect_cluster_helpers.go b/vendor/kubedb.dev/apimachinery/apis/kafka/v1alpha1/connect_cluster_helpers.go index f54789c7..9a4bb11e 100644 --- a/vendor/kubedb.dev/apimachinery/apis/kafka/v1alpha1/connect_cluster_helpers.go +++ b/vendor/kubedb.dev/apimachinery/apis/kafka/v1alpha1/connect_cluster_helpers.go @@ -196,8 +196,8 @@ func (k *ConnectCluster) KafkaClientCredentialsSecretName() string { return meta_util.NameWithSuffix(k.Name, "kafka-client-cred") } -func (k *ConnectCluster) DefaultUserCredSecretName(username string) string { - return meta_util.NameWithSuffix(k.Name, strings.ReplaceAll(fmt.Sprintf("%s-cred", username), "_", "-")) +func (k *ConnectCluster) DefaultUserCredSecretName() string { + return meta_util.NameWithSuffix(k.OffshootName(), "auth") } func (k *ConnectCluster) DefaultKeystoreCredSecretName() string { @@ -213,7 +213,7 @@ func (k *ConnectCluster) GetAuthSecretName() string { if k.Spec.AuthSecret != nil && k.Spec.AuthSecret.Name != "" { return k.Spec.AuthSecret.Name } - return k.DefaultUserCredSecretName("admin") + return k.DefaultUserCredSecretName() } // GetCertSecretName returns the secret name for a certificate alias if any, diff --git a/vendor/kubedb.dev/apimachinery/apis/kubedb/v1/kafka_helpers.go b/vendor/kubedb.dev/apimachinery/apis/kubedb/v1/kafka_helpers.go index 77249b4d..59105679 100644 --- a/vendor/kubedb.dev/apimachinery/apis/kubedb/v1/kafka_helpers.go +++ b/vendor/kubedb.dev/apimachinery/apis/kubedb/v1/kafka_helpers.go @@ -231,7 +231,7 @@ func (k *Kafka) GetAuthSecretName() string { if k.Spec.AuthSecret != nil && k.Spec.AuthSecret.Name != "" { return k.Spec.AuthSecret.Name } - return k.DefaultUserCredSecretName("admin") + return k.DefaultUserCredSecretName() } func (k *Kafka) GetPersistentSecrets() []string { @@ -249,8 +249,8 @@ func (k *Kafka) CruiseControlConfigSecretName() string { return meta_util.NameWithSuffix(k.OffshootName(), "cruise-control-config") } -func (k *Kafka) DefaultUserCredSecretName(username string) string { - return meta_util.NameWithSuffix(k.Name, strings.ReplaceAll(fmt.Sprintf("%s-cred", username), "_", "-")) +func (k *Kafka) DefaultUserCredSecretName() string { + return meta_util.NameWithSuffix(k.OffshootName(), "auth") } func (k *Kafka) DefaultKeystoreCredSecretName() string { diff --git a/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/cassandra_helpers.go b/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/cassandra_helpers.go index 4801731b..ffb341f4 100644 --- a/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/cassandra_helpers.go +++ b/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/cassandra_helpers.go @@ -146,7 +146,7 @@ func (r *Cassandra) GetAuthSecretName() string { if r.Spec.AuthSecret != nil && r.Spec.AuthSecret.Name != "" { return r.Spec.AuthSecret.Name } - return r.DefaultUserCredSecretName("admin") + return meta_util.NameWithSuffix(r.OffshootName(), "auth") } func (r *Cassandra) ConfigSecretName() string { diff --git a/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/clickhouse_helpers.go b/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/clickhouse_helpers.go index 2b928162..2715e6d1 100644 --- a/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/clickhouse_helpers.go +++ b/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/clickhouse_helpers.go @@ -195,7 +195,7 @@ func (c *ClickHouse) GetAuthSecretName() string { if c.Spec.AuthSecret != nil && c.Spec.AuthSecret.Name != "" { return c.Spec.AuthSecret.Name } - return c.DefaultUserCredSecretName("admin") + return meta_util.NameWithSuffix(c.OffshootName(), "auth") } func (r *ClickHouse) ConfigSecretName() string { diff --git a/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/druid_helpers.go b/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/druid_helpers.go index 79875da3..b931018f 100644 --- a/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/druid_helpers.go +++ b/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/druid_helpers.go @@ -103,6 +103,13 @@ func (d *Druid) GoverningServiceName() string { return meta_util.NameWithSuffix(d.ServiceName(), "pods") } +func (d *Druid) GetAuthSecretName() string { + if d.Spec.AuthSecret != nil && d.Spec.AuthSecret.Name != "" { + return d.Spec.AuthSecret.Name + } + return meta_util.NameWithSuffix(d.OffShootName(), "auth") +} + func (d *Druid) OffShootSelectors(extraSelectors ...map[string]string) map[string]string { selector := map[string]string{ meta_util.NameLabelKey: d.ResourceFQN(), diff --git a/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/kafka_helpers.go b/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/kafka_helpers.go index f550ac33..95d5ebf4 100644 --- a/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/kafka_helpers.go +++ b/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/kafka_helpers.go @@ -239,8 +239,8 @@ func (k *Kafka) CruiseControlConfigSecretName() string { return meta_util.NameWithSuffix(k.OffshootName(), "cruise-control-config") } -func (k *Kafka) DefaultUserCredSecretName(username string) string { - return meta_util.NameWithSuffix(k.Name, strings.ReplaceAll(fmt.Sprintf("%s-cred", username), "_", "-")) +func (k *Kafka) DefaultUserCredSecretName() string { + return meta_util.NameWithSuffix(k.OffshootName(), "auth") } func (k *Kafka) DefaultKeystoreCredSecretName() string { diff --git a/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/rabbitmq_helpers.go b/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/rabbitmq_helpers.go index 44a5e169..f998beb0 100644 --- a/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/rabbitmq_helpers.go +++ b/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/rabbitmq_helpers.go @@ -78,7 +78,7 @@ func (r *RabbitMQ) GetAuthSecretName() string { if r.Spec.AuthSecret != nil && r.Spec.AuthSecret.Name != "" { return r.Spec.AuthSecret.Name } - return r.DefaultUserCredSecretName("admin") + return meta_util.NameWithSuffix(r.OffshootName(), "auth") } func (r *RabbitMQ) GetPersistentSecrets() []string { diff --git a/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/solr_helpers.go b/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/solr_helpers.go index 1daf8ebd..08de1226 100644 --- a/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/solr_helpers.go +++ b/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/solr_helpers.go @@ -97,6 +97,13 @@ func (s *Solr) SolrSecretName(suffix string) string { return strings.Join([]string{s.Name, suffix}, "-") } +func (s *Solr) GetAuthSecretName() string { + if s.Spec.AuthSecret != nil && s.Spec.AuthSecret.Name != "" { + return s.Spec.AuthSecret.Name + } + return meta_util.NameWithSuffix(s.OffshootName(), "auth") +} + func (s *Solr) SolrSecretKey() string { return kubedb.SolrSecretKey } @@ -262,12 +269,6 @@ func (s *Solr) SetDefaults() { s.Spec.StorageType = StorageTypeDurable } - if s.Spec.AuthSecret == nil { - s.Spec.AuthSecret = &v1.LocalObjectReference{ - Name: s.SolrSecretName("admin-cred"), - } - } - if s.Spec.ZookeeperDigestSecret == nil { s.Spec.ZookeeperDigestSecret = &v1.LocalObjectReference{ Name: s.SolrSecretName("zk-digest"), diff --git a/vendor/modules.txt b/vendor/modules.txt index f1aa3bac..fdf6861d 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -1564,7 +1564,7 @@ kmodules.xyz/offshoot-api/api/v1 kmodules.xyz/offshoot-api/api/v1/conversion kmodules.xyz/offshoot-api/api/v2 kmodules.xyz/offshoot-api/util -# kubedb.dev/apimachinery v0.48.1-0.20241025104947-405c179f3f23 +# kubedb.dev/apimachinery v0.48.1-0.20241028061506-54019160140d ## explicit; go 1.22.1 kubedb.dev/apimachinery/apis kubedb.dev/apimachinery/apis/catalog From cfe191b644ac1e3ac9738500a8218f69f844023d Mon Sep 17 00:00:00 2001 From: pritamdas99 Date: Mon, 28 Oct 2024 13:34:55 +0600 Subject: [PATCH 2/3] Update deps Signed-off-by: pritamdas99 --- go.mod | 2 +- go.sum | 4 +- .../kafka/v1alpha1/zz_generated.deepcopy.go | 4 +- .../apis/kubedb/v1/openapi_generated.go | 14 +++++ .../apimachinery/apis/kubedb/v1/types.go | 8 ++- .../apis/kubedb/v1/zz_generated.deepcopy.go | 41 +++++++----- .../apis/kubedb/v1alpha2/openapi_generated.go | 14 +++++ .../apis/kubedb/v1alpha2/solr_helpers.go | 2 +- .../apis/kubedb/v1alpha2/types.go | 8 ++- .../kubedb/v1alpha2/zz_generated.deepcopy.go | 63 +++++++++++-------- .../kafka.kubedb.com_connectclusters.yaml | 10 +++ .../crds/kubedb.com_cassandras.yaml | 5 ++ .../crds/kubedb.com_clickhouses.yaml | 5 ++ .../apimachinery/crds/kubedb.com_druids.yaml | 5 ++ .../crds/kubedb.com_elasticsearches.yaml | 10 +++ .../apimachinery/crds/kubedb.com_etcds.yaml | 5 ++ .../crds/kubedb.com_ferretdbs.yaml | 5 ++ .../apimachinery/crds/kubedb.com_kafkas.yaml | 30 +++++++++ .../crds/kubedb.com_mariadbs.yaml | 10 +++ .../crds/kubedb.com_memcacheds.yaml | 5 ++ .../crds/kubedb.com_mongodbs.yaml | 10 +++ .../crds/kubedb.com_mssqlservers.yaml | 5 ++ .../apimachinery/crds/kubedb.com_mysqls.yaml | 10 +++ .../crds/kubedb.com_perconaxtradbs.yaml | 30 +++++++++ .../crds/kubedb.com_pgbouncers.yaml | 10 +++ .../apimachinery/crds/kubedb.com_pgpools.yaml | 5 ++ .../crds/kubedb.com_postgreses.yaml | 10 +++ .../crds/kubedb.com_proxysqls.yaml | 10 +++ .../crds/kubedb.com_rabbitmqs.yaml | 5 ++ .../apimachinery/crds/kubedb.com_redises.yaml | 10 +++ .../crds/kubedb.com_redissentinels.yaml | 10 +++ .../crds/kubedb.com_singlestores.yaml | 10 +++ .../crds/kubedb.com_zookeepers.yaml | 10 +++ .../ops.kubedb.com_clickhouseopsrequests.yaml | 11 ++++ .../crds/ops.kubedb.com_druidopsrequests.yaml | 11 ++++ ...s.kubedb.com_elasticsearchopsrequests.yaml | 11 ++++ .../crds/ops.kubedb.com_etcdopsrequests.yaml | 11 ++++ .../ops.kubedb.com_ferretdbopsrequests.yaml | 11 ++++ .../crds/ops.kubedb.com_kafkaopsrequests.yaml | 11 ++++ .../ops.kubedb.com_mariadbopsrequests.yaml | 11 ++++ .../ops.kubedb.com_memcachedopsrequests.yaml | 11 ++++ .../ops.kubedb.com_mongodbopsrequests.yaml | 11 ++++ ...ops.kubedb.com_mssqlserveropsrequests.yaml | 11 ++++ .../crds/ops.kubedb.com_mysqlopsrequests.yaml | 11 ++++ ...s.kubedb.com_perconaxtradbopsrequests.yaml | 11 ++++ .../ops.kubedb.com_pgbounceropsrequests.yaml | 11 ++++ .../ops.kubedb.com_pgpoolopsrequests.yaml | 11 ++++ .../ops.kubedb.com_postgresopsrequests.yaml | 11 ++++ .../ops.kubedb.com_proxysqlopsrequests.yaml | 11 ++++ .../ops.kubedb.com_rabbitmqopsrequests.yaml | 11 ++++ .../crds/ops.kubedb.com_redisopsrequests.yaml | 11 ++++ ...s.kubedb.com_redissentinelopsrequests.yaml | 11 ++++ ...ops.kubedb.com_singlestoreopsrequests.yaml | 11 ++++ .../crds/ops.kubedb.com_solropsrequests.yaml | 11 ++++ .../ops.kubedb.com_zookeeperopsrequests.yaml | 11 ++++ vendor/modules.txt | 2 +- 56 files changed, 577 insertions(+), 52 deletions(-) diff --git a/go.mod b/go.mod index c31ad10d..74006cff 100644 --- a/go.mod +++ b/go.mod @@ -32,7 +32,7 @@ require ( k8s.io/klog/v2 v2.130.1 kmodules.xyz/client-go v0.30.28 kmodules.xyz/custom-resources v0.30.0 - kubedb.dev/apimachinery v0.48.1-0.20241028061506-54019160140d + kubedb.dev/apimachinery v0.48.1-0.20241028071913-80c1523be61f sigs.k8s.io/controller-runtime v0.18.4 xorm.io/xorm v1.3.6 ) diff --git a/go.sum b/go.sum index 9e033a8b..a89b9fa0 100644 --- a/go.sum +++ b/go.sum @@ -804,8 +804,8 @@ kmodules.xyz/monitoring-agent-api v0.30.2 h1:sAgz5P5EXZqhlj1NzJ+QltAgeIx5bGSMj+a kmodules.xyz/monitoring-agent-api v0.30.2/go.mod h1:BoZFPDDRB7J39CcUsSDlzgW8PQCwik4ILPleyUob+Mg= kmodules.xyz/offshoot-api v0.30.1 h1:TrulAYO+oBsXe9sZZGTmNWIuI8qD2izMpgcTSPvgAmI= kmodules.xyz/offshoot-api v0.30.1/go.mod h1:T3mpjR6fui0QzOcmQvIuANytW48fe9ytmy/1cgx6D4g= -kubedb.dev/apimachinery v0.48.1-0.20241028061506-54019160140d h1:7fRMAhrz5tFTa3r3gZFnLBL3iifQ/d/dh/mCCCi0Wqo= -kubedb.dev/apimachinery v0.48.1-0.20241028061506-54019160140d/go.mod h1:NCiS4uS+F8DUyU9/tUQO3wqyNRNf0busab5/0Q2nYA0= +kubedb.dev/apimachinery v0.48.1-0.20241028071913-80c1523be61f h1:3cP7qc7wbFkJcZwOuJ97K5zFukUE6NoK3jAVy5EHt10= +kubedb.dev/apimachinery v0.48.1-0.20241028071913-80c1523be61f/go.mod h1:NCiS4uS+F8DUyU9/tUQO3wqyNRNf0busab5/0Q2nYA0= kubeops.dev/petset v0.0.7 h1:F77BTRfUqRVO7kNc8q2oFSSviDmYBqni/osXqu0kgJ4= kubeops.dev/petset v0.0.7/go.mod h1:lt0SZV4ohRy7RiwLNUnMoauG4lCbcRbSqhMg20rdUQg= lukechampine.com/uint128 v1.1.1/go.mod h1:c4eWIwlEGaxC/+H1VguhU4PHXNWDCDMUlWdIWl2j1gk= diff --git a/vendor/kubedb.dev/apimachinery/apis/kafka/v1alpha1/zz_generated.deepcopy.go b/vendor/kubedb.dev/apimachinery/apis/kafka/v1alpha1/zz_generated.deepcopy.go index b333a0f4..84e26a73 100644 --- a/vendor/kubedb.dev/apimachinery/apis/kafka/v1alpha1/zz_generated.deepcopy.go +++ b/vendor/kubedb.dev/apimachinery/apis/kafka/v1alpha1/zz_generated.deepcopy.go @@ -128,12 +128,12 @@ func (in *ConnectClusterSpec) DeepCopyInto(out *ConnectClusterSpec) { if in.AuthSecret != nil { in, out := &in.AuthSecret, &out.AuthSecret *out = new(kubedbv1.SecretReference) - **out = **in + (*in).DeepCopyInto(*out) } if in.KeystoreCredSecret != nil { in, out := &in.KeystoreCredSecret, &out.KeystoreCredSecret *out = new(kubedbv1.SecretReference) - **out = **in + (*in).DeepCopyInto(*out) } if in.TLS != nil { in, out := &in.TLS, &out.TLS diff --git a/vendor/kubedb.dev/apimachinery/apis/kubedb/v1/openapi_generated.go b/vendor/kubedb.dev/apimachinery/apis/kubedb/v1/openapi_generated.go index e8be6203..d2c015cf 100644 --- a/vendor/kubedb.dev/apimachinery/apis/kubedb/v1/openapi_generated.go +++ b/vendor/kubedb.dev/apimachinery/apis/kubedb/v1/openapi_generated.go @@ -30976,6 +30976,18 @@ func schema_apimachinery_apis_kubedb_v1_SecretReference(ref common.ReferenceCall Format: "", }, }, + "rotateAfter": { + SchemaProps: spec.SchemaProps{ + Description: "Recommendation engine will generate RotateAuth opsReq using this field", + Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Duration"), + }, + }, + "activeFrom": { + SchemaProps: spec.SchemaProps{ + Description: "ActiveFrom holds the RFC3339 time. The referred authSecret is in-use from this timestamp.", + Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), + }, + }, "externallyManaged": { SchemaProps: spec.SchemaProps{ Type: []string{"boolean"}, @@ -30985,6 +30997,8 @@ func schema_apimachinery_apis_kubedb_v1_SecretReference(ref common.ReferenceCall }, }, }, + Dependencies: []string{ + "k8s.io/apimachinery/pkg/apis/meta/v1.Duration", "k8s.io/apimachinery/pkg/apis/meta/v1.Time"}, } } diff --git a/vendor/kubedb.dev/apimachinery/apis/kubedb/v1/types.go b/vendor/kubedb.dev/apimachinery/apis/kubedb/v1/types.go index 9a9d904e..7b5ae04c 100644 --- a/vendor/kubedb.dev/apimachinery/apis/kubedb/v1/types.go +++ b/vendor/kubedb.dev/apimachinery/apis/kubedb/v1/types.go @@ -190,7 +190,13 @@ type SystemUserSecretsSpec struct { type SecretReference struct { core.LocalObjectReference `json:",inline,omitempty"` - ExternallyManaged bool `json:"externallyManaged,omitempty"` + // Recommendation engine will generate RotateAuth opsReq using this field + // +optional + RotateAfter *metav1.Duration `json:"rotateAfter,omitempty"` + // ActiveFrom holds the RFC3339 time. The referred authSecret is in-use from this timestamp. + // +optional + ActiveFrom *metav1.Time `json:"activeFrom,omitempty"` + ExternallyManaged bool `json:"externallyManaged,omitempty"` } type Age struct { diff --git a/vendor/kubedb.dev/apimachinery/apis/kubedb/v1/zz_generated.deepcopy.go b/vendor/kubedb.dev/apimachinery/apis/kubedb/v1/zz_generated.deepcopy.go index e3f35754..b86ca02c 100644 --- a/vendor/kubedb.dev/apimachinery/apis/kubedb/v1/zz_generated.deepcopy.go +++ b/vendor/kubedb.dev/apimachinery/apis/kubedb/v1/zz_generated.deepcopy.go @@ -488,7 +488,7 @@ func (in *ElasticsearchSpec) DeepCopyInto(out *ElasticsearchSpec) { if in.AuthSecret != nil { in, out := &in.AuthSecret, &out.AuthSecret *out = new(SecretReference) - **out = **in + (*in).DeepCopyInto(*out) } if in.Storage != nil { in, out := &in.Storage, &out.Storage @@ -811,7 +811,7 @@ func (in *KafkaCruiseControl) DeepCopyInto(out *KafkaCruiseControl) { if in.ConfigSecret != nil { in, out := &in.ConfigSecret, &out.ConfigSecret *out = new(SecretReference) - **out = **in + (*in).DeepCopyInto(*out) } if in.Replicas != nil { in, out := &in.Replicas, &out.Replicas @@ -919,7 +919,7 @@ func (in *KafkaSpec) DeepCopyInto(out *KafkaSpec) { if in.AuthSecret != nil { in, out := &in.AuthSecret, &out.AuthSecret *out = new(SecretReference) - **out = **in + (*in).DeepCopyInto(*out) } if in.ConfigSecret != nil { in, out := &in.ConfigSecret, &out.ConfigSecret @@ -929,7 +929,7 @@ func (in *KafkaSpec) DeepCopyInto(out *KafkaSpec) { if in.KeystoreCredSecret != nil { in, out := &in.KeystoreCredSecret, &out.KeystoreCredSecret *out = new(SecretReference) - **out = **in + (*in).DeepCopyInto(*out) } if in.TLS != nil { in, out := &in.TLS, &out.TLS @@ -1090,7 +1090,7 @@ func (in *MariaDBSpec) DeepCopyInto(out *MariaDBSpec) { if in.AuthSecret != nil { in, out := &in.AuthSecret, &out.AuthSecret *out = new(SecretReference) - **out = **in + (*in).DeepCopyInto(*out) } if in.Init != nil { in, out := &in.Init, &out.Init @@ -1254,7 +1254,7 @@ func (in *MemcachedSpec) DeepCopyInto(out *MemcachedSpec) { if in.AuthSecret != nil { in, out := &in.AuthSecret, &out.AuthSecret *out = new(SecretReference) - **out = **in + (*in).DeepCopyInto(*out) } if in.DataVolume != nil { in, out := &in.DataVolume, &out.DataVolume @@ -1562,7 +1562,7 @@ func (in *MongoDBSpec) DeepCopyInto(out *MongoDBSpec) { if in.AuthSecret != nil { in, out := &in.AuthSecret, &out.AuthSecret *out = new(SecretReference) - **out = **in + (*in).DeepCopyInto(*out) } if in.Init != nil { in, out := &in.Init, &out.Init @@ -1842,7 +1842,7 @@ func (in *MySQLSpec) DeepCopyInto(out *MySQLSpec) { if in.AuthSecret != nil { in, out := &in.AuthSecret, &out.AuthSecret *out = new(SecretReference) - **out = **in + (*in).DeepCopyInto(*out) } if in.Init != nil { in, out := &in.Init, &out.Init @@ -2106,7 +2106,7 @@ func (in *PerconaXtraDBSpec) DeepCopyInto(out *PerconaXtraDBSpec) { if in.AuthSecret != nil { in, out := &in.AuthSecret, &out.AuthSecret *out = new(SecretReference) - **out = **in + (*in).DeepCopyInto(*out) } if in.Init != nil { in, out := &in.Init, &out.Init @@ -2275,7 +2275,7 @@ func (in *PgBouncerSpec) DeepCopyInto(out *PgBouncerSpec) { if in.AuthSecret != nil { in, out := &in.AuthSecret, &out.AuthSecret *out = new(SecretReference) - **out = **in + (*in).DeepCopyInto(*out) } if in.ConfigSecret != nil { in, out := &in.ConfigSecret, &out.ConfigSecret @@ -2485,7 +2485,7 @@ func (in *PostgresSpec) DeepCopyInto(out *PostgresSpec) { if in.AuthSecret != nil { in, out := &in.AuthSecret, &out.AuthSecret *out = new(SecretReference) - **out = **in + (*in).DeepCopyInto(*out) } if in.Storage != nil { in, out := &in.Storage, &out.Storage @@ -2709,7 +2709,7 @@ func (in *ProxySQLSpec) DeepCopyInto(out *ProxySQLSpec) { if in.AuthSecret != nil { in, out := &in.AuthSecret, &out.AuthSecret *out = new(SecretReference) - **out = **in + (*in).DeepCopyInto(*out) } if in.Monitor != nil { in, out := &in.Monitor, &out.Monitor @@ -2991,7 +2991,7 @@ func (in *RedisSentinelSpec) DeepCopyInto(out *RedisSentinelSpec) { if in.AuthSecret != nil { in, out := &in.AuthSecret, &out.AuthSecret *out = new(SecretReference) - **out = **in + (*in).DeepCopyInto(*out) } if in.Monitor != nil { in, out := &in.Monitor, &out.Monitor @@ -3067,7 +3067,7 @@ func (in *RedisSpec) DeepCopyInto(out *RedisSpec) { if in.AuthSecret != nil { in, out := &in.AuthSecret, &out.AuthSecret *out = new(SecretReference) - **out = **in + (*in).DeepCopyInto(*out) } if in.Init != nil { in, out := &in.Init, &out.Init @@ -3187,6 +3187,15 @@ func (in *ScriptSourceSpec) DeepCopy() *ScriptSourceSpec { func (in *SecretReference) DeepCopyInto(out *SecretReference) { *out = *in out.LocalObjectReference = in.LocalObjectReference + if in.RotateAfter != nil { + in, out := &in.RotateAfter, &out.RotateAfter + *out = new(metav1.Duration) + **out = **in + } + if in.ActiveFrom != nil { + in, out := &in.ActiveFrom, &out.ActiveFrom + *out = (*in).DeepCopy() + } return } @@ -3228,12 +3237,12 @@ func (in *SystemUserSecretsSpec) DeepCopyInto(out *SystemUserSecretsSpec) { if in.ReplicationUserSecret != nil { in, out := &in.ReplicationUserSecret, &out.ReplicationUserSecret *out = new(SecretReference) - **out = **in + (*in).DeepCopyInto(*out) } if in.MonitorUserSecret != nil { in, out := &in.MonitorUserSecret, &out.MonitorUserSecret *out = new(SecretReference) - **out = **in + (*in).DeepCopyInto(*out) } return } diff --git a/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/openapi_generated.go b/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/openapi_generated.go index a19ba262..142bff05 100644 --- a/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/openapi_generated.go +++ b/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/openapi_generated.go @@ -34192,6 +34192,18 @@ func schema_apimachinery_apis_kubedb_v1alpha2_SecretReference(ref common.Referen Format: "", }, }, + "rotateAfter": { + SchemaProps: spec.SchemaProps{ + Description: "Recommendation engine will generate RotateAuth opsReq using this field", + Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Duration"), + }, + }, + "activeFrom": { + SchemaProps: spec.SchemaProps{ + Description: "ActiveFrom holds the RFC3339 time. The referred authSecret is in-use from this timestamp.", + Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), + }, + }, "externallyManaged": { SchemaProps: spec.SchemaProps{ Type: []string{"boolean"}, @@ -34201,6 +34213,8 @@ func schema_apimachinery_apis_kubedb_v1alpha2_SecretReference(ref common.Referen }, }, }, + Dependencies: []string{ + "k8s.io/apimachinery/pkg/apis/meta/v1.Duration", "k8s.io/apimachinery/pkg/apis/meta/v1.Time"}, } } diff --git a/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/solr_helpers.go b/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/solr_helpers.go index 08de1226..328d1d4f 100644 --- a/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/solr_helpers.go +++ b/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/solr_helpers.go @@ -444,7 +444,7 @@ func (s *Solr) GetPersistentSecrets() []string { var secrets []string // Add Admin/Elastic user secret name if s.Spec.AuthSecret != nil { - secrets = append(secrets, s.Spec.AuthSecret.Name) + secrets = append(secrets, s.GetAuthSecretName()) } if s.Spec.AuthConfigSecret != nil { diff --git a/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/types.go b/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/types.go index 61cb5e73..771e754e 100644 --- a/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/types.go +++ b/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/types.go @@ -207,7 +207,13 @@ type SystemUserSecretsSpec struct { type SecretReference struct { core.LocalObjectReference `json:",inline,omitempty"` - ExternallyManaged bool `json:"externallyManaged,omitempty"` + // Recommendation engine will generate RotateAuth opsReq using this field + // +optional + RotateAfter *metav1.Duration `json:"rotateAfter,omitempty"` + // ActiveFrom holds the RFC3339 time. The referred authSecret is in-use from this timestamp. + // +optional + ActiveFrom *metav1.Time `json:"activeFrom,omitempty"` + ExternallyManaged bool `json:"externallyManaged,omitempty"` } type Age struct { diff --git a/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/zz_generated.deepcopy.go b/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/zz_generated.deepcopy.go index c7ebf79b..23f433f1 100644 --- a/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/zz_generated.deepcopy.go +++ b/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/zz_generated.deepcopy.go @@ -274,7 +274,7 @@ func (in *CassandraSpec) DeepCopyInto(out *CassandraSpec) { if in.AuthSecret != nil { in, out := &in.AuthSecret, &out.AuthSecret *out = new(SecretReference) - **out = **in + (*in).DeepCopyInto(*out) } if in.ConfigSecret != nil { in, out := &in.ConfigSecret, &out.ConfigSecret @@ -490,7 +490,7 @@ func (in *ClickHouseSpec) DeepCopyInto(out *ClickHouseSpec) { if in.AuthSecret != nil { in, out := &in.AuthSecret, &out.AuthSecret *out = new(SecretReference) - **out = **in + (*in).DeepCopyInto(*out) } if in.ConfigSecret != nil { in, out := &in.ConfigSecret, &out.ConfigSecret @@ -1007,7 +1007,7 @@ func (in *DruidSpec) DeepCopyInto(out *DruidSpec) { if in.KeystoreCredSecret != nil { in, out := &in.KeystoreCredSecret, &out.KeystoreCredSecret *out = new(SecretReference) - **out = **in + (*in).DeepCopyInto(*out) } if in.TLS != nil { in, out := &in.TLS, &out.TLS @@ -1327,7 +1327,7 @@ func (in *ElasticsearchSpec) DeepCopyInto(out *ElasticsearchSpec) { if in.AuthSecret != nil { in, out := &in.AuthSecret, &out.AuthSecret *out = new(SecretReference) - **out = **in + (*in).DeepCopyInto(*out) } if in.Storage != nil { in, out := &in.Storage, &out.Storage @@ -1565,7 +1565,7 @@ func (in *EtcdSpec) DeepCopyInto(out *EtcdSpec) { if in.AuthSecret != nil { in, out := &in.AuthSecret, &out.AuthSecret *out = new(SecretReference) - **out = **in + (*in).DeepCopyInto(*out) } if in.Init != nil { in, out := &in.Init, &out.Init @@ -1750,7 +1750,7 @@ func (in *FerretDBSpec) DeepCopyInto(out *FerretDBSpec) { if in.AuthSecret != nil { in, out := &in.AuthSecret, &out.AuthSecret *out = new(SecretReference) - **out = **in + (*in).DeepCopyInto(*out) } if in.PodTemplate != nil { in, out := &in.PodTemplate, &out.PodTemplate @@ -2025,7 +2025,7 @@ func (in *KafkaCruiseControl) DeepCopyInto(out *KafkaCruiseControl) { if in.ConfigSecret != nil { in, out := &in.ConfigSecret, &out.ConfigSecret *out = new(SecretReference) - **out = **in + (*in).DeepCopyInto(*out) } if in.Replicas != nil { in, out := &in.Replicas, &out.Replicas @@ -2147,7 +2147,7 @@ func (in *KafkaSpec) DeepCopyInto(out *KafkaSpec) { if in.AuthSecret != nil { in, out := &in.AuthSecret, &out.AuthSecret *out = new(SecretReference) - **out = **in + (*in).DeepCopyInto(*out) } if in.ConfigSecret != nil { in, out := &in.ConfigSecret, &out.ConfigSecret @@ -2157,7 +2157,7 @@ func (in *KafkaSpec) DeepCopyInto(out *KafkaSpec) { if in.KeystoreCredSecret != nil { in, out := &in.KeystoreCredSecret, &out.KeystoreCredSecret *out = new(SecretReference) - **out = **in + (*in).DeepCopyInto(*out) } if in.TLS != nil { in, out := &in.TLS, &out.TLS @@ -2391,7 +2391,7 @@ func (in *MSSQLServerSpec) DeepCopyInto(out *MSSQLServerSpec) { if in.AuthSecret != nil { in, out := &in.AuthSecret, &out.AuthSecret *out = new(SecretReference) - **out = **in + (*in).DeepCopyInto(*out) } if in.ConfigSecret != nil { in, out := &in.ConfigSecret, &out.ConfigSecret @@ -2582,7 +2582,7 @@ func (in *MariaDBSpec) DeepCopyInto(out *MariaDBSpec) { if in.AuthSecret != nil { in, out := &in.AuthSecret, &out.AuthSecret *out = new(SecretReference) - **out = **in + (*in).DeepCopyInto(*out) } if in.Init != nil { in, out := &in.Init, &out.Init @@ -3089,7 +3089,7 @@ func (in *MongoDBSpec) DeepCopyInto(out *MongoDBSpec) { if in.AuthSecret != nil { in, out := &in.AuthSecret, &out.AuthSecret *out = new(SecretReference) - **out = **in + (*in).DeepCopyInto(*out) } if in.Init != nil { in, out := &in.Init, &out.Init @@ -3366,7 +3366,7 @@ func (in *MySQLSpec) DeepCopyInto(out *MySQLSpec) { if in.AuthSecret != nil { in, out := &in.AuthSecret, &out.AuthSecret *out = new(SecretReference) - **out = **in + (*in).DeepCopyInto(*out) } if in.Init != nil { in, out := &in.Init, &out.Init @@ -3631,7 +3631,7 @@ func (in *PerconaXtraDBSpec) DeepCopyInto(out *PerconaXtraDBSpec) { if in.AuthSecret != nil { in, out := &in.AuthSecret, &out.AuthSecret *out = new(SecretReference) - **out = **in + (*in).DeepCopyInto(*out) } if in.Init != nil { in, out := &in.Init, &out.Init @@ -3801,7 +3801,7 @@ func (in *PgBouncerSpec) DeepCopyInto(out *PgBouncerSpec) { if in.AuthSecret != nil { in, out := &in.AuthSecret, &out.AuthSecret *out = new(SecretReference) - **out = **in + (*in).DeepCopyInto(*out) } if in.ConfigSecret != nil { in, out := &in.ConfigSecret, &out.ConfigSecret @@ -3953,7 +3953,7 @@ func (in *PgpoolSpec) DeepCopyInto(out *PgpoolSpec) { if in.AuthSecret != nil { in, out := &in.AuthSecret, &out.AuthSecret *out = new(SecretReference) - **out = **in + (*in).DeepCopyInto(*out) } if in.ConfigSecret != nil { in, out := &in.ConfigSecret, &out.ConfigSecret @@ -4201,7 +4201,7 @@ func (in *PostgresSpec) DeepCopyInto(out *PostgresSpec) { if in.AuthSecret != nil { in, out := &in.AuthSecret, &out.AuthSecret *out = new(SecretReference) - **out = **in + (*in).DeepCopyInto(*out) } if in.Storage != nil { in, out := &in.Storage, &out.Storage @@ -4426,7 +4426,7 @@ func (in *ProxySQLSpec) DeepCopyInto(out *ProxySQLSpec) { if in.AuthSecret != nil { in, out := &in.AuthSecret, &out.AuthSecret *out = new(SecretReference) - **out = **in + (*in).DeepCopyInto(*out) } if in.Monitor != nil { in, out := &in.Monitor, &out.Monitor @@ -4570,7 +4570,7 @@ func (in *RabbitMQSpec) DeepCopyInto(out *RabbitMQSpec) { if in.AuthSecret != nil { in, out := &in.AuthSecret, &out.AuthSecret *out = new(SecretReference) - **out = **in + (*in).DeepCopyInto(*out) } if in.ConfigSecret != nil { in, out := &in.ConfigSecret, &out.ConfigSecret @@ -4925,7 +4925,7 @@ func (in *RedisSentinelSpec) DeepCopyInto(out *RedisSentinelSpec) { if in.AuthSecret != nil { in, out := &in.AuthSecret, &out.AuthSecret *out = new(SecretReference) - **out = **in + (*in).DeepCopyInto(*out) } if in.Monitor != nil { in, out := &in.Monitor, &out.Monitor @@ -5001,7 +5001,7 @@ func (in *RedisSpec) DeepCopyInto(out *RedisSpec) { if in.AuthSecret != nil { in, out := &in.AuthSecret, &out.AuthSecret *out = new(SecretReference) - **out = **in + (*in).DeepCopyInto(*out) } if in.Init != nil { in, out := &in.Init, &out.Init @@ -5139,6 +5139,15 @@ func (in *ScriptSourceSpec) DeepCopy() *ScriptSourceSpec { func (in *SecretReference) DeepCopyInto(out *SecretReference) { *out = *in out.LocalObjectReference = in.LocalObjectReference + if in.RotateAfter != nil { + in, out := &in.RotateAfter, &out.RotateAfter + *out = new(v1.Duration) + **out = **in + } + if in.ActiveFrom != nil { + in, out := &in.ActiveFrom, &out.ActiveFrom + *out = (*in).DeepCopy() + } return } @@ -5297,12 +5306,12 @@ func (in *SinglestoreSpec) DeepCopyInto(out *SinglestoreSpec) { if in.LicenseSecret != nil { in, out := &in.LicenseSecret, &out.LicenseSecret *out = new(SecretReference) - **out = **in + (*in).DeepCopyInto(*out) } if in.AuthSecret != nil { in, out := &in.AuthSecret, &out.AuthSecret *out = new(SecretReference) - **out = **in + (*in).DeepCopyInto(*out) } if in.PodTemplate != nil { in, out := &in.PodTemplate, &out.PodTemplate @@ -5653,12 +5662,12 @@ func (in *SystemUserSecretsSpec) DeepCopyInto(out *SystemUserSecretsSpec) { if in.ReplicationUserSecret != nil { in, out := &in.ReplicationUserSecret, &out.ReplicationUserSecret *out = new(SecretReference) - **out = **in + (*in).DeepCopyInto(*out) } if in.MonitorUserSecret != nil { in, out := &in.MonitorUserSecret, &out.MonitorUserSecret *out = new(SecretReference) - **out = **in + (*in).DeepCopyInto(*out) } return } @@ -5815,7 +5824,7 @@ func (in *ZooKeeperSpec) DeepCopyInto(out *ZooKeeperSpec) { if in.AuthSecret != nil { in, out := &in.AuthSecret, &out.AuthSecret *out = new(SecretReference) - **out = **in + (*in).DeepCopyInto(*out) } if in.ConfigSecret != nil { in, out := &in.ConfigSecret, &out.ConfigSecret @@ -5825,7 +5834,7 @@ func (in *ZooKeeperSpec) DeepCopyInto(out *ZooKeeperSpec) { if in.KeystoreCredSecret != nil { in, out := &in.KeystoreCredSecret, &out.KeystoreCredSecret *out = new(SecretReference) - **out = **in + (*in).DeepCopyInto(*out) } if in.TLS != nil { in, out := &in.TLS, &out.TLS diff --git a/vendor/kubedb.dev/apimachinery/crds/kafka.kubedb.com_connectclusters.yaml b/vendor/kubedb.dev/apimachinery/crds/kafka.kubedb.com_connectclusters.yaml index f466abe1..37b0e47a 100644 --- a/vendor/kubedb.dev/apimachinery/crds/kafka.kubedb.com_connectclusters.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/kafka.kubedb.com_connectclusters.yaml @@ -47,11 +47,16 @@ spec: properties: authSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic configSecret: @@ -108,11 +113,16 @@ spec: type: object keystoreCredSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic monitor: diff --git a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_cassandras.yaml b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_cassandras.yaml index c8ec727e..cc6a62ae 100644 --- a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_cassandras.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_cassandras.yaml @@ -48,11 +48,16 @@ spec: properties: authSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic configSecret: diff --git a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_clickhouses.yaml b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_clickhouses.yaml index d07e317a..b1c10a85 100644 --- a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_clickhouses.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_clickhouses.yaml @@ -48,11 +48,16 @@ spec: properties: authSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic clusterTopology: diff --git a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_druids.yaml b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_druids.yaml index 545ef9d7..4541ffb7 100644 --- a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_druids.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_druids.yaml @@ -1121,11 +1121,16 @@ spec: type: object keystoreCredSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic metadataStorage: diff --git a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_elasticsearches.yaml b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_elasticsearches.yaml index 1c182edc..fa3bd468 100644 --- a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_elasticsearches.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_elasticsearches.yaml @@ -50,11 +50,16 @@ spec: properties: authSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic autoOps: @@ -39677,11 +39682,16 @@ spec: properties: authSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic autoOps: diff --git a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_etcds.yaml b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_etcds.yaml index 9a33935e..1fe17669 100644 --- a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_etcds.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_etcds.yaml @@ -50,11 +50,16 @@ spec: properties: authSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic deletionPolicy: diff --git a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_ferretdbs.yaml b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_ferretdbs.yaml index d7535e17..f50434c0 100644 --- a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_ferretdbs.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_ferretdbs.yaml @@ -48,11 +48,16 @@ spec: properties: authSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic backend: diff --git a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_kafkas.yaml b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_kafkas.yaml index 3d1b52d0..e57b8634 100644 --- a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_kafkas.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_kafkas.yaml @@ -48,11 +48,16 @@ spec: properties: authSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic configSecret: @@ -73,11 +78,16 @@ spec: type: object configSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic podTemplate: @@ -3217,11 +3227,16 @@ spec: type: object keystoreCredSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic monitor: @@ -13157,11 +13172,16 @@ spec: properties: authSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic configSecret: @@ -13182,11 +13202,16 @@ spec: type: object configSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic podTemplate: @@ -16326,11 +16351,16 @@ spec: type: object keystoreCredSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic monitor: diff --git a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_mariadbs.yaml b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_mariadbs.yaml index 7ae0220a..01e7a6ec 100644 --- a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_mariadbs.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_mariadbs.yaml @@ -136,11 +136,16 @@ spec: type: object authSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic autoOps: @@ -4898,11 +4903,16 @@ spec: type: object authSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic autoOps: diff --git a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_memcacheds.yaml b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_memcacheds.yaml index 7f19e5d9..48bded88 100644 --- a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_memcacheds.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_memcacheds.yaml @@ -50,11 +50,16 @@ spec: properties: authSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic configSecret: diff --git a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_mongodbs.yaml b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_mongodbs.yaml index 681aa6e4..3bc04abc 100644 --- a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_mongodbs.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_mongodbs.yaml @@ -3211,11 +3211,16 @@ spec: type: object authSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic autoOps: @@ -23270,11 +23275,16 @@ spec: type: object authSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic autoOps: diff --git a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_mssqlservers.yaml b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_mssqlservers.yaml index 79876c0e..fc638e09 100644 --- a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_mssqlservers.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_mssqlservers.yaml @@ -61,11 +61,16 @@ spec: type: object authSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic configSecret: diff --git a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_mysqls.yaml b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_mysqls.yaml index 60825e52..f78c3257 100644 --- a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_mysqls.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_mysqls.yaml @@ -206,11 +206,16 @@ spec: type: object authSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic autoOps: @@ -8181,11 +8186,16 @@ spec: type: object authSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic autoOps: diff --git a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_perconaxtradbs.yaml b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_perconaxtradbs.yaml index 6d674da1..2af669de 100644 --- a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_perconaxtradbs.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_perconaxtradbs.yaml @@ -120,11 +120,16 @@ spec: type: object authSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic autoOps: @@ -4612,20 +4617,30 @@ spec: properties: monitorUserSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic replicationUserSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic type: object @@ -4881,11 +4896,16 @@ spec: type: object authSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic autoOps: @@ -9042,20 +9062,30 @@ spec: properties: monitorUserSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic replicationUserSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic type: object diff --git a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_pgbouncers.yaml b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_pgbouncers.yaml index 7fa68f80..e9e8a961 100644 --- a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_pgbouncers.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_pgbouncers.yaml @@ -50,11 +50,16 @@ spec: properties: authSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic autoOps: @@ -3687,11 +3692,16 @@ spec: properties: authSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic autoOps: diff --git a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_pgpools.yaml b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_pgpools.yaml index f0d6349b..5c5a0572 100644 --- a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_pgpools.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_pgpools.yaml @@ -48,11 +48,16 @@ spec: properties: authSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic clientAuthMode: diff --git a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_postgreses.yaml b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_postgreses.yaml index 5af5a699..47d47567 100644 --- a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_postgreses.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_postgreses.yaml @@ -191,11 +191,16 @@ spec: type: object authSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic autoOps: @@ -5101,11 +5106,16 @@ spec: type: object authSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic autoOps: diff --git a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_proxysqls.yaml b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_proxysqls.yaml index 9fe80bb9..ddb72dc4 100644 --- a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_proxysqls.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_proxysqls.yaml @@ -50,11 +50,16 @@ spec: properties: authSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic autoOps: @@ -3677,11 +3682,16 @@ spec: properties: authSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic autoOps: diff --git a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_rabbitmqs.yaml b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_rabbitmqs.yaml index 369687f7..3071bd07 100644 --- a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_rabbitmqs.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_rabbitmqs.yaml @@ -48,11 +48,16 @@ spec: properties: authSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic configSecret: diff --git a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_redises.yaml b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_redises.yaml index 8a9b13a1..0ddf675e 100644 --- a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_redises.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_redises.yaml @@ -120,11 +120,16 @@ spec: type: object authSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic autoOps: @@ -4882,11 +4887,16 @@ spec: type: object authSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic autoOps: diff --git a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_redissentinels.yaml b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_redissentinels.yaml index eefb10d0..12268f8f 100644 --- a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_redissentinels.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_redissentinels.yaml @@ -45,11 +45,16 @@ spec: properties: authSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic autoOps: @@ -3702,11 +3707,16 @@ spec: properties: authSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic autoOps: diff --git a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_singlestores.yaml b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_singlestores.yaml index 46f09797..59b0dd30 100644 --- a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_singlestores.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_singlestores.yaml @@ -48,11 +48,16 @@ spec: properties: authSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic configSecret: @@ -1100,11 +1105,16 @@ spec: type: object licenseSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic monitor: diff --git a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_zookeepers.yaml b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_zookeepers.yaml index fb4338a0..cbc190ab 100644 --- a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_zookeepers.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_zookeepers.yaml @@ -52,11 +52,16 @@ spec: type: integer authSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic clientSecurePort: @@ -106,11 +111,16 @@ spec: type: object keystoreCredSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic monitor: diff --git a/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_clickhouseopsrequests.yaml b/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_clickhouseopsrequests.yaml index e56b50ac..85e93944 100644 --- a/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_clickhouseopsrequests.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_clickhouseopsrequests.yaml @@ -48,6 +48,16 @@ spec: - IfReady - Always type: string + authentication: + properties: + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + type: object databaseRef: properties: name: @@ -62,6 +72,7 @@ spec: type: enum: - Restart + - RotateAuth type: string required: - databaseRef diff --git a/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_druidopsrequests.yaml b/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_druidopsrequests.yaml index 2ab0c325..341f2047 100644 --- a/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_druidopsrequests.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_druidopsrequests.yaml @@ -48,6 +48,16 @@ spec: - IfReady - Always type: string + authentication: + properties: + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + type: object configuration: properties: applyConfig: @@ -213,6 +223,7 @@ spec: - Restart - Reconfigure - ReconfigureTLS + - RotateAuth type: string updateVersion: properties: diff --git a/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_elasticsearchopsrequests.yaml b/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_elasticsearchopsrequests.yaml index 3362d5ad..397f39c0 100644 --- a/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_elasticsearchopsrequests.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_elasticsearchopsrequests.yaml @@ -48,6 +48,16 @@ spec: - IfReady - Always type: string + authentication: + properties: + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + type: object configuration: properties: applyConfig: @@ -241,6 +251,7 @@ spec: - Restart - Reconfigure - ReconfigureTLS + - RotateAuth type: string updateVersion: properties: diff --git a/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_etcdopsrequests.yaml b/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_etcdopsrequests.yaml index bc367433..f4570dfd 100644 --- a/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_etcdopsrequests.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_etcdopsrequests.yaml @@ -48,6 +48,16 @@ spec: - IfReady - Always type: string + authentication: + properties: + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + type: object configuration: type: object databaseRef: @@ -175,6 +185,7 @@ spec: - Restart - Reconfigure - ReconfigureTLS + - RotateAuth type: string updateVersion: properties: diff --git a/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_ferretdbopsrequests.yaml b/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_ferretdbopsrequests.yaml index 9700da76..cdf4b979 100644 --- a/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_ferretdbopsrequests.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_ferretdbopsrequests.yaml @@ -48,6 +48,16 @@ spec: - IfReady - Always type: string + authentication: + properties: + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + type: object databaseRef: properties: name: @@ -191,6 +201,7 @@ spec: - Restart - HorizontalScaling - ReconfigureTLS + - RotateAuth type: string updateVersion: properties: diff --git a/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_kafkaopsrequests.yaml b/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_kafkaopsrequests.yaml index 7e87bf6b..0ce498ab 100644 --- a/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_kafkaopsrequests.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_kafkaopsrequests.yaml @@ -48,6 +48,16 @@ spec: - IfReady - Always type: string + authentication: + properties: + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + type: object configuration: properties: applyConfig: @@ -204,6 +214,7 @@ spec: - Restart - Reconfigure - ReconfigureTLS + - RotateAuth type: string updateVersion: properties: diff --git a/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_mariadbopsrequests.yaml b/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_mariadbopsrequests.yaml index 1e5fe988..52f5c497 100644 --- a/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_mariadbopsrequests.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_mariadbopsrequests.yaml @@ -48,6 +48,16 @@ spec: - IfReady - Always type: string + authentication: + properties: + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + type: object configuration: properties: applyConfig: @@ -201,6 +211,7 @@ spec: - Restart - Reconfigure - ReconfigureTLS + - RotateAuth type: string updateVersion: properties: diff --git a/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_memcachedopsrequests.yaml b/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_memcachedopsrequests.yaml index 05d12550..7c1d7dff 100644 --- a/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_memcachedopsrequests.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_memcachedopsrequests.yaml @@ -48,6 +48,16 @@ spec: - IfReady - Always type: string + authentication: + properties: + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + type: object configuration: properties: applyConfig: @@ -196,6 +206,7 @@ spec: - Restart - Reconfigure - ReconfigureTLS + - RotateAuth type: string updateVersion: properties: diff --git a/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_mongodbopsrequests.yaml b/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_mongodbopsrequests.yaml index 7ea91bca..750ec73c 100644 --- a/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_mongodbopsrequests.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_mongodbopsrequests.yaml @@ -68,6 +68,16 @@ spec: - operation - ref type: object + authentication: + properties: + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + type: object configuration: properties: arbiter: @@ -357,6 +367,7 @@ spec: - Reconfigure - ReconfigureTLS - Reprovision + - RotateAuth type: string updateVersion: properties: diff --git a/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_mssqlserveropsrequests.yaml b/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_mssqlserveropsrequests.yaml index ab6b4929..00a0fa2f 100644 --- a/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_mssqlserveropsrequests.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_mssqlserveropsrequests.yaml @@ -48,6 +48,16 @@ spec: - IfReady - Always type: string + authentication: + properties: + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + type: object configuration: properties: applyConfig: @@ -195,6 +205,7 @@ spec: - Restart - Reconfigure - ReconfigureTLS + - RotateAuth type: string updateVersion: properties: diff --git a/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_mysqlopsrequests.yaml b/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_mysqlopsrequests.yaml index 7c60d23c..e9a7207c 100644 --- a/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_mysqlopsrequests.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_mysqlopsrequests.yaml @@ -48,6 +48,16 @@ spec: - IfReady - Always type: string + authentication: + properties: + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + type: object configuration: properties: applyConfig: @@ -198,6 +208,7 @@ spec: - Restart - Reconfigure - ReconfigureTLS + - RotateAuth type: string updateVersion: properties: diff --git a/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_perconaxtradbopsrequests.yaml b/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_perconaxtradbopsrequests.yaml index d2d78cec..287931f4 100644 --- a/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_perconaxtradbopsrequests.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_perconaxtradbopsrequests.yaml @@ -48,6 +48,16 @@ spec: - IfReady - Always type: string + authentication: + properties: + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + type: object configuration: properties: applyConfig: @@ -201,6 +211,7 @@ spec: - Restart - Reconfigure - ReconfigureTLS + - RotateAuth type: string updateVersion: properties: diff --git a/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_pgbounceropsrequests.yaml b/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_pgbounceropsrequests.yaml index bca99d06..d48f5bac 100644 --- a/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_pgbounceropsrequests.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_pgbounceropsrequests.yaml @@ -48,6 +48,16 @@ spec: - IfReady - Always type: string + authentication: + properties: + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + type: object configuration: properties: pgbouncer: @@ -197,6 +207,7 @@ spec: - VerticalScaling - UpdateVersion - Reconfigure + - RotateAuth type: string updateVersion: properties: diff --git a/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_pgpoolopsrequests.yaml b/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_pgpoolopsrequests.yaml index 66995b94..300962f1 100644 --- a/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_pgpoolopsrequests.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_pgpoolopsrequests.yaml @@ -48,6 +48,16 @@ spec: - IfReady - Always type: string + authentication: + properties: + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + type: object configuration: properties: applyConfig: @@ -209,6 +219,7 @@ spec: - Restart - HorizontalScaling - ReconfigureTLS + - RotateAuth type: string updateVersion: properties: diff --git a/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_postgresopsrequests.yaml b/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_postgresopsrequests.yaml index 6530c781..b9a1ee90 100644 --- a/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_postgresopsrequests.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_postgresopsrequests.yaml @@ -48,6 +48,16 @@ spec: - IfReady - Always type: string + authentication: + properties: + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + type: object configuration: properties: applyConfig: @@ -223,6 +233,7 @@ spec: - Restart - Reconfigure - ReconfigureTLS + - RotateAuth type: string updateVersion: properties: diff --git a/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_proxysqlopsrequests.yaml b/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_proxysqlopsrequests.yaml index ad2d959b..f59399be 100644 --- a/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_proxysqlopsrequests.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_proxysqlopsrequests.yaml @@ -48,6 +48,16 @@ spec: - IfReady - Always type: string + authentication: + properties: + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + type: object configuration: properties: adminVariables: @@ -243,6 +253,7 @@ spec: - Restart - Reconfigure - ReconfigureTLS + - RotateAuth type: string updateVersion: properties: diff --git a/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_rabbitmqopsrequests.yaml b/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_rabbitmqopsrequests.yaml index 041c5c0e..fbaddc08 100644 --- a/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_rabbitmqopsrequests.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_rabbitmqopsrequests.yaml @@ -48,6 +48,16 @@ spec: - IfReady - Always type: string + authentication: + properties: + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + type: object configuration: properties: applyConfig: @@ -195,6 +205,7 @@ spec: - Restart - Reconfigure - ReconfigureTLS + - RotateAuth type: string updateVersion: properties: diff --git a/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_redisopsrequests.yaml b/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_redisopsrequests.yaml index 4e9f853e..cc12d0fc 100644 --- a/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_redisopsrequests.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_redisopsrequests.yaml @@ -48,6 +48,16 @@ spec: - IfReady - Always type: string + authentication: + properties: + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + type: object configuration: properties: applyConfig: @@ -227,6 +237,7 @@ spec: - Reconfigure - ReconfigureTLS - ReplaceSentinel + - RotateAuth type: string updateVersion: properties: diff --git a/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_redissentinelopsrequests.yaml b/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_redissentinelopsrequests.yaml index 982a0aac..5a66ab07 100644 --- a/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_redissentinelopsrequests.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_redissentinelopsrequests.yaml @@ -48,6 +48,16 @@ spec: - IfReady - Always type: string + authentication: + properties: + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + type: object configuration: properties: applyConfig: @@ -194,6 +204,7 @@ spec: - Restart - Reconfigure - ReconfigureTLS + - RotateAuth type: string updateVersion: properties: diff --git a/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_singlestoreopsrequests.yaml b/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_singlestoreopsrequests.yaml index 224eff87..aa3ec582 100644 --- a/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_singlestoreopsrequests.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_singlestoreopsrequests.yaml @@ -48,6 +48,16 @@ spec: - IfReady - Always type: string + authentication: + properties: + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + type: object configuration: properties: aggregator: @@ -233,6 +243,7 @@ spec: - Restart - Configuration - ReconfigureTLS + - RotateAuth type: string updateVersion: properties: diff --git a/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_solropsrequests.yaml b/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_solropsrequests.yaml index 605bb7ae..932e048d 100644 --- a/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_solropsrequests.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_solropsrequests.yaml @@ -48,6 +48,16 @@ spec: - IfReady - Always type: string + authentication: + properties: + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + type: object configuration: properties: applyConfig: @@ -204,6 +214,7 @@ spec: - Reconfigure - Restart - ReconfigureTLS + - RotateAuth type: string updateVersion: properties: diff --git a/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_zookeeperopsrequests.yaml b/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_zookeeperopsrequests.yaml index fe5be702..8d8a6652 100644 --- a/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_zookeeperopsrequests.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_zookeeperopsrequests.yaml @@ -48,6 +48,16 @@ spec: - IfReady - Always type: string + authentication: + properties: + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + type: object configuration: properties: applyConfig: @@ -195,6 +205,7 @@ spec: - Restart - Reconfigure - ReconfigureTLS + - RotateAuth type: string updateVersion: properties: diff --git a/vendor/modules.txt b/vendor/modules.txt index fdf6861d..2ef81bed 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -1564,7 +1564,7 @@ kmodules.xyz/offshoot-api/api/v1 kmodules.xyz/offshoot-api/api/v1/conversion kmodules.xyz/offshoot-api/api/v2 kmodules.xyz/offshoot-api/util -# kubedb.dev/apimachinery v0.48.1-0.20241028061506-54019160140d +# kubedb.dev/apimachinery v0.48.1-0.20241028071913-80c1523be61f ## explicit; go 1.22.1 kubedb.dev/apimachinery/apis kubedb.dev/apimachinery/apis/catalog From f0c0387eed4d36086102f7f2b545631f29f13c50 Mon Sep 17 00:00:00 2001 From: pritamdas99 Date: Mon, 28 Oct 2024 13:47:46 +0600 Subject: [PATCH 3/3] Update deps Signed-off-by: pritamdas99 --- go.mod | 2 +- go.sum | 4 ++-- .../apimachinery/apis/kubedb/v1alpha2/solr_helpers.go | 5 ++--- vendor/modules.txt | 2 +- 4 files changed, 6 insertions(+), 7 deletions(-) diff --git a/go.mod b/go.mod index 74006cff..4248cc8c 100644 --- a/go.mod +++ b/go.mod @@ -32,7 +32,7 @@ require ( k8s.io/klog/v2 v2.130.1 kmodules.xyz/client-go v0.30.28 kmodules.xyz/custom-resources v0.30.0 - kubedb.dev/apimachinery v0.48.1-0.20241028071913-80c1523be61f + kubedb.dev/apimachinery v0.48.1-0.20241028074647-683c8d4491f4 sigs.k8s.io/controller-runtime v0.18.4 xorm.io/xorm v1.3.6 ) diff --git a/go.sum b/go.sum index a89b9fa0..273c9348 100644 --- a/go.sum +++ b/go.sum @@ -804,8 +804,8 @@ kmodules.xyz/monitoring-agent-api v0.30.2 h1:sAgz5P5EXZqhlj1NzJ+QltAgeIx5bGSMj+a kmodules.xyz/monitoring-agent-api v0.30.2/go.mod h1:BoZFPDDRB7J39CcUsSDlzgW8PQCwik4ILPleyUob+Mg= kmodules.xyz/offshoot-api v0.30.1 h1:TrulAYO+oBsXe9sZZGTmNWIuI8qD2izMpgcTSPvgAmI= kmodules.xyz/offshoot-api v0.30.1/go.mod h1:T3mpjR6fui0QzOcmQvIuANytW48fe9ytmy/1cgx6D4g= -kubedb.dev/apimachinery v0.48.1-0.20241028071913-80c1523be61f h1:3cP7qc7wbFkJcZwOuJ97K5zFukUE6NoK3jAVy5EHt10= -kubedb.dev/apimachinery v0.48.1-0.20241028071913-80c1523be61f/go.mod h1:NCiS4uS+F8DUyU9/tUQO3wqyNRNf0busab5/0Q2nYA0= +kubedb.dev/apimachinery v0.48.1-0.20241028074647-683c8d4491f4 h1:1+DrfFOHjsKjZ1+1uqbJSi44D5slbKGv4jNlnh9DVKU= +kubedb.dev/apimachinery v0.48.1-0.20241028074647-683c8d4491f4/go.mod h1:NCiS4uS+F8DUyU9/tUQO3wqyNRNf0busab5/0Q2nYA0= kubeops.dev/petset v0.0.7 h1:F77BTRfUqRVO7kNc8q2oFSSviDmYBqni/osXqu0kgJ4= kubeops.dev/petset v0.0.7/go.mod h1:lt0SZV4ohRy7RiwLNUnMoauG4lCbcRbSqhMg20rdUQg= lukechampine.com/uint128 v1.1.1/go.mod h1:c4eWIwlEGaxC/+H1VguhU4PHXNWDCDMUlWdIWl2j1gk= diff --git a/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/solr_helpers.go b/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/solr_helpers.go index 328d1d4f..92e810b6 100644 --- a/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/solr_helpers.go +++ b/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/solr_helpers.go @@ -443,9 +443,8 @@ func (s *Solr) GetPersistentSecrets() []string { var secrets []string // Add Admin/Elastic user secret name - if s.Spec.AuthSecret != nil { - secrets = append(secrets, s.GetAuthSecretName()) - } + + secrets = append(secrets, s.GetAuthSecretName()) if s.Spec.AuthConfigSecret != nil { secrets = append(secrets, s.Spec.AuthConfigSecret.Name) diff --git a/vendor/modules.txt b/vendor/modules.txt index 2ef81bed..eed2b9d2 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -1564,7 +1564,7 @@ kmodules.xyz/offshoot-api/api/v1 kmodules.xyz/offshoot-api/api/v1/conversion kmodules.xyz/offshoot-api/api/v2 kmodules.xyz/offshoot-api/util -# kubedb.dev/apimachinery v0.48.1-0.20241028071913-80c1523be61f +# kubedb.dev/apimachinery v0.48.1-0.20241028074647-683c8d4491f4 ## explicit; go 1.22.1 kubedb.dev/apimachinery/apis kubedb.dev/apimachinery/apis/catalog