Linux serverNETWORK ADMINISTRATIONSredhat

Red Hat OpenShift GitOps (Argo CD) | Intro & Setup

Watch and learn how to use a Red Hat OpenShift cluster to deploy applications using Argo CD. This is an example of GitOps (https://red.ht/3DrADl4), which takes a developer-centric approach to continuous delivery and infrastructure operation. Git is the single source of truth and automatically reconciles operations through workflows.

00:00 Introduction
00:40 Demo

Command # 1 ———
– Add cluster role to user
– oc adm policy add-cluster-role-to-user cluster-admin -z openshift-gitops-argocd-application-controller -n openshift-gitops

Command # 2 ———
– Get Argo password
– argoPass=$(oc get secret/openshift-gitops-cluster -n openshift-gitops -o jsonpath='{.data.admin.password}’ | base64 -d)
– echo $argoPass

Begin your developer journey today with a free trial of the Developer Sandbox for Red Hat OpenShift: https://red.ht/3qWOEzX

Learn more:
Getting GitOps: A practical platform with OpenShift, Argo CD, and Tekton: https://red.ht/3LggDno

About Karan Singh:
Karan Singh is a Senior Principal Architect & Developer Evangelist at the Red Hat Developer Experience Team. He is also a published author, a frequent speaker at conferences, and an avid blogger on Medium. Connect with Karan on LinkedIn.

Let’s connect:
Twitter Red Hat Developer: https://twitter.com/rhdevelopers
LinkedIn Red Hat Developer: https://www.linkedin.com/showcase/red-hat-developer/

#ArgoCD #OpenShift #Developer #GitOps #Applications

source

by Red Hat Developer

redhat openstack