-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add man page - shed-kubectl-secret-decode
- Loading branch information
Showing
11 changed files
with
91 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
|
||
RELEASE_VERSION=1.23.1 | ||
RELEASE_TITLE='fix shed-version - to source from lib' | ||
RELEASE_VERSION=1.24.0 | ||
RELEASE_TITLE='add man page - shed-kubectl-secret-decode' | ||
|
||
REGISTRY_USERNAME_DOCKER=siakhooi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Package: siakhooi-shed | ||
Version: 1.23.1 | ||
Version: 1.24.0 | ||
Maintainer: Siak Hooi <[email protected]> | ||
Depends: bash, coreutils, findutils, grep, vim, man-db, sed, siakhooi-devutils-echo-colors (>= 1.0.0), git, siakhooi-textutils (>= 1.7.0), bash-completion, jq | ||
Architecture: amd64 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#!/bin/bash | ||
|
||
export SHED_VERSION=1.23.1 | ||
export SHED_VERSION=1.24.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
% SHED-KUBECTL-SECRET-DECODE(1) Siak Hooi DevUtils 1.1.0|Shed Commands | ||
% Siak Hooi | ||
% April 2023 | ||
|
||
# NAME | ||
shed-kubectl-secret-decode - read secret, decode all data with base64 and print onto screen.\ | ||
k-secret-decode - alias to shed-kubectl-secret-decode | ||
|
||
# SYNOPSIS | ||
**shed-kubectl-secret-decode** secretName\ | ||
**shed kubectl-secret-decode** secretName\ | ||
**k-secret-decode** secretName | ||
|
||
# DESCRIPTION | ||
Read secret, decode all data with base64 and print onto screen. | ||
|
||
# EXAMPLES | ||
**shed-kubectl-secret-decode** mySecret\ | ||
\ \ \ \ \ + kubectl --context kube-dev-1 get secrets/mySecret -o yaml\ | ||
\ \ \ \ \ [key1]\ | ||
\ \ \ \ \ value 1\ | ||
\ \ | ||
\ \ \ \ \ [key2]\ | ||
\ \ \ \ \ value 2 | ||
|
||
# LICENSE | ||
MIT | ||
|
||
# BUGS | ||
Report bugs at https://github.com/siakhooi/shed/issues. | ||
|
||
# SEE ALSO | ||
shed-kubectl(1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
tests/bats-test-scripts/man/man-1-shed-kubectl-secret-decode.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
SHED-KUBECTL-SECRET-DECODE(1) Shed Commands SHED-KUBECTL-SECRET-DECODE(1) | ||
|
||
NAME | ||
shed-kubectl-secret-decode - read secret, decode all data with base64 and print onto screen. | ||
k-secret-decode - alias to shed-kubectl-secret-decode | ||
|
||
SYNOPSIS | ||
shed-kubectl-secret-decode secretName | ||
shed kubectl-secret-decode secretName | ||
k-secret-decode secretName | ||
|
||
DESCRIPTION | ||
Read secret, decode all data with base64 and print onto screen. | ||
|
||
EXAMPLES | ||
shed-kubectl-secret-decode mySecret | ||
+ kubectl -context kube-dev-1 get secrets/mySecret -o yaml | ||
[key1] | ||
value 1 | ||
|
||
[key2] | ||
value 2 | ||
|
||
LICENSE | ||
MIT | ||
|
||
BUGS | ||
Report bugs at https://github.com/siakhooi/shed/issues. | ||
|
||
SEE ALSO | ||
shed-kubectl(1) | ||
|
||
AUTHORS | ||
Siak Hooi. | ||
|
||
Siak Hooi DevUtils 1.1.0 April 2023 SHED-KUBECTL-SECRET-DECODE(1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters