Skip to content

Commit

Permalink
update docs and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
maorfr committed Oct 23, 2018
1 parent 0dff389 commit 6ed958c
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ push chart Push Helm chart to chart repository
get env Get list of Helm releases in an environment (Kubernetes namespace)
deploy env Deploy a list of Helm charts to an environment (Kubernetes namespace) from chart repository
delete env Delete an environment (Kubernetes namespace) along with all Helm releases in it
diff env Show differences in Helm releases between environments (Kubernetes namespace)
lock env Lock an environment (Kubernetes namespace)
unlock env Unlock an environment (Kubernetes namespace)
create resource Create or update a resource via REST API
Expand Down
15 changes: 15 additions & 0 deletions docs/commands/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,21 @@ Flags:

`helm-tls-store` - path to directory containing `<kube-context>.cert.pem` and `<kube-context>.key.pem` files

### Diff env
```
Show differences in Helm releases between environments (Kubernetes namespace)
Usage:
orca diff env [flags]
Flags:
-h, --help help for env
--kube-context-left string name of the left kubeconfig context to use. Overrides $ORCA_KUBE_CONTEXT_LEFT
--kube-context-right string name of the right kubeconfig context to use. Overrides $ORCA_KUBE_CONTEXT_RIGHT
--name-left string name of left environment to compare. Overrides $ORCA_NAME_LEFT
--name-right string name of right environment to compare. Overrides $ORCA_NAME_RIGHT
```

### Lock env
```
Lock an environment (Kubernetes namespace)
Expand Down
2 changes: 1 addition & 1 deletion pkg/orca/env.go
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ func NewDiffEnvCmd(out io.Writer) *cobra.Command {

cmd := &cobra.Command{
Use: "env",
Short: "Show differences between environments (Kubernetes namespace)",
Short: "Show differences in Helm releases between environments (Kubernetes namespace)",
Long: ``,
Args: func(cmd *cobra.Command, args []string) error {
if e.nameLeft == "" {
Expand Down

0 comments on commit 6ed958c

Please sign in to comment.