Skip to content

Commit

Permalink
single tnt mode
Browse files Browse the repository at this point in the history
revert

revert

skip
  • Loading branch information
ziyliu committed Aug 16, 2024
1 parent aea037f commit a3a6b6a
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/stellar-disbursement-platform/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: stellar-disbursement-platform
description: A Helm chart for the Stellar Disbursement Platform Backend (A.K.A. `sdp`)
version: "2.1.0"
version: "2.1.1"
appVersion: "2.1.0"
type: application
maintainers:
Expand Down
1 change: 1 addition & 0 deletions charts/stellar-disbursement-platform/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ These parameters are shared by all charts.
| `global.eventBroker.consumerGroupId` | The consumer group ID for the event broker. | `nil` |
| `global.eventBroker.kafka` | Configuration related to the Kafka event broker. | |
| `global.eventBroker.kafka.securityProtocol` | The security protocol to be used for the Kafka broker. Options: "PLAINTEXT", "SASL_SSL", "SASL_PLAINTEXT", "SSL". | `nil` |
| `global.singleTenantMode` | Determines if the SDP service is running in single-tenant mode. | `false` |

### Stellar Disbursement Platform (SDP) parameters

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,6 @@ data:
{{- if eq .Values.global.eventBroker.type "KAFKA" }}
KAFKA_SECURITY_PROTOCOL: {{ .Values.global.eventBroker.kafka.securityProtocol | quote }}
{{- end }}
SINGLE_TENANT_MODE: {{ .Values.global.singleTenantMode | quote }}
{{- tpl (toYaml .Values.sdp.configMap.data | nindent 2) . }}
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,11 @@ data:
{{- end }}
{{- if eq (include "isPubnet" .) "true" }}
HORIZON_URL: "https://horizon.stellar.org",
STELLAR_EXPERT_URL: "https://stellar.expert/explorer/pubnet"
STELLAR_EXPERT_URL: "https://stellar.expert/explorer/pubnet",
{{- else }}
HORIZON_URL: "https://horizon-testnet.stellar.org",
STELLAR_EXPERT_URL: "https://stellar.expert/explorer/testnet"
STELLAR_EXPERT_URL: "https://stellar.expert/explorer/testnet",
{{- end }}
SINGLE_TENANT_MODE: {{ .Values.global.singleTenantMode }}
};
{{- end }}
3 changes: 3 additions & 0 deletions charts/stellar-disbursement-platform/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ global:
kafka:
securityProtocol: #required

## @param global.singleTenantMode Determines if the SDP service is running in single-tenant mode.
singleTenantMode: false

# =========================== START sdp ===========================
## @section Stellar Disbursement Platform (SDP) parameters
## @descriptionStart
Expand Down

0 comments on commit a3a6b6a

Please sign in to comment.