redhat-developer / kam

GitOps Application Manager: An opinionated CLI that generates the Kubernetes resources for managing your Tekton-based CI manifests, ArgoCD-based CD manifests and Application manifests in Git.
Apache License 2.0
145 stars 83 forks source link

bootstrap failing ArgoCD pre-check #342

Open rafaeltuelho opened 1 year ago

rafaeltuelho commented 1 year ago

Describe the bug kam boostrap can't check ArgoCD installed

kam bootstrap --interactive

Checking dependencies

 ✗  Checking if Argo CD is installed with the default configuration [106ms] [Please install OpenShift GitOps Operator from OperatorHub]
 ✓  Checking if OpenShift Pipelines Operator is installed with the default configuration [176ms]
 ✗  failed to satisfy the required dependencies: OpenShift GitOps Operator

To Reproduce Steps to reproduce the behavior:

  1. on a OCP 4.12 cluster with Gitops (ArgoCD) installed
  2. kam bootstrap --interactive

Expected behavior passing the initial pre-check

Screenshots The following outputs confirm my cluster have ArgoCD properly installed.

oc get CustomResourceDefinitions | grep argo                                                                                  [19:52:22]
applications.argoproj.io                                          2023-06-12T20:45:48Z
applicationsets.argoproj.io                                       2023-06-12T20:45:48Z
appprojects.argoproj.io                                           2023-06-12T20:45:48Z
argocds.argoproj.io                                               2023-06-12T20:45:48Z
oc get argocd -n openshift-gitops
NAME               AGE
openshift-gitops   3h4m

oc describe argocd -n openshift-gitops
Name:         openshift-gitops
Namespace:    openshift-gitops
Labels:       <none>
Annotations:  <none>
API Version:  argoproj.io/v1alpha1
Kind:         ArgoCD

Additional context

oc version
Client Version: 4.12.0-202301042354.p0.g854f807.assembly.stream-854f807
Kustomize Version: v4.5.7
Server Version: 4.12.12
Kubernetes Version: v1.25.7+eab9cc9