Skip to content

Commit

Permalink
contracts
Browse files Browse the repository at this point in the history
  • Loading branch information
sbaizet-ledger committed Sep 20, 2024
1 parent d06846e commit 2a0be74
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 7 deletions.
2 changes: 1 addition & 1 deletion charts/contracts/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: v2
description: contracts helm charts
name: contracts
version: 0.0.6
version: 0.0.8
appVersion: v0.1.0
kubeVersion: ">=1.22.0-0"
maintainers:
Expand Down
4 changes: 3 additions & 1 deletion charts/contracts/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# contracts

![Version: 0.0.6](https://img.shields.io/badge/Version-0.0.6-informational?style=flat-square) ![AppVersion: v0.1.0](https://img.shields.io/badge/AppVersion-v0.1.0-informational?style=flat-square)
![Version: 0.0.8](https://img.shields.io/badge/Version-0.0.8-informational?style=flat-square) ![AppVersion: v0.1.0](https://img.shields.io/badge/AppVersion-v0.1.0-informational?style=flat-square)

contracts helm charts

Expand All @@ -26,6 +26,8 @@ Kubernetes: `>=1.22.0-0`
| global.isStandalone | bool | `false` | |
| image.repository | string | `"scrolltech/scroll-stack-contracts"` | |
| image.tag | string | `"deploy-v0.0.21"` | |
| scrollConfig | string | `"{}\n"` | |
| scrollConfigContracts | string | `"{}\n"` | |

----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2)
11 changes: 6 additions & 5 deletions charts/contracts/templates/config-file.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{{- if .Values.global.isStandalone }}
---
apiVersion: v1
kind: ConfigMap
metadata:
name: scroll-smart-contracts-config
labels:
{{- include "scroll-sdk.labels" $ | nindent 4 }}
data:
{{ (.Files.Glob "configs/config.toml").AsConfig | indent 2 }}
{{ (.Files.Glob "configs/config-contracts.toml").AsConfig | indent 2 }}
---
{{- end }}
config.toml: |
{{ .Values.scrollConfig | indent 4 }}
config-contracts.toml: |
{{ .Values.scrollConfigContracts | indent 4 }}
8 changes: 8 additions & 0 deletions charts/contracts/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,11 @@ image:
envFrom:
- configMapRef:
name: contracts-deployment-env

# here is the place for the config.toml file
scrollConfig: |
{}
# here is the place for the config-contracts.toml file
scrollConfigContracts: |
{}

0 comments on commit 2a0be74

Please sign in to comment.