Installing the ArgoCD Operator using the CLI
Ensure that the operator exists in the channel catalog.
oc get packagemanifests -n openshift-marketplace | grep gitops
Check the CSV information
oc describe packagemanifests/openshift-gitops-operator -n openshift-marketplace
Create a Subscription object YAML file to subscribe a namespace to the ArgoCD Operator
apiVersion: operators.coreos.com/v1alpha1
kind: Subscription
metadata:
name: openshift-gitops-operator
namespace: openshift-operators
spec:
channel: stable
installPlanApproval: Automatic
name: openshift-gitops-operator
source: redhat-operators
sourceNamespace: openshift-marketplace
oc apply -f argocd-sub.yaml