Skip to content

Conversation

@nimish-ks
Copy link
Member

@nimish-ks nimish-ks commented Feb 10, 2025

Changes

  • Added support for managed migrations through a dedicated Kubernetes job
  • Improved deployment sequence with post-install/upgrade hooks for migrations
  • Added Redis password authentication support with conditional configuration
  • Fixed worker pod restarts by adding Redis readiness check
  • Added support for Google and JumpCloud OIDC providers creds
  • Made Redis authentication optional for development environments

Testing Instructions

  1. Create a values.dev.yaml:
global:
  host: "localhost"
  httpProtocol: "https://"
  version: ea9e433
  images:
    frontend:
      repository: phasehq/frontend-staging
    backend:
      repository: phasehq/backend-staging
  external:
    enabled: false  # Set to true to use external managed services
  1. Watch pods in a separate terminal:
watch kubectl get pods
  1. Install the Helm chart:
helm install phase ./phase-console -f values.dev.yaml
  1. Verify the deployment:
  • Check migration job logs (job is short-lived)

  • Verify backend logs for successful startup

  • Observe that worker no longer restarts while Redis is booting

  • Confirm Redis authentication works when password is configured

  • Migrations run after all resources are created

  • Backend and worker wait for migrations to complete

  • Worker waits for Redis to be ready before starting

@cloudflare-workers-and-pages
Copy link

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

Latest commit: b1c830d
Status: ✅  Deploy successful!
Preview URL: https://020e7a43.helm-repo-kubernetes-secrets-operator.pages.dev
Branch Preview URL: https://feat--improved-migrations-he.helm-repo-kubernetes-secrets-operator.pages.dev

View logs

@nimish-ks nimish-ks self-assigned this Feb 10, 2025
@nimish-ks nimish-ks changed the title feat: improved migrations helm feat: improved migrations and mic improvements Feb 10, 2025
@nimish-ks nimish-ks merged commit ff52f2f into main Feb 10, 2025
2 checks passed
@nimish-ks nimish-ks deleted the feat--improved-migrations-helm branch February 10, 2025 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants