Skip to content

Commit

Permalink
feat: saleor apps support setting the APL
Browse files Browse the repository at this point in the history
  • Loading branch information
JannikZed committed Jan 29, 2025
1 parent 58add09 commit aaa565e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/saleor-apps/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions charts/saleor-apps/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
3 changes: 3 additions & 0 deletions charts/saleor-apps/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ global:
# -- External Redis URL (if not using internal Redis)
redisUrl: ""


# Redis configuration
redis:
enabled: true
Expand All @@ -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
Expand Down

0 comments on commit aaa565e

Please sign in to comment.