diff --git a/charts/backend/Chart.yaml b/charts/backend/Chart.yaml index ed9dff27b..da0572d15 100644 --- a/charts/backend/Chart.yaml +++ b/charts/backend/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 name: backend version: 2.0.9 -appVersion: v2.0.3 +appVersion: v2.0.4 kubeVersion: "^1.18.0-0" description: The StakeWise backend application. type: application diff --git a/charts/backend/templates/common-configmap.yaml b/charts/backend/templates/common-configmap.yaml index 43d164578..0a8bb1e75 100644 --- a/charts/backend/templates/common-configmap.yaml +++ b/charts/backend/templates/common-configmap.yaml @@ -9,7 +9,6 @@ data: # https://github.com/notifiers/notifiers/issues/328 USERNAME: user NETWORK: {{ .Values.commonConf.network | quote }} - ORACLES_SYNC_PERIOD_SECONDS: {{ .Values.commonConf.oraclesSyncPeriodSeconds | quote }} VALIDATOR_MAX_PENALTY_COUNT: {{ .Values.commonConf.validatorMaxPenaltyCount | quote }} UNPAID_VALIDATORS_EXIT_DELAY: {{ .Values.commonConf.unpaidValidatorsExitDelay | quote }} WEBSITE_NAME: {{ .Values.commonConf.websiteName | quote }} diff --git a/charts/backend/templates/polling-configmap.yaml b/charts/backend/templates/polling-configmap.yaml index 393a1bae1..c1244720c 100644 --- a/charts/backend/templates/polling-configmap.yaml +++ b/charts/backend/templates/polling-configmap.yaml @@ -10,6 +10,7 @@ data: IPFS_FETCH_ENDPOINTS: {{ .Values.polling.conf.ipfsFetchEndpoints }} ETH1_ENDPOINT: {{ .Values.polling.conf.eth1Endpoint | quote }} ETH2_ENDPOINT: {{ .Values.polling.conf.eth2Endpoint | quote }} + ETH2_ARCHIVE_ENDPOINT: {{ .Values.polling.conf.eth2ArchiveEndpoint | quote }} POLL_PAYMENTS_PERIOD: {{ .Values.polling.conf.pollPaymentsPeriod | quote }} POLL_ORACLES_PERIOD: {{ .Values.polling.conf.pollOraclesPeriod | quote }} POLL_SETTINGS_PERIOD: {{ .Values.polling.conf.pollSettingsPeriod | quote }} diff --git a/charts/backend/values.yaml b/charts/backend/values.yaml index 63ddab988..aabc81a5f 100644 --- a/charts/backend/values.yaml +++ b/charts/backend/values.yaml @@ -3,13 +3,12 @@ commonConf: secretKey: "" network: "mainnet" - oraclesSyncPeriodSeconds: "86400" validatorMaxPenaltyCount: "5" unpaidValidatorsExitDelay: "864000" websiteName: "StakeWise" poolPage: "https://app.stakewise.io" - soloPage: "https://solo.stakewise.io" + soloPage: "https://app.stakewise.io/solo" djangoLogLevel: "INFO" @@ -36,7 +35,7 @@ securityContext: image: repository: "europe-west4-docker.pkg.dev/stakewiselabs/private/backend" - tag: "v2.0.3" + tag: "v2.0.4" pullPolicy: IfNotPresent pullSecrets: [ ] @@ -289,6 +288,13 @@ polling: cpu: 50m memory: 100Mi + - command: "poll_stakers_rewards" + terminationGracePeriodSeconds: 180 + resources: + requests: + cpu: 50m + memory: 100Mi + conf: # Endpoints ipfsFetchEndpoints: "/dns/ipfs.infura.io/tcp/5001/https,https://gateway.pinata.cloud,http://cloudflare-ipfs.com,https://ipfs.io" @@ -296,6 +302,9 @@ polling: # NB! only prysm client currently works eth2Endpoint: "" + # Needed for syncing validator balance snapshots + eth2ArchiveEndpoint: "" + # polling periods pollPaymentsPeriod: "15" pollOraclesPeriod: "15"