Skip to content

NissesSenap/argocd-ocp-tmp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ARGOCD-tmp

This is temp repo that i will remove after a customer demo

Install ArgoCD

This part should be create like an ansible role or soemthing but for now i will do it manually (I know writing manuall in a ArgoCD repo is wrong :D).

I currently want to get started with ArgoCD and I don't care to badly about long-term operations even if that is the goal of the repo. My current plan to manage access is to follow and use dex.

Setup

The OCP way

Open OLM UI and install the ArgoCD operator.

oc new-project argocd

oc create -f argocd/ArgoCD.yml

# If you wan't to give argocd service account cluster-admin
oc apply -f argocd/cluster-admin.yml

App of Apps

My plan is to use helm overall in this repo, if someone else want to use kustomize or what ever templating language, please feel free to do so. We will put it in another subfolder and it should be fine. The more exampels the better.

You can use argocd to setup the sync but it's usefull to have when testing your helm chart.

I'm counting that you already have installed helm v3, if not see here

Setup app of apps

Still having a hard time to manage to get the password out of data."admin.password".

oc get secret argocd-cluster -o jsonpath="{.data}"

argocd login argocd-server-argocd.apps-crc.testing --username admin --password superSecret --grpc-web

argocd app create apps
--dest-namespace argocd
--dest-server https://kubernetes.default.svc
--repo https://github.com/NissesSenap/argocd-ocp-tmp.git
--path app_of_apps/helm

argocd app sync apps

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published