Coder Social home page Coder Social logo

Comments (2)

christianh814 avatar christianh814 commented on August 16, 2024

@nehasikarwar01 Did you add the certificate as described in the docs? https://argo-cd.readthedocs.io/en/stable/operator-manual/declarative-setup/#repositories-using-self-signed-tls-certificates-or-are-signed-by-custom-ca

from argo-cd.

nehasikarwar01 avatar nehasikarwar01 commented on August 16, 2024

Thanks Christian, I am able to add Public Harbor repo through your suggestion, so my first point which is for Public repo is achieved but second point is still giving me tough time. I am not able to add Private repo and deploy application.

Public Repo challenge Point 2
Not able to add Private repo through Argocd GUI as well as through command line using below cmd

argocd repo add registry-rat.xyz.com --type helm --name reponame --enable-oci --username 'XYZ' --password 'XYZ ==> Failed

I am able to add Private repo through argocd command by passing Flag --insecure-skip-server-verification but App deployment failed using this repo with below error

argocd repo add registry-rat.xyz.com --type helm --name reponame --enable-oci --username 'XYZ' --password 'XYZ' --insecure-skip-server-verification

ERROR

Unable to create application: application spec for reponame is invalid: InvalidSpecError: repository not accessible: repositories not accessible: &Repository{Repo: "registry-rat.xyz.com", Type: "helm", Name: "oci", Project: ""}: repo client error while testing repository: rpc error: code = Unknown desc = error testing repository connectivity: helm registry login registry-rat.xyz.com --username ****** --password ****** --insecure failed exit status 1: WARNING: Using --password ****** the CLI is insecure. Use --password-stdin. Error: Get "
https://registry-rat.xyz.com/v2/":
unauthorized: authentication required

from argo-cd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.