Skip to content

Commit

Permalink
Merge pull request #64 from holaplex/espi/hub-nfts-credit-sheet
Browse files Browse the repository at this point in the history
[NFTs] Mount credit sheet to hub nfts
  • Loading branch information
kespinola authored May 9, 2023
2 parents dbfbf3c + 7c255b1 commit ad2611a
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 5 deletions.
2 changes: 1 addition & 1 deletion charts/hub-gateway/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ type: application
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)

version: "0.13.0"
version: "0.14.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
Expand Down
6 changes: 3 additions & 3 deletions charts/hub-gateway/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ routes:
orgLookup:
enabled: true
credits:
enabled: false
enabled: true
regexUri:
- "/graphql"
- "/"
Expand All @@ -44,7 +44,7 @@ routes:
orgLookup:
enabled: true
credits:
enabled: false
enabled: true
regexUri:
- "/graphql"
- "/"
Expand All @@ -68,7 +68,7 @@ routes:
orgLookup:
enabled: true
credits:
enabled: false
enabled: true
regexUri:
- "/graphql"
- "/"
Expand Down
2 changes: 1 addition & 1 deletion charts/hub-nfts/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ 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.1.6
version: 0.2.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
Expand Down
8 changes: 8 additions & 0 deletions charts/hub-nfts/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ spec:
mountPath: /app/keypair.json
subPath: keypair.json
readOnly: true
- name: credit-sheet
mountPath: /app/credit-sheet.toml
subPath: credit-sheet.toml
readOnly: true
livenessProbe:
httpGet:
path: /health
Expand All @@ -62,6 +66,10 @@ spec:
secret:
secretName: {{ print (include "hub-nfts.fullname" .) "-keypair" }}
optional: false
- name: credit-sheet
configMap:
name: {{ required "must provide credit sheet configmap name" .Values.creditSheetName }}
optional: false
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down
1 change: 1 addition & 0 deletions charts/hub-nfts/templates/environment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ data:
KAFKA_SSL: {{ required "must set kafka ssl" .kafkaSsl | quote }}
IPFS_ENDPOINT: {{ required "must set ipfs endpoint" .ipfsEndpoint | quote }}
NFT_STORAGE_API_ENDPOINT: {{ required "must set nft storage api endpoint" .nftStorageApiEndpoint | quote }}
CREDIT_SHEET: /app/credit-sheet.toml
{{- end }}
2 changes: 2 additions & 0 deletions charts/hub-nfts/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ tolerations: []

affinity: {}

creditSheetName:

secrets:
enabled: true
entries:
Expand Down

0 comments on commit ad2611a

Please sign in to comment.