Skip to content

Commit 85529df

Browse files
Add plural format aliases for debug command
Signed-off-by: Arnob kumar saha <arnob@appscode.com>
1 parent cbed3e1 commit 85529df

File tree

6 files changed

+6
-0
lines changed

6 files changed

+6
-0
lines changed

pkg/debug/elasticsearch.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ func ElasticsearchDebugCMD(f cmdutil.Factory) *cobra.Command {
5858
Use: "elasticsearch",
5959
Aliases: []string{
6060
"es",
61+
"elasticsearches",
6162
},
6263
Short: "Debug helper for elasticsearch database",
6364
Example: `kubectl dba debug elasticsearch -n demo sample-elasticsearch --operator-namespace kubedb`,

pkg/debug/mariadb.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ func MariaDBDebugCMD(f cmdutil.Factory) *cobra.Command {
5858
Use: "mariadb",
5959
Aliases: []string{
6060
"md",
61+
"mariadbs",
6162
},
6263
Short: "Debug helper for mariadb database",
6364
Example: `kubectl dba debug mariadb -n demo sample-mariadb --operator-namespace kubedb`,

pkg/debug/mongodb.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ func MongoDBDebugCMD(f cmdutil.Factory) *cobra.Command {
5858
Use: "mongodb",
5959
Aliases: []string{
6060
"mg",
61+
"mongodbs",
6162
},
6263
Short: "Debug helper for mongodb database",
6364
Example: `kubectl dba debug mongodb -n demo sample-mongodb --operator-namespace kubedb`,

pkg/debug/mysql.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ func MySQLDebugCMD(f cmdutil.Factory) *cobra.Command {
5858
Use: "mysql",
5959
Aliases: []string{
6060
"my",
61+
"mysqls",
6162
},
6263
Short: "Debug helper for mysql database",
6364
Example: `kubectl dba debug mysql -n demo sample-mysql --operator-namespace kubedb`,

pkg/debug/postgres.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ func PostgresDebugCMD(f cmdutil.Factory) *cobra.Command {
5858
Use: "postgres",
5959
Aliases: []string{
6060
"pg",
61+
"postgreses",
6162
},
6263
Short: "Debug helper for postgres database",
6364
Example: `kubectl dba debug postgres -n demo sample-postgres --operator-namespace kubedb`,

pkg/debug/redis.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ func RedisDebugCMD(f cmdutil.Factory) *cobra.Command {
5858
Use: "redis",
5959
Aliases: []string{
6060
"rd",
61+
"redises",
6162
},
6263
Short: "Debug helper for redis database",
6364
Example: `kubectl dba debug redis -n demo sample-redis --operator-namespace kubedb`,

0 commit comments

Comments
 (0)