fix: add the new subscription secret

This commit is contained in:
sunhaolou 2025-09-17 11:43:51 +08:00
parent 4699fcd9a6
commit 8ea5aa126d
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"