Skip to content

Commit

Permalink
Merge pull request #60 from holaplex/espi/credits-credit-sheet
Browse files Browse the repository at this point in the history
Credit Sheet through values
  • Loading branch information
mpwsh authored May 3, 2023
2 parents 19aaab7 + 707744c commit 43693c7
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 22 deletions.
2 changes: 1 addition & 1 deletion charts/hub-credits/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.2.0
version: 0.2.1

# 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
20 changes: 1 addition & 19 deletions charts/hub-credits/templates/credit-sheet-cm.yaml
Original file line number Diff line number Diff line change
@@ -1,25 +1,7 @@
{{- with .Values.creditSheet }}
{{- if .enabled }}
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "hub-credits.fullname" $ }}-credit-sheet
data:
credit-sheet.toml: |-
[MintEdition]
solana = 5
polygon = 10
[CreateDrop]
solana = 5
polygon = 15
[RetryMint]
solana = 5
polygon = 10
[TransferAsset]
solana = 5
polygon = 10
{{- end }}
{{- end }}
{{- .Values.creditSheet | indent 4 }}
19 changes: 17 additions & 2 deletions charts/hub-credits/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,23 @@ secrets:
databaseUrl: ""
kafkaPassword: ""

creditSheet:
enabled: true
creditSheet: |-
[MintEdition]
solana = 5
polygon = 10
[CreateDrop]
solana = 5
polygon = 15
[RetryMint]
solana = 5
polygon = 10
[TransferAsset]
solana = 5
polygon = 10
environment:
logLevel: "info"
Expand Down

0 comments on commit 43693c7

Please sign in to comment.