Skip to content

Commit d7c844f

Browse files
config:generate
Signed-off-by: Sarah Funkhouser <147884153+golanglemonade@users.noreply.github.com>
1 parent 49f8b57 commit d7c844f

6 files changed

Lines changed: 14 additions & 0 deletions

File tree

config/.env.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ CORE_EMAIL_URLS_INVITE=""
186186
CORE_EMAIL_URLS_RESET=""
187187
CORE_EMAIL_URLS_VERIFYSUBSCRIBER=""
188188
CORE_EMAIL_URLS_VERIFYBILLING=""
189+
CORE_EMAIL_URLS_BILLING=""
189190
CORE_EMAIL_URLS_QUESTIONNAIRE=""
190191
CORE_EMAIL_TEMPLATESPATH=""
191192
CORE_SESSIONS_SIGNINGKEY="my-signing-secret"

config/config.example.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ email:
113113
supportemail: ""
114114
templatespath: ""
115115
urls:
116+
billing: ""
116117
docs: ""
117118
invite: ""
118119
product: ""

config/configmap-config-file.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -784,6 +784,13 @@ data:
784784
{{- else }}
785785
verifybilling: ""
786786
{{- end }}
787+
{{- if .Values.openlane.coreConfiguration.email.urls.billing }}
788+
billing: {{ .Values.openlane.coreConfiguration.email.urls.billing | quote }}
789+
{{- else if .Values.domain }}
790+
billing: "https://console.{{ .Values.domain }}/organization-settings/billing"
791+
{{- else }}
792+
billing: ""
793+
{{- end }}
787794
{{- if .Values.openlane.coreConfiguration.email.urls.questionnaire }}
788795
questionnaire: {{ .Values.openlane.coreConfiguration.email.urls.questionnaire | quote }}
789796
{{- else if .Values.domain }}

config/helm-values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,7 @@ coreConfiguration:
368368
reset: "" # @schema type:string
369369
verifysubscriber: "" # @schema type:string
370370
verifybilling: "" # @schema type:string
371+
billing: "" # @schema type:string
371372
questionnaire: "" # @schema type:string
372373
templatespath: "" # @schema type:string
373374
# -- Sessions config for user sessions and cookies

jsonschema/api-docs.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1165,6 +1165,7 @@ OauthProviderConfig represents the configuration for OAuth providers such as Git
11651165
|**reset**|`string`|||
11661166
|**verifysubscriber**|`string`|||
11671167
|**verifybilling**|`string`|||
1168+
|**billing**|`string`|||
11681169
|**questionnaire**|`string`|||
11691170

11701171
**Additional Properties:** not allowed

jsonschema/core.config.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -462,6 +462,9 @@
462462
"verifybilling": {
463463
"type": "string"
464464
},
465+
"billing": {
466+
"type": "string"
467+
},
465468
"questionnaire": {
466469
"type": "string"
467470
}

0 commit comments

Comments
 (0)