secrets manager kubernetes operator not working.

Yesterday I tried to manually bridge Bitwarden and Kubernetes with certificates… a total mess. By the way, I complained that you have very poor documentation, but obviously some “clever” person deleted the post… and I was writing…

Today I did it with “helm”

but for some reason I don’t understand, it doesn’t work:

I understand that the token on my machine is incorrect… or it never actually worked. I regenerated it and it still doesn’t work.
This doesn’t seem to be my problem anymore. You should look into it.

  • Manual method (a mess)
  1. Create the Bitwarden access token as a secret in Kubernetes
    Manual command to create the secret with the Bitwarden token.
  2. Install External Secrets Operator and the SDK Server
    Deploy both resources, ensuring the SDK Server is up and accessible.
  3. Generate a self-signed certificate
    Create a TLS certificate with the correct CN and SAN.
    Create a Kubernetes secret with tls.crt, tls.key, and ca.crt (three required keys).
  4. Extract the certificate in base64
    Encode the certificate and paste it into the caBundle field of the manifest.
  5. Write and apply the SecretStore and ExternalSecret manifests
    Configure URLs, IDs, referrers, and the CA bundle correctly.
  6. Check and troubleshoot errors
    tls: failed to verify certificate: x509: certificate relies on legacy Common Name field, use SANs instead
    x509 → invalid certificate.
    Deal with DNS errors, missing keys, ports, certificates, and SAN policies.
    …I left it here, not working.

Could someone tell me if the bridge between the token machine and Kubernetes isn’t broken?

Hey @Drakgoku don’t hesitate to connect with the support team directly using the form at: Help Center | Bitwarden so they can assist you further.