Skip to content

Commit 045676a

Browse files
authored
Merge pull request #158 from holaplex/espi/hub-nfts/hub-uploads
Hub NFTs updated to use Hub Uploads
2 parents f66efbd + fec4fd6 commit 045676a

File tree

4 files changed

+7
-9
lines changed

4 files changed

+7
-9
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.9.1
21+
version: 0.10.0
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: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ data:
88
KAFKA_BROKERS: {{ required "must set kafka brokers" .kafkaBrokers | quote }}
99
KAFKA_USERNAME: {{ required "must set kafka username" .kafkaUsername | quote }}
1010
KAFKA_SSL: {{ required "must set kafka ssl" .kafkaSsl | quote }}
11-
IPFS_ENDPOINT: {{ required "must set ipfs endpoint" .ipfsEndpoint | quote }}
12-
NFT_STORAGE_API_ENDPOINT: {{ required "must set nft storage api endpoint" .nftStorageApiEndpoint | quote }}
11+
HUB_UPLOADS_API_ENDPOINT: {{ .hubUploadsApiEndpoint | quote }}
1312
CREDIT_SHEET: /app/credit-sheet.toml
1413
ASSET_CDN: {{ .assetCdn | quote }}
1514
REDIS_URL: {{ required "must set redis url" .redisUrl | quote }}

charts/hub-nfts/templates/secrets.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ type: Opaque
1010
data:
1111
DATABASE_URL: {{ .entries.databaseUrl | b64enc }}
1212
KAFKA_PASSWORD: {{ .entries.kafkaPassword | b64enc }}
13-
NFT_STORAGE_AUTH_TOKEN: {{ .entries.nftStorageAuthToken | b64enc }}
1413
{{- end }}
1514
{{- end }}
1615

charts/hub-nfts/values.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ serviceAccount:
3232

3333
podAnnotations: {}
3434

35-
podSecurityContext: {}
35+
podSecurityContext:
36+
{}
3637
# fsGroup: 2000
3738

3839
securityContext:
@@ -53,7 +54,8 @@ serviceMonitor:
5354
scrapeTimeout: 30s
5455
labels: {}
5556

56-
resources: {}
57+
resources:
58+
{}
5759
# We usually recommend not to specify default resources and to leave this as a conscious
5860
# choice for the user. This also increases chances charts run on environments with little
5961
# resources, such as Minikube. If you do want to specify resources, uncomment the following
@@ -103,14 +105,12 @@ secrets:
103105
entries:
104106
databaseUrl: ""
105107
kafkaPassword: ""
106-
nftStorageAuthToken: ""
107108

108109
environment:
109110
port: "3000"
110111
kafkaBrokers: "hub-eventbus-cluster-0.hub-eventbus-cluster.default.svc.cluster.local.:9093"
111112
kafkaUsername: ""
112113
kafkaSsl: false
113-
nftStorageApiEndpoint: "https://api.nft.storage"
114-
ipfsEndpoint: "https://ipfs.io/ipfs/"
115114
assetCdn: "https://assets.holaplex.tools"
116115
redisUrl: "redis://hub-nfts-redis-master:6379"
116+
hubUploadsApiEndpoint: http://hub-uploads

0 commit comments

Comments
 (0)