Browse Source

Add PayPal credentials to environment variables in www deployment

pull/147/head
selmankoc 9 months ago
parent
commit
411eb98b7e
  1. 10
      etc/k8s/helm-chart/eventhub/charts/www/templates/www.yaml

10
etc/k8s/helm-chart/eventhub/charts/www/templates/www.yaml

@ -22,5 +22,15 @@ spec:
containerPort: 443
env:
{{ include "eventhub.global.env" . | indent 8 }}
- name: Payment__PayPal__ClientId
valueFrom:
secretKeyRef:
name: {{ .Values.payPal.secretName }}
key: clientId
- name: Payment__PayPal__Secret
valueFrom:
secretKeyRef:
name: {{ .Values.payPal.secretName }}
key: secret
nodeSelector:
agentpool: demopool

Loading…
Cancel
Save