Skip to content

ssensini/OpenShift-Automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

_# EA Utilities

Scope

Validate if all the requirements for OpenShift installations described in this guide are accomplished and correctly configured, manage AWS services through the CLI and manage cluster's tools, such as Elasticsearch.

Installation

Clone this project or just download the .*py file.

Requirements

  • Python 3.x+

Usage

$ python3 init.py # for AWS, Docker and OpenShift management
$ python3 es.py # for Elasticsearch indexes cleaning (WIP)

Available options for init.py:

Option Description
--help Get all the available options
--version Show program's version
--aws {login,logout,set-profile,get-profile,get-current-profile,purge-images,purge-images-all,list-images,version,create-repo,delete-repo} AWS CLI login and logout functions, purge-images on a specified AWS repo and profile configuration, create-repo and delete-repo to manage ECR repos
--docker {version} Docker CLI functions
--podman {version} Podman CLI functions
--oc {version} OpenShift CLI functions
--s2i {version} S2I CLI functions
--test {system,cluster}
Check whether all the requirements have been implemented, depending if you want to test your local system or a cluster solution

For more information on the commands and options, run the following:

python3 init.py --help

TODO tasks

  • Adding Podman support_

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages