Browse Source
Merge pull request #147 from abpframework/skoc/secret-env
pull/149/head
Ma Liming
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
12 additions and
0 deletions
-
etc/k8s/helm-chart/eventhub/charts/api/templates/api.yaml
-
etc/k8s/helm-chart/eventhub/values.azure.yaml
|
|
@ -24,6 +24,16 @@ spec: |
|
|
{{ include "eventhub.global.env" . | indent 8 }} |
|
|
{{ include "eventhub.global.env" . | indent 8 }} |
|
|
- name: "ConnectionStrings__Default" |
|
|
- name: "ConnectionStrings__Default" |
|
|
value: {{ .Values.global.defaultConnString }} |
|
|
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: |
|
|
nodeSelector: |
|
|
agentpool: demopool |
|
|
agentpool: demopool |
|
|
|
|
|
|
|
|
|
|
|
@ -34,5 +34,7 @@ dbmigrator: |
|
|
containerImage: "volosoft.azurecr.io/eventhub/dbmigrator" |
|
|
containerImage: "volosoft.azurecr.io/eventhub/dbmigrator" |
|
|
background-services: |
|
|
background-services: |
|
|
containerImage: "volosoft.azurecr.io/eventhub/background" |
|
|
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: |
|
|
nodeSelector: |
|
|
agentpool: demopool |
|
|
agentpool: demopool |