Git Product home page Git Product logo

Comments (2)

p-bizouard avatar p-bizouard commented on June 17, 2024

Hi,

This looks like ArgoCD cannot access to the vault with the kube authentication.

Did you play the terraform init, followed by terraform plan, then terraform apply in the vault directory after the ./init.sh from the Hashicorp Vault step ?

It will create the key/value vault, the kubernetes vault authentication, and the default policy.

This authentication allows all ArgoCD apps to access to the vault with the default policy kv/*.


If you already performed the terraform init and so on, do you have :

  • The secret for the default kube auth : kubect get secret default-vault-credentials -n argocd ?

  • And in the Vault :

$ kubectl exec -it statefulset.apps/hashicorp-vault -n hashicorp-vault -- sh
/ $ vault login
Token (will be hidden): xxx
  • The kubernetes auth ?
/ $ vault auth list
Path           Type          Accessor                    Description                Version
----           ----          --------                    -----------                -------
[...]
kubernetes/    kubernetes    auth_kubernetes_xxxxx    n/a                        n/a
[...]
  • The kv secret vault ?
/ $ vault secrets list
Path          Type         Accessor              Description
----          ----         --------              -----------
[...]
kv/           kv           kv_xxxxxx           KV Version 2 secret engine mount
[...]

from kubic.

devXpro avatar devXpro commented on June 17, 2024

I simply didn't complete the last step of the vault setup, which is done through Terraform. I was thrown off by the note that said 'This part is not mandatory.', and I just skipped it. However, it's a crucial step, as without it, no application in ArgoCD will work

from kubic.

Related Issues (4)

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.