From aaa565ee1c03562d2831b52d1f5a0724b63ff71c Mon Sep 17 00:00:00 2001 From: Jannik Zinkl Date: Wed, 29 Jan 2025 11:17:38 +0100 Subject: [PATCH] feat: saleor apps support setting the APL --- charts/saleor-apps/Chart.yaml | 2 +- charts/saleor-apps/templates/deployment.yaml | 2 ++ charts/saleor-apps/values.yaml | 3 +++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/charts/saleor-apps/Chart.yaml b/charts/saleor-apps/Chart.yaml index 50947b9..9af220d 100644 --- a/charts/saleor-apps/Chart.yaml +++ b/charts/saleor-apps/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: saleor-apps description: A Helm chart for deploying Saleor Apps with shared Redis type: application -version: 0.2.3 +version: 0.2.4 appVersion: "1.0.0" maintainers: - name: trieb.work diff --git a/charts/saleor-apps/templates/deployment.yaml b/charts/saleor-apps/templates/deployment.yaml index 59b2ba8..eddf346 100644 --- a/charts/saleor-apps/templates/deployment.yaml +++ b/charts/saleor-apps/templates/deployment.yaml @@ -36,6 +36,8 @@ spec: value: "0.0.0.0" - name: REDIS_URL value: {{ include "saleor-apps.redis.url" $ | quote }} + - name: APL + value: {{ $.Values.common.apl | quote }} ports: - name: http containerPort: {{ $appConfig.port }} diff --git a/charts/saleor-apps/values.yaml b/charts/saleor-apps/values.yaml index b1785dd..6e1c05e 100644 --- a/charts/saleor-apps/values.yaml +++ b/charts/saleor-apps/values.yaml @@ -7,6 +7,7 @@ global: # -- External Redis URL (if not using internal Redis) redisUrl: "" + # Redis configuration redis: enabled: true @@ -17,6 +18,8 @@ redis: # Common settings for all default marketplace apps common: + # set the APL name that should be used. Defaults to "redis", as we natively support that. Could be upstash or file as well + apl: "redis" image: registry: ghcr.io repository: trieb-work/saleor-apps