From 509e992661d1648dc4a691e647c475af8fd925ac Mon Sep 17 00:00:00 2001 From: Pauline Date: Tue, 29 Oct 2024 16:24:24 +0000 Subject: [PATCH] Update radar-push-endpoint chart to allow backfill configuration --- charts/radar-push-endpoint/Chart.yaml | 2 +- charts/radar-push-endpoint/README.md | 3 ++- charts/radar-push-endpoint/templates/configmap.yaml | 2 +- charts/radar-push-endpoint/values.yaml | 3 +++ 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/charts/radar-push-endpoint/Chart.yaml b/charts/radar-push-endpoint/Chart.yaml index df2b7d68..bf113db3 100644 --- a/charts/radar-push-endpoint/Chart.yaml +++ b/charts/radar-push-endpoint/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 appVersion: "0.3.2" description: A Helm chart for RADAR-base Push Endpoint. REST Gateway to Kafka, for incoming data from Push or Subscription based WEB APIs. It performs authentication, authorization and content validation. For more details of the configurations, see https://github.com/RADAR-base/RADAR-PushEndpoint. name: radar-push-endpoint -version: 0.3.5 +version: 0.3.6 icon: "http://radar-base.org/wp-content/uploads/2022/09/Logo_RADAR-Base-RGB.png" sources: - https://github.com/RADAR-base/radar-helm-charts/tree/main/charts/radar-push-endpoint diff --git a/charts/radar-push-endpoint/README.md b/charts/radar-push-endpoint/README.md index 25be1a61..4ca1870f 100644 --- a/charts/radar-push-endpoint/README.md +++ b/charts/radar-push-endpoint/README.md @@ -3,7 +3,7 @@ # radar-push-endpoint [![Artifact HUB](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/radar-push-endpoint)](https://artifacthub.io/packages/helm/radar-base/radar-push-endpoint) -![Version: 0.3.5](https://img.shields.io/badge/Version-0.3.5-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.3.2](https://img.shields.io/badge/AppVersion-0.3.2-informational?style=flat-square) +![Version: 0.3.6](https://img.shields.io/badge/Version-0.3.6-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.3.2](https://img.shields.io/badge/AppVersion-0.3.2-informational?style=flat-square) A Helm chart for RADAR-base Push Endpoint. REST Gateway to Kafka, for incoming data from Push or Subscription based WEB APIs. It performs authentication, authorization and content validation. For more details of the configurations, see https://github.com/RADAR-base/RADAR-PushEndpoint. @@ -90,4 +90,5 @@ A Helm chart for RADAR-base Push Endpoint. REST Gateway to Kafka, for incoming d | garmin.userRepositoryClientId | string | `"radar_push_endpoint"` | The client ID to access the user repository if the repository requires authorization | | garmin.userRepositoryClientSecret | string | `"secret"` | The client secret to access the user repository if the repository requires authorization | | garmin.userRepositoryTokenUrl | string | `"http://management-portal:8080/managementportal/oauth/token"` | The token URL for authentication (Usually the management portal token url). Make sure to avoid trailing slash (/) in the url. | +| garmin.backfill | object | `{"enabled":true}` | Whether to enable Garmin backfill requests | | redis.url | string | `"redis://localhost:6379"` | The redis server URL. Redis is used to keep track of garmin backfill progress and any other key value properties. | diff --git a/charts/radar-push-endpoint/templates/configmap.yaml b/charts/radar-push-endpoint/templates/configmap.yaml index 984d7e18..e754e5e7 100644 --- a/charts/radar-push-endpoint/templates/configmap.yaml +++ b/charts/radar-push-endpoint/templates/configmap.yaml @@ -62,7 +62,7 @@ data: userRepositoryClientSecret: {{ .Values.garmin.userRepositoryClientSecret }} userRepositoryTokenUrl: {{ .Values.garmin.userRepositoryTokenUrl }} backfill: - enabled: true + enabled: {{ .Values.garmin.backfill.enabled }} # Redis configuration redis: # Redis URI diff --git a/charts/radar-push-endpoint/values.yaml b/charts/radar-push-endpoint/values.yaml index a79f2c9e..339110d4 100644 --- a/charts/radar-push-endpoint/values.yaml +++ b/charts/radar-push-endpoint/values.yaml @@ -257,6 +257,9 @@ garmin: userRepositoryClientSecret: "secret" # -- The token URL for authentication (Usually the management portal token url). Make sure to avoid trailing slash (/) in the url. userRepositoryTokenUrl: "http://management-portal:8080/managementportal/oauth/token" + # -- Whether to enable Garmin backfill requests + backfill: + enabled: true redis: # -- The redis server URL. Redis is used to keep track of garmin backfill progress and any other key value properties.