https://github.com/clbartolome/openshift-devops
Repository with an application lifecycle overview
https://github.com/clbartolome/openshift-devops
argocd devops openshift tekton
Last synced: about 2 months ago
JSON representation
Repository with an application lifecycle overview
- Host: GitHub
- URL: https://github.com/clbartolome/openshift-devops
- Owner: clbartolome
- License: agpl-3.0
- Created: 2024-05-09T12:47:01.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-10-16T16:08:53.000Z (over 1 year ago)
- Last Synced: 2024-10-19T06:18:08.673Z (over 1 year ago)
- Topics: argocd, devops, openshift, tekton
- Language: Java
- Homepage:
- Size: 95.7 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# openshift-devops
Repository with an application lifecycle overview
> [!IMPORTANT]
> Last working versions:
> - OpenShift: 4.18.4
> - OpenShift GitOps: 1.15.1
> - OpenShift Pipelines: 1.17.1
## Install
### Pre-requisites
- OpenShift GitOps Operator installed with default configuration
- OpenShift Pipelines Operator installed with default configuration
### Deploy
- Open a terminal
- Login into OpenShift
- Access installation->ansible-navigator: `cd installation/ansible-navigator`
- Run installation:
```sh
OPENSHIFT_TOKEN=$(oc whoami --show-token)
CLUSTER_DOMAIN=$(oc whoami --show-server | sed 's~https://api\.~~' | sed 's~:.*~~')
ansible-navigator run ../install.yaml -m stdout \
-e "ocp_host=$CLUSTER_DOMAIN" \
-e "api_token=$OPENSHIFT_TOKEN"
```
- Review installed resources in final playbook message
### Uninstall
- Open a terminal
- Login into OpenShift
- Access installation->ansible-navigator: `cd installation/ansible-navigator`
- Run uninstallation:
```sh
OPENSHIFT_TOKEN=$(oc whoami --show-token)
CLUSTER_DOMAIN=$(oc whoami --show-server | sed 's~https://api\.~~' | sed 's~:.*~~')
ansible-navigator run ../uninstall.yaml -m stdout \
-e "ocp_host=$CLUSTER_DOMAIN" \
-e "api_token=$OPENSHIFT_TOKEN"
```