Skip to content

Commit

Permalink
chore: add --secret option to init tenant cmd #76
Browse files Browse the repository at this point in the history
  • Loading branch information
SLedunois committed Apr 13, 2023
1 parent 4557d53 commit bc369bd
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
11 changes: 10 additions & 1 deletion docs/bbsctl_init_tenant.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,16 @@ bbsctl init tenant --host bbs.example.com
#
# kind: Tenant
# spec:
host: bbs.example.com
# host: bbs.example.com
# instances: []
bbsctl init tenant --host bbs.example.com --secret dummy_secret
# generates the following file
#
# kind: Tenant
# spec:
# host: bbs.example.com
# secret: dummy_secret
# instances: []
bbsctl init tenant --host bbs.example.com --dest /path/to/file
Expand Down
11 changes: 10 additions & 1 deletion pkg/cmd/init/tenant.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,16 @@ bbsctl init tenant --host bbs.example.com
#
# kind: Tenant
# spec:
host: bbs.example.com
# host: bbs.example.com
# instances: []
bbsctl init tenant --host bbs.example.com --secret dummy_secret
# generates the following file
#
# kind: Tenant
# spec:
# host: bbs.example.com
# secret: dummy_secret
# instances: []
bbsctl init tenant --host bbs.example.com --dest /path/to/file
Expand Down

0 comments on commit bc369bd

Please sign in to comment.