Skip to content

Commit 6c61361

Browse files
committed
adding new env vars to hub nfts chart
1 parent be4bc28 commit 6c61361

File tree

4 files changed

+7
-1
lines changed

4 files changed

+7
-1
lines changed

charts/hub-nfts/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ type: application
1818
# This is the chart version. This version number should be incremented each time you make changes
1919
# to the chart and its templates, including the app version.
2020
# Versions are expected to follow Semantic Versioning (https://semver.org/)
21-
version: 0.1.0
21+
version: 0.1.1
2222

2323
# This is the version number of the application being deployed. This version number should be
2424
# incremented each time you make changes to the application. Versions are not expected to

charts/hub-nfts/templates/environment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,6 @@ data:
1010
KEYPAIR_PATH: {{ required "must set key pair path" .keyPairPath | quote }}
1111
KAFKA_USERNAME: {{ required "must set kafka username" .kafkaUsername | quote }}
1212
KAFKA_SSL: {{ required "must set kafka ssl" .kafkaSsl | quote }}
13+
IPFS_ENDPOINT: {{ required "must set ipfs endpoint" .ipfsEndpoint | quote }}
14+
NFT_STORAGE_API_ENDPOINT: {{ required "must set nft storage api endpoint" .nftStorageApiEndpoint | quote }}
1315
{{- end }}

charts/hub-nfts/templates/secrets.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ type: Opaque
1010
data:
1111
DATABASE_URL: {{ .entries.databaseUrl | b64enc }}
1212
KAFKA_PASSWORD: {{ .entries.kafkaPassword | b64enc }}
13+
NFT_STORAGE_AUTH_TOKEN: {{ .entries.nftStorageAuthToken | b64enc }}
1314
---
1415
apiVersion: v1
1516
kind: Secret

charts/hub-nfts/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ secrets:
7777
entries:
7878
databaseUrl: ""
7979
kafkaPassword: ""
80+
nftStorageAuthToken: ""
8081
solanaKeyPair: |
8182
""
8283
@@ -87,3 +88,5 @@ environment:
8788
kafkaSsl: false
8889
keyPairPath: "/app/keypair.json"
8990
solanaEndpoint: "https://api.devnet.solana.com"
91+
nftStorageApiEndpoint: "https://api.nft.storage"
92+
ipfsEndpoint: "https://ipfs.io/ipfs/"

0 commit comments

Comments
 (0)