feat(operator-sdk): add plugin for operator-sdk (#10423)

master
jxlwqq 4 years ago committed by GitHub
parent 481b912fd7
commit 1e263e245d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 11
      plugins/operator-sdk/README.md
  2. 4
      plugins/operator-sdk/operator-sdk.plugin.zsh

@ -0,0 +1,11 @@
# Operator SDK
[Operator SDK](https://sdk.operatorframework.io/) is a component of the Operator Framework, an open source toolkit to manage Kubernetes native applications, called Operators, in an effective, automated, and scalable way.
To use it, add `operator-sdk` to the plugins array of your zshrc file:
```sh
plugins=(... operator-sdk)
```

@ -0,0 +1,4 @@
if [ $commands[operator-sdk] ]; then
source <(operator-sdk completion zsh)
compdef _operator-sdk operator-sdk
fi
Loading…
Cancel
Save