IBM / operator-collection-sdk

The IBM Operator Collection SDK provides the resources and tools that are needed to develop Operator Collections against the IBM® z/OS® Cloud Broker as part of the IBM Z® and Cloud Modernization Stack.
https://ibm.github.io/operator-collection-sdk/
Apache License 2.0
8 stars 1 forks source link

Add ability to leverage ocsdk-extra-vars.yml variables during operator creation #55

Closed freemanlatrell closed 1 year ago

freemanlatrell commented 1 year ago

Feature Request

Describe the problem you need a feature to resolve.

With the latest enhancements in the OC SDK VS Code Extension, the endpoint variables needed to execute the create_operator playbook can now be stored in a file named ocsdk-extra-vars.yml. This allow the user to bypass the prompts needed to retrieve these values in the VS Code Extension. For consistency, and to provide the same ability to users who aren't using the extension, we should leverage the same file to bypass the Ansible prompts when executing the playbooks outside of the VS Code extension.

Describe the solution you'd like.

Add ability for the create_operator playbook to retrieve variables stored in the ocsdk-extra-vars.yml file.