diff --git a/etc/k8s/helm-chart/eventhub/charts/api/templates/api.yaml b/etc/k8s/helm-chart/eventhub/charts/api/templates/api.yaml index 8d4e6c9..63603bb 100644 --- a/etc/k8s/helm-chart/eventhub/charts/api/templates/api.yaml +++ b/etc/k8s/helm-chart/eventhub/charts/api/templates/api.yaml @@ -24,6 +24,16 @@ spec: {{ include "eventhub.global.env" . | indent 8 }} - name: "ConnectionStrings__Default" value: {{ .Values.global.defaultConnString }} + - 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 diff --git a/etc/k8s/helm-chart/eventhub/values.azure.yaml b/etc/k8s/helm-chart/eventhub/values.azure.yaml index aa96004..db9348b 100644 --- a/etc/k8s/helm-chart/eventhub/values.azure.yaml +++ b/etc/k8s/helm-chart/eventhub/values.azure.yaml @@ -34,5 +34,7 @@ dbmigrator: containerImage: "volosoft.azurecr.io/eventhub/dbmigrator" background-services: containerImage: "volosoft.azurecr.io/eventhub/background" +payPal: + secretName: paypal-secret # look for this secret https://github.com/volosoft/devops/blob/master/old-folder/eventhub/apihost-secret.yaml nodeSelector: agentpool: demopool \ No newline at end of file