Closed 13567436138 closed 1 year ago
Hello, is https://192.168.229.153:6443
the address of Vault, or the kubernetes API endpoint? When configuring the SecretProviderClass, you listed the vault address as https://192.168.229.153:6443
but also used that same address as the kubernetes host when writing to auth/kubernetes/config
. Please try correcting the vaultAddress
, and let us know if that fixes the issue.
You can take a look at the tutorial here: https://developer.hashicorp.com/vault/tutorials/kubernetes/kubernetes-secret-store-driver for more information about how to configure the secret store driver
solved,my problem
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
rbac.yaml
kubectl apply -f rbac.yaml -n vault --kubeconfig ~/153config
kubectl apply -f rbac.yaml -n vault --kubeconfig ~/156config
secret/argocd-vault-plugin/ap-clusterResourceWhitelist.yaml
kubectl apply -f ap-clusterResourceWhitelist.yaml -n argocd
secret/app-csi.yaml
kubectl apply -f app-csi.yaml -n argocd
Expected behavior A clear and concise description of what you expected to happen.
Environment:
vault status
):Seal Type shamir Initialized true Sealed false Total Shares 5 Threshold 3 Version 1.13.1 Build Date 2023-03-23T12:51:35Z Storage Type consul Cluster Name vault-cluster-d1a318c0 Cluster ID 34762901-19ce-e878-162c-4c97429cb209 HA Enabled true HA Cluster https://vault-2.vault-internal:8201 HA Mode active Active Since 2023-04-22T08:18:18.975434437Z
vault version
):Additional context Add any other context about the problem here.