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
@ -47,7 +47,7 @@ spec:
|
||||
name: {{ $port.name }}
|
||||
protocol: {{ $port.protocol }}
|
||||
{{- end }}
|
||||
{{- if .Values.chat.resources }}
|
||||
{{- if .Values.chat.resources }}
|
||||
resources:
|
||||
{{- toYaml .Values.chat.resources | nindent 12 }}
|
||||
{{- end }}
|
||||
@ -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
|
||||
|
||||
@ -89,7 +89,7 @@ chat:
|
||||
# RABBITMQ_HOST
|
||||
rabbitmqHost: ""
|
||||
# RABBITMQ_PORT
|
||||
rabbitmqPort:
|
||||
rabbitmqPort:
|
||||
# RABBITMQ_USERNAME
|
||||
rabbitmqUsername: ""
|
||||
# FREELEAPS_DEVSVC_ENDPOINT
|
||||
@ -114,7 +114,7 @@ chat:
|
||||
metricsEnabled: "false"
|
||||
# PROBES_ENABLED
|
||||
probesEnabled: "true"
|
||||
|
||||
|
||||
secrets:
|
||||
secretStoreRef:
|
||||
kind: FreeleapsSecretStore
|
||||
@ -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"
|
||||
|
||||
@ -50,7 +50,7 @@ spec:
|
||||
name: {{ $port.name }}
|
||||
protocol: {{ $port.protocol }}
|
||||
{{- end }}
|
||||
{{- if .Values.freeleaps.resources }}
|
||||
{{- if .Values.freeleaps.resources }}
|
||||
resources:
|
||||
{{- toYaml .Values.freeleaps.resources | nindent 12 }}
|
||||
{{- end }}
|
||||
@ -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
|
||||
|
||||
@ -70,7 +70,7 @@ freeleaps:
|
||||
# RABBITMQ_HOST
|
||||
rabbitmqHost: ""
|
||||
# RABBITMQ_PORT
|
||||
rabbitmqPort:
|
||||
rabbitmqPort:
|
||||
# RABBITMQ_USERNAME
|
||||
rabbitmqUsername: ""
|
||||
# FREELEAPS_DEVSVC_ENDPOINT
|
||||
@ -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