Skip to content

Commit

Permalink
add redis as chart dependency, update values and env vars template
Browse files Browse the repository at this point in the history
  • Loading branch information
mpwsh committed Sep 28, 2023
1 parent 4ace4fd commit 911e6ca
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion charts/hub-nfts/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,15 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.8.0
version: 0.9.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "0.1.0"
dependencies:
- name: redis
version: 17.8.2
repository: https://charts.bitnami.com/bitnami
condition: redis.enabled
1 change: 1 addition & 0 deletions charts/hub-nfts/templates/environment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ data:
NFT_STORAGE_API_ENDPOINT: {{ required "must set nft storage api endpoint" .nftStorageApiEndpoint | quote }}
CREDIT_SHEET: /app/credit-sheet.toml
ASSET_CDN: {{ .assetCdn | quote }}
REDIS_URL: {{ required "must set redis url" .redisUrl | quote }}
{{- end }}
6 changes: 5 additions & 1 deletion charts/hub-nfts/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@ affinity: {}

creditSheetName: ""

redis:
enabled: false

secrets:
enabled: true
entries:
Expand All @@ -109,4 +112,5 @@ environment:
kafkaSsl: false
nftStorageApiEndpoint: "https://api.nft.storage"
ipfsEndpoint: "https://ipfs.io/ipfs/"
assetCdn: https://assets.holaplex.tools
assetCdn: "https://assets.holaplex.tools"
redisUrl: "redis://nfts-redis-master:6379"

0 comments on commit 911e6ca

Please sign in to comment.