Skip to content

Latest commit

 

History

History
68 lines (52 loc) · 5.44 KB

Dependencies.md

File metadata and controls

68 lines (52 loc) · 5.44 KB

Dependency Versions

The following table details our dependencies and versions (~ indicates multiple possible sources)

For dependency installation instructions and sources, links have been provided in the table below:

SOURCE NAME VERSION
~ python >=3.10
~ pip >=22.0
~ terraform >=1.4.5
~ docker >=20.10.17
~ helm >=3
~ kubectl 1.26 - 1.28
~ git any
~ jq >=1.6
pip ansible-core 2.16.4
pip openshift 0.13.2
pip kubernetes 27.2.0
pip dnspython 2.6.1
pip jmespath 1.0.1
ansible-galaxy community.general 8.4.0
ansible-galaxy community.postgresql 3.3.0
ansible-galaxy kubernetes.core 2.4.0
ansible-galaxy ansible.posix 1.5.4
ansible-galaxy ansible.utils 2.12.0

Python dependencies can be installed via pip using the requirements.txt provided in this project

pip install -r ./requirements.txt 

Ansible dependencies can be installed via ansible-galaxy using the requirements.yaml provided in this project.

ansible-galaxy install -r ./requirements.yaml

Required project dependencies are generally pinned to known working or stable versions to ensure users have a smooth initial experience. In some cases it may be required to change the default version of a dependency. In such cases users are welcome to experiment with alternate versions, however compatibility may not be guaranteed.

Docker

If you are standing up your infrastructure via a Docker image created from the Dockerfile overriding a dependency version can be accomplished by supplying one or more docker build arguments:

ARG NOTE
HELM_VERSION the version of helm to install
KUBECTL_VERSION the version of kubectl to install
TERRAFORM_VERSION the version terraform to install

Example of using build arguments to control specific versions of dependencies installed within the Docker image :

# Override kubectl version
docker build \
	--build-arg KUBECTL_VERSION=1.29.7 \
	-t viya4-iac-k8s .

Install Script

If deploying via the installation script you can modify the dependency requirements files for python and ansible respectively:

FILE FOR
requirements.txt dependencies for python
requirements.yaml dependencies for ansible-galaxy