Skip to content

Commit

Permalink
Update prereqs
Browse files Browse the repository at this point in the history
  • Loading branch information
Oglesby, Michael authored and Oglesby, Michael committed Oct 12, 2021
1 parent 80af03a commit b18ec8a
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 12 deletions.
9 changes: 2 additions & 7 deletions netapp_dataops_k8s/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,9 @@ Refer to the [Kubernetes documentation](https://kubernetes.io/docs/tasks/run-app

The NetApp DataOps Toolkit provides several extended capabilities that require [Astra Control](https://cloud.netapp.com/astra). Any operation that requires Astra Control is specifically noted within this README as requiring Astra Control. The prerequisites outlined in this section are required in order to perform any operation that requires Astra Control.

The toolkit uses the Astra Control Python SDK to interface with the Astra Control API. To install the Astra Control Python SDK, run the following commands.
The toolkit uses the Astra Control Python SDK to interface with the Astra Control API. The Astra Control Python SDK is installed automatically when you install the NetApp DataOps Toolkit using pip.

```sh
python3 -m pip install netapp-astra-toolkits
python3 -m pip install $(curl https://raw.githubusercontent.com/NetApp/netapp-astra-toolkits/main/requirements.txt)
```

After the Astra Control Python SDK has been installed, you must create an 'config.yaml' file containing your Astra Control API connection details. Refer to the [Astra Control Python SDK README](https://github.com/NetApp/netapp-astra-toolkits) for formatting details. Once you have created the 'config.yaml' file, you must store it in one of the following locations:
In order for the Astra Control Python SDK to be able to communicate with the Astra Control API, you must create a 'config.yaml' file containing your Astra Control API connection details. Refer to the [Astra Control Python SDK README](https://github.com/NetApp/netapp-astra-toolkits/tree/b478109b084ad387753d085219a8a8d3d399a4e6) for formatting details. Note that you do not need to follow the installation instructions outlined in the Astra Control Python SDK README; you only need to create the 'config.yaml' file. Once you have created the 'config.yaml' file, you must store it in one of the following locations:
- ~/.config/astra-toolkits/
- /etc/astra-toolkits/
- The directory pointed to by the shell environment variable 'ASTRATOOLKITS_CONF'
Expand Down
2 changes: 1 addition & 1 deletion netapp_dataops_k8s/netapp_dataops/k8s.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
by applications using the import method of utilizing the toolkit.
"""

__version__ = "2.1.0beta1"
__version__ = "2.1.0beta2"

from datetime import datetime
import functools
Expand Down
16 changes: 12 additions & 4 deletions netapp_dataops_k8s/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,16 @@ py_modules = netapp_dataops.k8s
scripts =
netapp_dataops/netapp_dataops_k8s_cli.py
install_requires =
ipython
kubernetes
pandas
tabulate
ipython==7.28.0
kubernetes==18.20.0
pandas==1.3.3
tabulate==0.8.9
netapp-astra-toolkits==2.0
certifi==2020.12.5
chardet==4.0.0
idna==2.10
PyYAML==5.4.1
requests==2.25.1
termcolor==1.1.0
urllib3==1.26.5
python_requires = >=3.6

0 comments on commit b18ec8a

Please sign in to comment.