-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* test remove config files * put genesis config into value file * add config in value file for balance-checker * add config in value file for bridge-history-api * fix bridge-history-api * bridge-history-fetcher * chain-monitor * coordinator-api * coordinator-cron * frontend * gas-oracle * rollup-explorer-backend * rollup-node * contracts * fix env coordinator-api * update scroll-sdk * test with dev charts * fix: add L2GETH_L1_CONTRACT_DEPLOYMENT_BLOCK on production files of bootnodes (#171) * feat: add scroll admin system (#166) * feat: add admin system * fix: update frontend config * fix: admin system add default normal user * fix: production environment * fix: test * fix: coordinator api env (#173) * coordinator-api * update scroll-sdk * test with dev charts * testing * remove config files from scroll-sdk * fix coordinator api and bump version of some charts * update the devnet makefile * bump scroll-sdk to 0.0.38 * add script to prepare config files for devnet * remove configs folder in charts * remove isStandalone value * fix missing labels on config files * add config folder for scroll-sdk only --------- Co-authored-by: Morty <[email protected]>
- Loading branch information
1 parent
a7b0d7c
commit b5089c8
Showing
108 changed files
with
914 additions
and
297 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
{{- if .Values.global.isStandalone }} | ||
--- | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: admin-system-backend-config | ||
data: | ||
{{ (.Files.Glob "configs/admin-system-backend-config.json").AsConfig | indent 2 }} | ||
admin-system-backend-config.json: | | ||
{{ .Values.scrollConfig | indent 4 }} | ||
--- | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -187,3 +187,6 @@ serviceMonitor: | |
- port: http | ||
interval: 1m | ||
scrapeTimeout: 10s | ||
|
||
scrollConfig: | | ||
{} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
global: | ||
isStandalone: true | ||
|
||
initContainers: | ||
1-check-postgres-connection: | ||
image: atkrad/wait4x:latest | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
{{- if .Values.global.isStandalone }} | ||
--- | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: admin-system-cron-config | ||
labels: | ||
{{- include "scroll-sdk.labels" $ | nindent 4 }} | ||
data: | ||
{{ (.Files.Glob "configs/admin-system-backend-config.json").AsConfig | indent 2 }} | ||
admin-system-backend-config.json: | | ||
{{ .Values.scrollConfig | indent 4 }} | ||
--- | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{{/* | ||
Expand the name of the chart. | ||
*/}} | ||
{{- define "scroll-sdk.name" -}} | ||
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }} | ||
{{- end }} | ||
{{/* | ||
Create a default fully qualified app name. | ||
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). | ||
If release name contains chart name it will be used as a full name. | ||
*/}} | ||
{{- define "scroll-sdk.fullname" -}} | ||
{{- if .Values.fullnameOverride }} | ||
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }} | ||
{{- else }} | ||
{{- $name := default .Chart.Name .Values.nameOverride }} | ||
{{- if contains $name .Release.Name }} | ||
{{- .Release.Name | trunc 63 | trimSuffix "-" }} | ||
{{- else }} | ||
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }} | ||
{{- end }} | ||
{{- end }} | ||
{{- end }} | ||
{{/* | ||
Create chart name and build as used by the chart label. | ||
*/}} | ||
{{- define "scroll-sdk.chart" -}} | ||
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }} | ||
{{- end }} | ||
{{/* | ||
Common labels | ||
*/}} | ||
{{- define "scroll-sdk.labels" -}} | ||
helm.sh/chart: {{ include "scroll-sdk.chart" . }} | ||
{{ include "scroll-sdk.selectorLabels" . }} | ||
{{- if .Chart.AppVersion }} | ||
app.kubernetes.io/build: {{ .Chart.AppVersion | quote }} | ||
{{- end }} | ||
app.kubernetes.io/managed-by: {{ .Release.Service }} | ||
{{- end }} | ||
{{/* | ||
Selector labels | ||
*/}} | ||
{{- define "scroll-sdk.selectorLabels" -}} | ||
app.kubernetes.io/name: {{ include "scroll-sdk.name" . }} | ||
app.kubernetes.io/instance: {{ .Release.Name }} | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -97,3 +97,6 @@ serviceMonitor: | |
- port: http | ||
interval: 1m | ||
scrapeTimeout: 10s | ||
|
||
scrollConfig: | | ||
{} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
global: | ||
isStandalone: true | ||
|
||
initContainers: | ||
1-check-postgres-connection: | ||
image: atkrad/wait4x:latest | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
global: | ||
isStandalone: true | ||
|
||
ingress: | ||
main: | ||
ingressClassName: "nginx" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
{{- if .Values.global.isStandalone }} | ||
--- | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: balance-checker-config | ||
labels: | ||
{{- include "scroll-sdk.labels" $ | nindent 4 }} | ||
data: | ||
{{ (.Files.Glob "configs/balance-checker-config.json").AsConfig | indent 2 }} | ||
--- | ||
{{- end }} | ||
balance-checker-config.json : | | ||
{{ .Values.scrollConfig | nindent 4 }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{{/* | ||
Expand the name of the chart. | ||
*/}} | ||
{{- define "scroll-sdk.name" -}} | ||
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }} | ||
{{- end }} | ||
{{/* | ||
Create a default fully qualified app name. | ||
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). | ||
If release name contains chart name it will be used as a full name. | ||
*/}} | ||
{{- define "scroll-sdk.fullname" -}} | ||
{{- if .Values.fullnameOverride }} | ||
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }} | ||
{{- else }} | ||
{{- $name := default .Chart.Name .Values.nameOverride }} | ||
{{- if contains $name .Release.Name }} | ||
{{- .Release.Name | trunc 63 | trimSuffix "-" }} | ||
{{- else }} | ||
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }} | ||
{{- end }} | ||
{{- end }} | ||
{{- end }} | ||
{{/* | ||
Create chart name and build as used by the chart label. | ||
*/}} | ||
{{- define "scroll-sdk.chart" -}} | ||
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }} | ||
{{- end }} | ||
{{/* | ||
Common labels | ||
*/}} | ||
{{- define "scroll-sdk.labels" -}} | ||
helm.sh/chart: {{ include "scroll-sdk.chart" . }} | ||
{{ include "scroll-sdk.selectorLabels" . }} | ||
{{- if .Chart.AppVersion }} | ||
app.kubernetes.io/build: {{ .Chart.AppVersion | quote }} | ||
{{- end }} | ||
app.kubernetes.io/managed-by: {{ .Release.Service }} | ||
{{- end }} | ||
{{/* | ||
Selector labels | ||
*/}} | ||
{{- define "scroll-sdk.selectorLabels" -}} | ||
app.kubernetes.io/name: {{ include "scroll-sdk.name" . }} | ||
app.kubernetes.io/instance: {{ .Release.Name }} | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -107,3 +107,6 @@ serviceMonitor: | |
- port: metrics | ||
interval: 1m | ||
scrapeTimeout: 10s | ||
|
||
scrollConfig: | | ||
{} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
global: | ||
isStandalone: true | ||
|
||
configMaps: | ||
env: | ||
enabled: true | ||
data: | ||
SCROLL_L1_RPC: "" | ||
|
||
scrollConfig: | | ||
{} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
{{- if .Values.global.isStandalone }} | ||
--- | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: bridge-history-api-config | ||
labels: | ||
{{- include "scroll-sdk.labels" $ | nindent 4 }} | ||
data: | ||
{{ (.Files.Glob "configs/bridge-history-config.json").AsConfig | indent 2 }} | ||
--- | ||
{{- end }} | ||
bridge-history-api-config.json: | | ||
{{ .Values.scrollConfig | indent 4 }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{{/* | ||
Expand the name of the chart. | ||
*/}} | ||
{{- define "scroll-sdk.name" -}} | ||
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }} | ||
{{- end }} | ||
{{/* | ||
Create a default fully qualified app name. | ||
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). | ||
If release name contains chart name it will be used as a full name. | ||
*/}} | ||
{{- define "scroll-sdk.fullname" -}} | ||
{{- if .Values.fullnameOverride }} | ||
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }} | ||
{{- else }} | ||
{{- $name := default .Chart.Name .Values.nameOverride }} | ||
{{- if contains $name .Release.Name }} | ||
{{- .Release.Name | trunc 63 | trimSuffix "-" }} | ||
{{- else }} | ||
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }} | ||
{{- end }} | ||
{{- end }} | ||
{{- end }} | ||
{{/* | ||
Create chart name and build as used by the chart label. | ||
*/}} | ||
{{- define "scroll-sdk.chart" -}} | ||
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }} | ||
{{- end }} | ||
{{/* | ||
Common labels | ||
*/}} | ||
{{- define "scroll-sdk.labels" -}} | ||
helm.sh/chart: {{ include "scroll-sdk.chart" . }} | ||
{{ include "scroll-sdk.selectorLabels" . }} | ||
{{- if .Chart.AppVersion }} | ||
app.kubernetes.io/build: {{ .Chart.AppVersion | quote }} | ||
{{- end }} | ||
app.kubernetes.io/managed-by: {{ .Release.Service }} | ||
{{- end }} | ||
{{/* | ||
Selector labels | ||
*/}} | ||
{{- define "scroll-sdk.selectorLabels" -}} | ||
app.kubernetes.io/name: {{ include "scroll-sdk.name" . }} | ||
app.kubernetes.io/instance: {{ .Release.Name }} | ||
{{- end }} |
Oops, something went wrong.