OpenShift infra automation
Project description
OSIA
OpenShift infra automation.
Goal
The tool aims to unified installer of OpenShift to various clouds which is easy to automate and use within CI.
To see necessary steps for OpenShift installation please see OpenShift documentation.
To see full documentation of osia please follow to Official documentation.
Installation
To get started with osia, just install available package from pypi:
$ pip install osia
Main features
- Find empty region in aws to install OpenShift on.
- Find feasible network in OpenStack and allocate FIPs before installation happens.
- Generate
install-config.yamlfrom predefined defaults. - Store generated files for deletion to git repository and push changes right after the cluster is installed.
- Manage DNS entries based on the installation properties and results.
- Clean everything once the cluster is not needed.
Usage
The tool operates over directory which is expected to be git repository and where the service will store generated configuration and push it to the upstream repository of currently working branch.
Common configuration
The common configuraiton is done by yaml file called settings.yaml that should be located at
CWD (root of the repository in most cases).
The configuration has following structure:
default:
cloud:
openstack:
cloud_env: env1
environments:
- name: env1
base_domain: ''
certificate_bundle_file: ''
pull_secret_file: ''
ssh_key_file: ''
osp_cloud: ''
osp_base_flavor: ''
network_list: []
- name: env2
base_domain: ''
certificate_bundle_file: ''
pull_secret_file: ''
ssh_key_file: ''
osp_cloud: ''
osp_base_flavor: ''
network_list: []
aws:
cloud_env: default
environments:
- name: default
base_domain: ''
pull_secret_file: ''
certificate_bundle_file: ''
ssh_key_file: ''
worker_flavor: ''
list_of_regions: []
credentials_file: 'path/to/file' # will still use 'default' profile
dns:
route53:
ttl: 0
credentials_file: 'path/to/file' # will still use 'default' profile
nsupdate:
server: ''
zone: ''
key_file: ''
ttl: 0
use_ipv4: false
Every key here is overridible by the argument passed to the installer. For explanation of any key, please check he documentation below.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file osia-0.2.0a17.tar.gz.
File metadata
- Download URL: osia-0.2.0a17.tar.gz
- Upload date:
- Size: 23.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9cfe9f1fcf501edc804c37de3a1fd671bff42c3a141ca50ffb2bc3a758ee45f3
|
|
| MD5 |
c403bce398b23f8c3dd34488fb93452e
|
|
| BLAKE2b-256 |
f006b8972d669c7277453f8dc5b491571faa298c017348e0fa368b1adfe687e8
|
Provenance
The following attestation bundles were made for osia-0.2.0a17.tar.gz:
Publisher:
python-publish.yml on redhat-cop/osia
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
osia-0.2.0a17.tar.gz -
Subject digest:
9cfe9f1fcf501edc804c37de3a1fd671bff42c3a141ca50ffb2bc3a758ee45f3 - Sigstore transparency entry: 725316647
- Sigstore integration time:
-
Permalink:
redhat-cop/osia@a3ddde5f855e26178721368ffb5b973b275be86f -
Branch / Tag:
refs/tags/v0.2.0-alpha17 - Owner: https://github.com/redhat-cop
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@a3ddde5f855e26178721368ffb5b973b275be86f -
Trigger Event:
release
-
Statement type:
File details
Details for the file osia-0.2.0a17-py3-none-any.whl.
File metadata
- Download URL: osia-0.2.0a17-py3-none-any.whl
- Upload date:
- Size: 37.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
887b4f9f1e8c3998c65840e00ea5450bde58ce3ade0eedfb6e2050ef72a3bb9a
|
|
| MD5 |
f76eae12d0d73d821bc86662908e5897
|
|
| BLAKE2b-256 |
7114c4013ec1df623c38d53963f3050e4f1b50a914d4c536a625edc9e33a58f1
|
Provenance
The following attestation bundles were made for osia-0.2.0a17-py3-none-any.whl:
Publisher:
python-publish.yml on redhat-cop/osia
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
osia-0.2.0a17-py3-none-any.whl -
Subject digest:
887b4f9f1e8c3998c65840e00ea5450bde58ce3ade0eedfb6e2050ef72a3bb9a - Sigstore transparency entry: 725316649
- Sigstore integration time:
-
Permalink:
redhat-cop/osia@a3ddde5f855e26178721368ffb5b973b275be86f -
Branch / Tag:
refs/tags/v0.2.0-alpha17 - Owner: https://github.com/redhat-cop
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@a3ddde5f855e26178721368ffb5b973b275be86f -
Trigger Event:
release
-
Statement type: