Skip to content

Simplified redis cloud flow #41

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Simplified redis cloud flow #41

wants to merge 1 commit into from

Conversation

manachyn
Copy link
Contributor

This pull request refactors the Redis Cloud integration by removing the account entity and its associated functionality, streamlining the subscription management process, and enhancing the flexibility of subscription definitions. Key updates include the removal of account-related files, updates to subscription schemas, and improvements to the subscription synchronization logic.

Removal of account entity and related functionality:

Enhancements to subscription management:

  • redis-cloud/subscription-sync.js: Added selectPlan and selectPaymentMethod functions to dynamically determine the plan ID and payment method ID based on subscription definitions. Updated the syncSubscription function to use these new utilities. [1] [2]
  • redis-cloud/subscription.yaml: Expanded the subscription schema to include new fields like provider, region, redis_flex, and various support flags for additional configuration flexibility. [1] [2]
  • redis-cloud/example.yaml: Updated the subscription example to reflect the new schema, replacing plan_id with dynamic configuration options such as size, provider, and region.

Documentation updates:

  • redis-cloud/README.md: Updated usage instructions to reflect the removal of the account entity, simplified the deployment process, and clarified the creation of secrets and stack deployment steps.

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