Prerequists
- AWS role to access these parameter store resources:
- /jfrog/username
- /jfrog/password
- aws policy to describe eks cluster "task-eks-cluster"
- access on the kms key used by encrypt above parameters
- install the following module using this command
ansible-galaxy collection install community.kubernetes
*Requirment:
key | description |
---|---|
chart_name | name of chart needed to be deployed |
release_name | name of the release |
version | chart version |
namespace | namespace chart will be deployed to |
Example:
ansible-playbook playbook.yaml -i inventory -e chart_name=task -e release_name=task-service
-e version=1.0.7 -e namespace=dev