Skip to content

Commit d2e5cb5

Browse files
Support offline installer for billing config and billing-ui (#1282)
Signed-off-by: RokibulHasan7 <mdrokibulhasan@appscode.com> Signed-off-by: Arnob kumar saha <arnob@appscode.com> Co-authored-by: Arnob kumar saha <arnob@appscode.com>
1 parent dd7efa0 commit d2e5cb5

4 files changed

Lines changed: 6 additions & 28 deletions

File tree

charts/acaas/templates/gateway.yaml

Lines changed: 0 additions & 25 deletions
This file was deleted.

charts/acaas/templates/ingress/route-hosted.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ spec:
1414
parentRefs:
1515
- group: gateway.networking.k8s.io
1616
kind: Gateway
17-
name: ace-hosted
17+
name: ace
1818
namespace: {{ .Release.Namespace }}
1919
sectionName: https
2020
hostnames:

charts/ace/templates/platform/config.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ stringData:
168168
API_URL = {{ .Values.settings.openfga.apiURL }}
169169
PRE_SHARED_KEY = {{ .Values.settings.openfga.preSharedKey }}
170170

171-
{{- if eq .Values.global.platform.deploymentType "Hosted" }}
171+
{{- if (or (eq .Values.global.platform.deploymentType "Hosted") .Values.global.platform.offlineInstaller) }}
172172

173173
[badger]
174174
PATH = {{ .Values.global.infra.badger.mountPath }}
@@ -179,6 +179,9 @@ stringData:
179179
BUCKET = {{ .Values.global.infra.invoice.bucket }}
180180
PREFIX = {{ .Values.global.infra.invoice.prefix }}
181181
TRACKER_EMAIL = {{ .Values.global.infra.invoice.trackerEmail }}
182+
{{- end }}
183+
184+
{{- if eq .Values.global.platform.deploymentType "Hosted" }}
182185

183186
[contract]
184187
BUCKET = {{ .Values.settings.contract.bucket }}

charts/ace/templates/platform/setup-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ stringData:
1313
nats:
1414
exports: true
1515
reloadNatsAccounts: true
16-
{{- if and .Release.IsInstall (eq .Values.global.platform.deploymentType "Hosted") }}
16+
{{- if and .Release.IsInstall (or (eq .Values.global.platform.deploymentType "Hosted") .Values.global.platform.offlineInstaller) }}
1717
createNatsStream: true
1818
reloadPlatformAccounts: true
1919
{{- end }}

0 commit comments

Comments
 (0)