-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[server] Make Stripe usage-based product price IDs configurable #10660
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
Conversation
47e4887
to
9a9ee1f
Compare
9a9ee1f
to
771bb57
Compare
771bb57
to
28f2af4
Compare
28f2af4
to
8685a9a
Compare
started the job as gitpod-build-jx-stripe-configmap.5 because the annotations in the pull request description changed |
started the job as gitpod-build-jx-stripe-configmap.6 because the annotations in the pull request description changed |
This comment was marked as outdated.
This comment was marked as outdated.
8685a9a
to
4fe0427
Compare
This comment was marked as outdated.
This comment was marked as outdated.
141a440
to
5db28df
Compare
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as resolved.
This comment was marked as resolved.
7e2104b
to
07779c5
Compare
New custom build: https://werft.gitpod-dev.com/job/gitpod-custom-jx-stripe-configmap.9 Triggered with:
And works like a charm! 🎉 (Created usage-based subscriptions are now using the new Stripe Product with "graduated pricing", as intended) |
started the job as gitpod-build-jx-stripe-configmap.15 because the annotations in the pull request description changed |
07779c5
to
ccc95e6
Compare
- name: stripe-secret | ||
secret: | ||
secretName: stripe-api-keys | ||
- name: stripe-config | ||
configMap: | ||
name: stripe-config |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand why this whole section is necessary.
Werft installs gitpod using the installer which already configures server's volumes and mounts, so what is this section for?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good question -- I'm actually not sure 🙈 I just basically copied how chargebee-config
is implemented.
Do you think I should try without some or all of the changes in this file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd try it without the changes to this file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you think we should delete this YAML file?
Probably not in this PR. Open a separate one and maybe get the Platform team's view on what it's for.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@andrew-farries Indeed, this is a left-over - and we have been cargo-culting here 🙈 Let's remove (incl. all references)! 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good! I'll send a follow-up PR. 🧹
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one question really - rest looks fine
Description
Make Stripe usage-based product price IDs configurable.
Companion ops PR: https://github.com/gitpod-io/ops/pull/2819 (internal)
Related Issue(s)
Fixes #10655
How to test
kubectx dev
thenwerft job run github -j .werft/build.yaml -a with-clean-slate-deployment=true
Release Notes
Documentation