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: 7 months ago
JSON representation
Chaotic Cable Pulling Chimp
- Host: GitHub
- URL: https://github.com/panagiks/ccpc
- Owner: panagiks
- License: mit
- Created: 2017-11-19T06:26:24.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-19T18:56:23.000Z (almost 8 years ago)
- Last Synced: 2025-03-02T05:39:54.570Z (7 months ago)
- Topics: async, ccpc, chaos-engineering, chaos-monkey, devops, devops-tools, openshift-origin, python
- Language: Python
- Size: 87.9 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

***
# 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)