phasehq / kubernetes-secrets-operator

Securely sync secrets and environment variables with Phase in your Kubernetes cluster
GNU General Public License v3.0
5 stars 1 forks source link

Fix: Local Path Secret Referencing #11

Closed nimish-ks closed 3 months ago

nimish-ks commented 3 months ago

Description

This PR addresses a bug in our Kubernetes operator related to secret referencing. The fix ensures that the operator correctly handles and resolves secret references within Kubernetes resources.

Changes

To test this change:

  1. Deploy the updated operator to a test Kubernetes cluster.
  2. Create a local secret reference across a path in Phase (e.g., ${/path/to/SECRET}).
  3. Deploy that application via the Phase Kubernetes custom CR.
  4. Fetch the secret via kubctl and base64 decode it and verify the secret reference.
cloudflare-workers-and-pages[bot] commented 3 months ago

Deploying helm-repo-kubernetes-secrets-operator with  Cloudflare Pages  Cloudflare Pages

Latest commit: 2653097
Status: ✅  Deploy successful!
Preview URL: https://ec7ac0b3.helm-repo-kubernetes-secrets-operator.pages.dev
Branch Preview URL: https://fix--secret-reference-1.helm-repo-kubernetes-secrets-operator.pages.dev

View logs