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:
commit
f276eb128c
@ -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:
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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:
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user