Skip to content

Commit

Permalink
Add RotateAuth Ops Request Specific Constants
Browse files Browse the repository at this point in the history
Signed-off-by: obaydullahmhs <obaydullah@appscode.com>
  • Loading branch information
obaydullahmhs committed Nov 14, 2024
1 parent a8c8c1e commit 79d486b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
3 changes: 3 additions & 0 deletions apis/kubedb/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ const (
EtcdKey = "etcd" + "." + GroupName
ProxySQLKey = "proxysql" + "." + GroupName

// Auth related constants
BasicAuthActiveFromAnnotation = "basic-auth-active-from"

// =========================== Elasticsearch Constants ============================
ElasticsearchRestPort = 9200
ElasticsearchRestPortName = "http"
Expand Down
9 changes: 7 additions & 2 deletions apis/ops/v1alpha1/constant.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,13 @@ const (

// RotateAuth
const (
RotateAuth = "RotateAuth"
UpdateCredential = "UpdateCredential"
RotateAuth = "RotateAuth"
UpdateCredential = "UpdateCredential"
BasicAuthPreviousUsernameKey = "username.prev"
BasicAuthPreviousPasswordKey = "password.prev"
BasicAuthNextUsernameKey = "username.next"
BasicAuthNextPasswordKey = "password.next"
SecretAlreadyUpdatedAnnotation = "secret-already-updated"
)

// Restart
Expand Down

0 comments on commit 79d486b

Please sign in to comment.