Skip to content

Commit

Permalink
refactor: update hub-uploads to work with bundlr
Browse files Browse the repository at this point in the history
  • Loading branch information
kespinola committed Oct 8, 2023
1 parent 045676a commit 2175f70
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 9 deletions.
2 changes: 1 addition & 1 deletion charts/hub-uploads/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.2
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
4 changes: 3 additions & 1 deletion charts/hub-uploads/templates/environment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,7 @@ metadata:
data:
{{- with .Values.environment }}
PORT: {{ .port | quote }}
WEB3_UP_GATEWAY: {{ .web3UpGateway | quote }}
IRYS_GATEWAY: {{ .irysGateway | quote }}
IRYS_URL: {{ .irysUrl | quote }}
{{- end }}
{{- end }}
5 changes: 3 additions & 2 deletions charts/hub-uploads/templates/secrets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ metadata:
"helm.sh/hook": pre-install
type: Opaque
data:
WEB3_UP_KEY: {{ .entries.web3UpKey | b64enc }}
WEB3_UP_PROOF: {{ .entries.web3UpProof | b64enc }}
SOLANA_KEYPAIR: {{ .entries.solanaKeypair | b64enc }}
SOLANA_RPC_URL: {{ .entries.solanaRpcUrl | b64enc }}
{{- end }}
{{- end }}
{{- end }}
13 changes: 8 additions & 5 deletions charts/hub-uploads/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ serviceAccount:

podAnnotations: {}

podSecurityContext: {}
podSecurityContext:
{}
# fsGroup: 2000

securityContext:
Expand All @@ -46,7 +47,8 @@ serviceMonitor:
scrapeTimeout: 30s
labels: {}

resources: {}
resources:
{}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
Expand Down Expand Up @@ -89,9 +91,10 @@ affinity: {}
secrets:
enabled: true
entries:
web3UpKey: ""
web3UpProof: ""
solanaKeypair:
solanaRpcUrl:

environment:
port: "3000"
web3UpGateway: https://w3s.link/ipfs
irysUrl: https://node1.irys.xyz
irysGateway: https://gateway.irys.xyz

0 comments on commit 2175f70

Please sign in to comment.