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 }}
|
name: {{ $port.name }}
|
||||||
protocol: {{ $port.protocol }}
|
protocol: {{ $port.protocol }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.chat.resources }}
|
{{- if .Values.chat.resources }}
|
||||||
resources:
|
resources:
|
||||||
{{- toYaml .Values.chat.resources | nindent 12 }}
|
{{- toYaml .Values.chat.resources | nindent 12 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
@ -103,7 +103,7 @@ spec:
|
|||||||
{{- end}}
|
{{- end}}
|
||||||
env:
|
env:
|
||||||
{{- range $key, $value := .Values.chat.configs }}
|
{{- 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 }}
|
- name: {{ $key | snakecase | upper }}
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
|
|||||||
@ -130,6 +130,10 @@ chat:
|
|||||||
remoteRef:
|
remoteRef:
|
||||||
key: freeleaps-alpha-stripe-account-webhook-secret
|
key: freeleaps-alpha-stripe-account-webhook-secret
|
||||||
type: Secret
|
type: Secret
|
||||||
|
- key: stripeSubscriptionWebhookSecret
|
||||||
|
remoteRef:
|
||||||
|
key: freeleaps-alpha-stripe-subscription-webhook-secret
|
||||||
|
type: Secret
|
||||||
- key: rabbitmqPassword
|
- key: rabbitmqPassword
|
||||||
remoteRef:
|
remoteRef:
|
||||||
key: freeleaps-alpha-rabbitmq-password
|
key: freeleaps-alpha-rabbitmq-password
|
||||||
|
|||||||
@ -121,6 +121,10 @@ chat:
|
|||||||
remoteRef:
|
remoteRef:
|
||||||
key: freeleaps-prod-stripe-account-webhook-secret
|
key: freeleaps-prod-stripe-account-webhook-secret
|
||||||
type: Secret
|
type: Secret
|
||||||
|
- key: stripeSubscriptionWebhookSecret
|
||||||
|
remoteRef:
|
||||||
|
key: freeleaps-prod-stripe-subscription-webhook-secret
|
||||||
|
type: Secret
|
||||||
- key: rabbitmqPassword
|
- key: rabbitmqPassword
|
||||||
remoteRef:
|
remoteRef:
|
||||||
key: freeleaps-prod-rabbitmq-password
|
key: freeleaps-prod-rabbitmq-password
|
||||||
|
|||||||
@ -89,7 +89,7 @@ chat:
|
|||||||
# RABBITMQ_HOST
|
# RABBITMQ_HOST
|
||||||
rabbitmqHost: ""
|
rabbitmqHost: ""
|
||||||
# RABBITMQ_PORT
|
# RABBITMQ_PORT
|
||||||
rabbitmqPort:
|
rabbitmqPort:
|
||||||
# RABBITMQ_USERNAME
|
# RABBITMQ_USERNAME
|
||||||
rabbitmqUsername: ""
|
rabbitmqUsername: ""
|
||||||
# FREELEAPS_DEVSVC_ENDPOINT
|
# FREELEAPS_DEVSVC_ENDPOINT
|
||||||
@ -114,7 +114,7 @@ chat:
|
|||||||
metricsEnabled: "false"
|
metricsEnabled: "false"
|
||||||
# PROBES_ENABLED
|
# PROBES_ENABLED
|
||||||
probesEnabled: "true"
|
probesEnabled: "true"
|
||||||
|
|
||||||
secrets:
|
secrets:
|
||||||
secretStoreRef:
|
secretStoreRef:
|
||||||
kind: FreeleapsSecretStore
|
kind: FreeleapsSecretStore
|
||||||
@ -144,6 +144,10 @@ chat:
|
|||||||
remoteRef:
|
remoteRef:
|
||||||
key: "freeleaps-stripe-account-webhook-secret"
|
key: "freeleaps-stripe-account-webhook-secret"
|
||||||
type: Secret
|
type: Secret
|
||||||
|
- key: stripeSubscriptionWebhookSecret
|
||||||
|
remoteRef:
|
||||||
|
key: "freeleaps-stripe-subscription-webhook-secret"
|
||||||
|
type: Secret
|
||||||
- key: rabbitmqPassword
|
- key: rabbitmqPassword
|
||||||
remoteRef:
|
remoteRef:
|
||||||
key: "freeleaps-rabbitmq-password"
|
key: "freeleaps-rabbitmq-password"
|
||||||
|
|||||||
@ -50,7 +50,7 @@ spec:
|
|||||||
name: {{ $port.name }}
|
name: {{ $port.name }}
|
||||||
protocol: {{ $port.protocol }}
|
protocol: {{ $port.protocol }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.freeleaps.resources }}
|
{{- if .Values.freeleaps.resources }}
|
||||||
resources:
|
resources:
|
||||||
{{- toYaml .Values.freeleaps.resources | nindent 12 }}
|
{{- toYaml .Values.freeleaps.resources | nindent 12 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
@ -106,7 +106,7 @@ spec:
|
|||||||
{{- end}}
|
{{- end}}
|
||||||
env:
|
env:
|
||||||
{{- range $key, $value := .Values.freeleaps.configs }}
|
{{- 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 }}
|
- name: {{ $key | snakecase | upper }}
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
|
|||||||
@ -112,6 +112,10 @@ freeleaps:
|
|||||||
remoteRef:
|
remoteRef:
|
||||||
key: freeleaps-alpha-stripe-account-webhook-secret
|
key: freeleaps-alpha-stripe-account-webhook-secret
|
||||||
type: Secret
|
type: Secret
|
||||||
|
- key: stripeSubscriptionWebhookSecret
|
||||||
|
remoteRef:
|
||||||
|
key: freeleaps-alpha-stripe-subscription-webhook-secret
|
||||||
|
type: Secret
|
||||||
- key: rabbitmqPassword
|
- key: rabbitmqPassword
|
||||||
remoteRef:
|
remoteRef:
|
||||||
key: freeleaps-alpha-rabbitmq-password
|
key: freeleaps-alpha-rabbitmq-password
|
||||||
|
|||||||
@ -103,6 +103,10 @@ freeleaps:
|
|||||||
remoteRef:
|
remoteRef:
|
||||||
key: freeleaps-prod-stripe-account-webhook-secret
|
key: freeleaps-prod-stripe-account-webhook-secret
|
||||||
type: Secret
|
type: Secret
|
||||||
|
- key: stripeSubscriptionWebhookSecret
|
||||||
|
remoteRef:
|
||||||
|
key: freeleaps-prod-stripe-subscription-webhook-secret
|
||||||
|
type: Secret
|
||||||
- key: rabbitmqPassword
|
- key: rabbitmqPassword
|
||||||
remoteRef:
|
remoteRef:
|
||||||
key: freeleaps-prod-rabbitmq-password
|
key: freeleaps-prod-rabbitmq-password
|
||||||
|
|||||||
@ -70,7 +70,7 @@ freeleaps:
|
|||||||
# RABBITMQ_HOST
|
# RABBITMQ_HOST
|
||||||
rabbitmqHost: ""
|
rabbitmqHost: ""
|
||||||
# RABBITMQ_PORT
|
# RABBITMQ_PORT
|
||||||
rabbitmqPort:
|
rabbitmqPort:
|
||||||
# RABBITMQ_USERNAME
|
# RABBITMQ_USERNAME
|
||||||
rabbitmqUsername: ""
|
rabbitmqUsername: ""
|
||||||
# FREELEAPS_DEVSVC_ENDPOINT
|
# FREELEAPS_DEVSVC_ENDPOINT
|
||||||
@ -141,6 +141,10 @@ freeleaps:
|
|||||||
remoteRef:
|
remoteRef:
|
||||||
key: "freeleaps-stripe-account-webhook-secret"
|
key: "freeleaps-stripe-account-webhook-secret"
|
||||||
type: Secret
|
type: Secret
|
||||||
|
- key: stripeSubscriptionWebhookSecret
|
||||||
|
remoteRef:
|
||||||
|
key: "freeleaps-stripe-subscription-webhook-secret"
|
||||||
|
type: Secret
|
||||||
- key: rabbitmqPassword
|
- key: rabbitmqPassword
|
||||||
remoteRef:
|
remoteRef:
|
||||||
key: "freeleaps-rabbitmq-password"
|
key: "freeleaps-rabbitmq-password"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user