-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ansible-galaxy requirements to STO
This change [0] in the ansible-operator introduced the removal of both k8s and operator_sdk.util from the base image. This means we now need to add the dependendencies ourselves when building STO. [0] operator-framework/operator-sdk#6483
- Loading branch information
Showing
2 changed files
with
42 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# NOTE(vkmc) Great docs from https://github.com/jmazzitelli/kiali-operator/blob/master/requirements.yml | ||
# | ||
# This is the Ansible Galaxy requirements that need to be installed locally to be able to run | ||
# the operator Ansible playbook locally. | ||
# | ||
# To install these into your local Ansible environment: | ||
# ansible-galaxy collection install -r requirements.yml --force-with-deps | ||
# | ||
# Make sure these collections match that which is inside the Ansible Operator SDK base image. | ||
# You can determine what collections are installed by looking in the base image like this: | ||
# | ||
# podman run \ | ||
# -it --rm --entrypoint '' \ | ||
# quay.io/openshift/origin-ansible-operator:4.13 \ | ||
# ls /opt/ansible/.ansible/collections/ansible_collections | ||
# | ||
# To determine the version of a specific collection, look at the MANIFEST.json: | ||
# | ||
# podman run \ | ||
# -it --rm --entrypoint '' \ | ||
# quay.io/openshift/origin-ansible-operator:4.13 \ | ||
# cat /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/MANIFEST.json | grep version | ||
# | ||
# It is best if you have the same version of Ansible installed locally as found in the base image. You can determine | ||
# the version of Ansible in the base image via: | ||
# | ||
# podman run \ | ||
# -it --rm --entrypoint '' \ | ||
# quay.io/openshift/origin-ansible-operator:4.13 \ | ||
# ansible --version | ||
# | ||
# To install that version locally, you can git clone the source via: | ||
# git clone -b v<ansible version> --depth 1 https://github.com/ansible/ansible.git | ||
# and then set up your environment via: | ||
# source ./ansible/hacking/env-setup -q | ||
|
||
collections: | ||
- name: kubernetes.core | ||
version: 2.2.3 | ||
- name: operator_sdk.util | ||
version: 0.4.0 |