No project description provided
Project description
OCP Cluster Login
ocp-cluster-login is a Python tool designed to facilitate the login process to OpenShift clusters. It automates the web login flow using Selenium, making it easier to handle authentication for OpenShift clusters.
Features
Automates OpenShift web login process.
Supports Chrome and Firefox web drivers.
Checks if a user is already logged in before attempting to log in again.
Handles timeouts and browser driver errors.
Prerequisites
Before you begin, ensure you have met the following requirements: - Python 3.6 or higher. - Selenium installed. - Selenium WebDriver for Chrome or Firefox.
Installation
pip install ocp-cluster-login
Usage
ocp-cluster-login [-h] [-s SERVER] [-k] [-t TIMEOUT] [-d {chrome,firefox}]
The tool supports several command line arguments to customize its behavior: - -s, --server: Specify the API server URL. Defaults to https://api.ocp.domain.com:6443. - -k, --insecure-skip-tls-verify: Skip TLS verification if necessary. - -t, --timeout: Set the timeout for waiting for login in seconds. Default is 60 seconds. - -d, --driver: Choose the web driver. Supported drivers are chrome and firefox. Default is chrome.
Contributing
We welcome contributions to the OpenShift Interactive Login CLI Tool! If you’d like to contribute, please follow the guidelines outlined in our CONTRIBUTING.md file in the GitHub Repository.
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 ocp-cluster-login-0.1.0.tar.gz.
File metadata
- Download URL: ocp-cluster-login-0.1.0.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0d0261075a7aa20e002ee84fb8e7be7951b96a31ff58066b3313b7a66b18974b
|
|
| MD5 |
fed0ef1b8d1614ed52022914af133dae
|
|
| BLAKE2b-256 |
9855b0fd41356243c050f9f9fe7d6c6fea534330c9a595a32394d4dfae15080f
|
File details
Details for the file ocp_cluster_login-0.1.0-py3-none-any.whl.
File metadata
- Download URL: ocp_cluster_login-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
74271c2cc839e0c5774bc39e5874bbf0ee3fed5cd58be10e53d269269314d70d
|
|
| MD5 |
a368f34f9c36a5e5ff36b28d16874062
|
|
| BLAKE2b-256 |
ff0d530cb763bdba30e9b801e94b373128996550c8c40140fef34a809007ce6d
|