Skip to content

wpernath/light-control-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

light-control-config

This is the gitops config repo for the project light-control.

Prerequisites

It is currently only tested for Red Hat OpenShift, which you could get either

To use the content in this repository, you need to have setup your OpenShift Cluster to use the following Operators:

  • OpenShift Pipelines (or Tekton)
  • OpenShift GitOps (or argocd)
  • Crunchy Data PostgreSQL Cluster

Installation

CI environment (tekton)

To install the CI environment, simply log into your OpenShift cluster and execute the following script

$ oc login -u <user> -p <pass> https://api.crc.testing:6443
$ ./tekton/pipeline.sh init --git-user <git user> \
                            --git-password <git-pwd> \ 
                            --repo-user <image repo user> \
                            --repo-password <image repo pwd> 

This will - behind the scenes - do a

$ oc apply -k tekton/

And will then apply the secrets in the lights-ci namespace with your user/password combinations to access GitHub and Quay.io. If you do use other repositories, please feel free to edit the secrets accordingly.

Dev and Stage projects

To install the ArgoCD apps which will then install the current versions for Dev and Stage, please issue the following command:

$ oc apply -k argocd

After this call, you have a light-dev and a light-stage namespace properly setup with the current config you find in the config folder.

Development

About

This is the gitops config repo for the project light-control

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages