A kubectl
plugin to interact with MongoDB Atlas leveraging the MongoDB Atlas Operator.
- Install krew
- Execute:
kubectl krew index add atlas https://github.com/s-urbaniak/kube-atlas-cli.git
kubectl krew install atlas/atlas
To upgrade, consult the krew documentation and execute:
$ kubectl krew upgrade
Updated the local copy of plugin index "atlas".
Upgrades available for installed plugins:
* atlas/atlas v0.0.1 -> v0.0.2
Upgrading plugin: atlas/atlas
Upgraded plugin: atlas/atlas
- Invoke the
atlas
kubectl plugin:
kubectl atlas --help
This plugin builds on top of the official Kubernetes Plugin framework krew, maintained by SIG-CLI.
An overview about the plugin architecture is available at https://github.com/kubernetes-sigs/krew/blob/master/docs/KREW_ARCHITECTURE.md.
- Push a tag in the form of
vx.y.z
:
git tag vx.y.z
git push origin --tags
- Once the release GitHub action is done, approve and merge the krew index update. See #4 for an example PR.