Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/panagiks/ccpc

Chaotic Cable Pulling Chimp
https://github.com/panagiks/ccpc

async ccpc chaos-engineering chaos-monkey devops devops-tools openshift-origin python

Last synced: 28 days ago
JSON representation

Chaotic Cable Pulling Chimp

Awesome Lists containing this project

README

        

![CCPC logo](resources/images/ccpc_logo.jpg)

***

# CCPC
Chaotic Cable Pulling Chimp

## Installation

`pip install ccpc`

## Example usage

`ccpc --no-verify-ssl -b -p -t `

## Create a service account
`oc create serviceaccount `

## Get service account's token
`oc serviceaccounts get-token `

## Give read/write access to a service account to a project
`oc policy add-role-to-user view system:serviceaccount::`

`oc policy add-role-to-user edit system:serviceaccount::`

## Build docker image
```sh
git clone https://github.com/panagiks/CCPC
cd CCPC/image
docker build --build-arg VERIFY_SSL=false --build-arg PROJECT= --build-arg BASE_URL= --build-arg TOKEN= .
```

## Todo

- [ ] Replace prints with standard logging
- [ ] Add some handling if OC responds with error (if it's actually needed)