diff --git a/charts/kamu-api-server/Chart.yaml b/charts/kamu-api-server/Chart.yaml index e1154de..ca39e22 100644 --- a/charts/kamu-api-server/Chart.yaml +++ b/charts/kamu-api-server/Chart.yaml @@ -2,8 +2,8 @@ apiVersion: v2 name: kamu-api-server description: API server component of the Kamu Compute Node type: application -version: 0.16.3 -appVersion: "0.16.2" +version: 0.16.4 +appVersion: "0.16.3" home: https://kamu.dev icon: https://www.kamu.dev/images/kamu_logo_icon_bg_square.png sources: diff --git a/charts/kamu-api-server/templates/deployment.yaml b/charts/kamu-api-server/templates/deployment.yaml index bb4cd38..7a407b8 100644 --- a/charts/kamu-api-server/templates/deployment.yaml +++ b/charts/kamu-api-server/templates/deployment.yaml @@ -46,6 +46,8 @@ spec: env: - name: RUST_BACKTRACE value: "1" + - name: KAMU_PROTOCOL_SCHEME + value: {{ .Values.app.apiExternalHttpScheme | quote }} - name: KAMU_AUTH_GITHUB_CLIENT_ID value: {{ .Values.app.authGithubClientId | quote }} - name: KAMU_AUTH_GITHUB_CLIENT_SECRET diff --git a/charts/kamu-api-server/values.schema.json b/charts/kamu-api-server/values.schema.json index 09272b8..8ebe3e3 100644 --- a/charts/kamu-api-server/values.schema.json +++ b/charts/kamu-api-server/values.schema.json @@ -1,5 +1,5 @@ { - "$schema": "http://json-schema.org/schema", + "$schema": "http://json-schema.org/draft-07/schema", "type": "object", "properties": { "app": { @@ -7,6 +7,7 @@ "required": [ "config", "datasetRepositoryUrl", + "apiExternalHttpScheme", "authGithubClientId", "authGithubClientSecret", "jwtSecret" @@ -21,6 +22,9 @@ "type": "string", "format": "uri" }, + "apiExternalHttpScheme": { + "type": "string" + }, "authGithubClientId": { "type": "string" }, @@ -57,4 +61,4 @@ } } } -} +} \ No newline at end of file diff --git a/charts/kamu-api-server/values.yaml b/charts/kamu-api-server/values.yaml index ef53acf..fca8b7b 100644 --- a/charts/kamu-api-server/values.yaml +++ b/charts/kamu-api-server/values.yaml @@ -6,9 +6,14 @@ app: # TODO: generate schema for config from DTOs config: {} # TODO: Move into config file + # URL of the storage bucket for datasets (S3 or Minio) - # Example: https://api.kamu.dev/graphql + # Example: "s3://repo.example.com.us-west-2/" datasetRepositoryUrl: "" + + # Specify "https" if the application is deployed behind a TLS-terminating reverse proxy, "http" otherwise + apiExternalHttpScheme: "https" + # TODO: Move into secrets authGithubClientId: "" authGithubClientSecret: ""