Skip to content

Commit

Permalink
kamu-api-server: handle KAMU_BASE_URL_PLATFORM (#21)
Browse files Browse the repository at this point in the history
* kamu-api-server: handle KAMU_BASE_URL_PLATFORM
* Version bump
  • Loading branch information
s373r authored Apr 9, 2024
1 parent 9be7d30 commit 90b8c11
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/kamu-api-server/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: kamu-api-server
description: API server component of the Kamu Compute Node
type: application
version: 0.18.0
appVersion: "0.18.0"
version: 0.18.1
appVersion: "0.18.1"
home: https://kamu.dev
icon: https://www.kamu.dev/images/kamu_logo_icon_bg_square.png
sources:
Expand Down
2 changes: 2 additions & 0 deletions charts/kamu-api-server/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ spec:
env:
- name: RUST_BACKTRACE
value: "1"
- name: KAMU_BASE_URL_PLATFORM
value: {{ .Values.app.apiBaseUrlPlatform | quote }}
- name: KAMU_BASE_URL_REST
value: {{ .Values.app.apiBaseUrlRest | quote }}
- name: KAMU_BASE_URL_FLIGHTSQL
Expand Down
5 changes: 5 additions & 0 deletions charts/kamu-api-server/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"authGithubClientId",
"authGithubClientSecret",
"jwtSecret",
"apiBaseUrlPlatform",
"apiBaseUrlRest",
"apiBaseUrlFlightsql"
],
Expand All @@ -23,6 +24,10 @@
"type": "string",
"format": "uri"
},
"apiBaseUrlPlatform": {
"type": "string",
"format": "uri"
},
"apiBaseUrlRest": {
"type": "string",
"format": "uri"
Expand Down
1 change: 1 addition & 0 deletions charts/kamu-api-server/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ app:
# Example: "s3://repo.example.com.us-west-2/"
datasetRepositoryUrl: ""

apiBaseUrlPlatform: ""
apiBaseUrlRest: ""
apiBaseUrlFlightsql: ""

Expand Down

0 comments on commit 90b8c11

Please sign in to comment.