Merge pull request 'fix: add the new subscription secret' (#92) from fix/new-stripe-secret into master

Reviewed-on: https://gitea.freeleaps.mathmast.com/freeleaps/freeleaps-ops/pulls/92
Reviewed-by: jingyao1991 <jingyao1991@noreply.gitea.freeleaps.mathmast.com>
This commit is contained in:
haolou 2025-09-17 04:00:11 +00:00
commit f276eb128c
8 changed files with 31 additions and 7 deletions

View File

@ -103,7 +103,7 @@ spec:
{{- end}}
env:
{{- range $key, $value := .Values.chat.configs }}
{{- if not (or (eq $key "mongodbUri") (eq $key "jwtSecretKey") (eq $key "stripeApiKey") (eq $key "stripeWebhookSecret") (eq $key "stripeAccountWebhookSecret") (eq $key "rabbitmqPassword") (eq $key "redisUrl")) }}
{{- if not (or (eq $key "mongodbUri") (eq $key "jwtSecretKey") (eq $key "stripeApiKey") (eq $key "stripeWebhookSecret") (eq $key "stripeAccountWebhookSecret") (eq $key "stripeSubscriptionWebhookSecret") (eq $key "rabbitmqPassword") (eq $key "redisUrl")) }}
- name: {{ $key | snakecase | upper }}
valueFrom:
secretKeyRef:

View File

@ -130,6 +130,10 @@ chat:
remoteRef:
key: freeleaps-alpha-stripe-account-webhook-secret
type: Secret
- key: stripeSubscriptionWebhookSecret
remoteRef:
key: freeleaps-alpha-stripe-subscription-webhook-secret
type: Secret
- key: rabbitmqPassword
remoteRef:
key: freeleaps-alpha-rabbitmq-password

View File

@ -121,6 +121,10 @@ chat:
remoteRef:
key: freeleaps-prod-stripe-account-webhook-secret
type: Secret
- key: stripeSubscriptionWebhookSecret
remoteRef:
key: freeleaps-prod-stripe-subscription-webhook-secret
type: Secret
- key: rabbitmqPassword
remoteRef:
key: freeleaps-prod-rabbitmq-password

View File

@ -144,6 +144,10 @@ chat:
remoteRef:
key: "freeleaps-stripe-account-webhook-secret"
type: Secret
- key: stripeSubscriptionWebhookSecret
remoteRef:
key: "freeleaps-stripe-subscription-webhook-secret"
type: Secret
- key: rabbitmqPassword
remoteRef:
key: "freeleaps-rabbitmq-password"

View File

@ -106,7 +106,7 @@ spec:
{{- end}}
env:
{{- range $key, $value := .Values.freeleaps.configs }}
{{- if not (or (eq $key "mongodbUri") (eq $key "jwtSecretKey") (eq $key "stripeApiKey") (eq $key "stripeWebhookSecret") (eq $key "stripeAccountWebhookSecret") (eq $key "rabbitmqPassword") (eq $key "redisUrl") (eq $key "giteaApiKey")) }}
{{- if not (or (eq $key "mongodbUri") (eq $key "jwtSecretKey") (eq $key "stripeApiKey") (eq $key "stripeWebhookSecret") (eq $key "stripeAccountWebhookSecret") (eq $key "stripeSubscriptionWebhookSecret") (eq $key "rabbitmqPassword") (eq $key "redisUrl") (eq $key "giteaApiKey")) }}
- name: {{ $key | snakecase | upper }}
valueFrom:
secretKeyRef:

View File

@ -112,6 +112,10 @@ freeleaps:
remoteRef:
key: freeleaps-alpha-stripe-account-webhook-secret
type: Secret
- key: stripeSubscriptionWebhookSecret
remoteRef:
key: freeleaps-alpha-stripe-subscription-webhook-secret
type: Secret
- key: rabbitmqPassword
remoteRef:
key: freeleaps-alpha-rabbitmq-password

View File

@ -103,6 +103,10 @@ freeleaps:
remoteRef:
key: freeleaps-prod-stripe-account-webhook-secret
type: Secret
- key: stripeSubscriptionWebhookSecret
remoteRef:
key: freeleaps-prod-stripe-subscription-webhook-secret
type: Secret
- key: rabbitmqPassword
remoteRef:
key: freeleaps-prod-rabbitmq-password

View File

@ -141,6 +141,10 @@ freeleaps:
remoteRef:
key: "freeleaps-stripe-account-webhook-secret"
type: Secret
- key: stripeSubscriptionWebhookSecret
remoteRef:
key: "freeleaps-stripe-subscription-webhook-secret"
type: Secret
- key: rabbitmqPassword
remoteRef:
key: "freeleaps-rabbitmq-password"