Uploaded image for project: 'OpenShift GitOps'
  1. OpenShift GitOps
  2. GITOPS-4226

Not able to add the clusters hosted on GCP

XMLWordPrintable

    • 3
    • GITOPS Sprint 3254, GitOps Crimson - Sprint 3255

      Description of problem:

      Do we support argocd-k8s-auth for add/manage GKE cluster?
      Did follow the doc[1] and PR[2] but getting below error:ComparisonError: error synchronizing cache state : Get "https://35.228.78.199/version?timeout=32s": getting credentials: exec: executable argocd-k8s-auth not found It looks like you are trying to use a client-go credential plugin that is not installed. To learn more about this feature, consult the documentation available at: https://kubernetes.io/docs/reference/access-authn-authz/authentication/#client-go-credential-plugins;ComparisonError: error synchronizing cache state : Get "https://35.228.78.199/version?timeout=32s": getting credentials: exec: executable argocd-k8s-auth not found It looks like you are trying to use a client-go credential plugin that is not installed. To learn more about this feature, consult the documentation available at: https://kubernetes.io/docs/reference/access-authn-authz/authentication/#client-go-credential-pluginsAs per the releases[3] it was shipped with v2.4.0(GitOps 1.6+) and reading some github issues the binary of argocd-k8s-auth should be present in application-controller pod, But even on v1.11.1 it's not present.   Do we need to configure it somewhere? Not able to find a proper steps or need help if I missed some imp here. 
      [1] https://argo-cd.readthedocs.io/en/stable/operator-manual/declarative-setup/#gke
      [2] https://github.com/argoproj/argo-cd/pull/9190
      [3] https://github.com/argoproj/argo-cd/releases/tag/v2.4.0#:~:text=add%20gke%20auth%20command%20to

      Prerequisites (if any, like setup, operators/versions):

      Steps to Reproduce

       # <steps>

       

      Actual results:

      Expected results:

      Reproducibility (Always/Intermittent/Only Once):

      Acceptance criteria: 

       

      Definition of Done:

      Build Details:

      Additional info (Such as Logs, Screenshots, etc):

       

       *

            rh-ee-ansingh Anand Singh
            rh-ee-ansingh Anand Singh
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: