Skip to content

Commit

Permalink
Add Memcahced Authentication Constant (#1355)
Browse files Browse the repository at this point in the history
* Add Memcahced Authentication Constant

---------

Signed-off-by: Muhammad Raisul Islam Evan <[email protected]>
  • Loading branch information
Evanraisul authored Nov 27, 2024
1 parent 5c29840 commit cfbad6a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apis/kubedb/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,9 @@ const (
MemcachedExporterAuthVolumeName = "exporter-auth"
MemcachedExporterAuthVolumePath = "/auth/"

// AuthDataKey store Username Password Pairs.
AuthDataKey = "authData"

MemcachedExporterTLSVolumeName = "exporter-tls"
MemcachedExporterTLSVolumePath = "/certs/"

Expand Down
1 change: 1 addition & 0 deletions apis/ops/v1alpha1/constant.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ const (
BasicAuthNextUsernameKey = "username.next"
BasicAuthNextPasswordKey = "password.next"
SecretAlreadyUpdatedAnnotation = "secret-already-updated"
AuthDataPreviousKey = "authData.prev"
)

// Restart
Expand Down

0 comments on commit cfbad6a

Please sign in to comment.