Skip to content

Commit

Permalink
Update Operator in v3 charts (#481)
Browse files Browse the repository at this point in the history
* Update Operator in v3 charts

* Fix

* Fix

* Fix

* Fix

* Increase defaults

* Update operator
  • Loading branch information
antares-sw authored Nov 24, 2023
1 parent f2b7aee commit 048f871
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 32 deletions.
5 changes: 2 additions & 3 deletions charts/web3signer-validators/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,13 @@ 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: 5.1.2

version: 5.1.3

# 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
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "v5.1.2"
appVersion: "v5.1.3"

keywords:
- ethereum
Expand Down
3 changes: 1 addition & 2 deletions charts/web3signer-validators/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,7 @@ spec:
- "--fee-recipient"
- "{{ $root.Values.suggestedFeeRecipient }}"
{{- if $root.Values.enableBuilder }}
- "--disable-builder-enabled"
- "true"
- "--disable-proposal-builder"
{{- end }}
volumeMounts:
- name: data
Expand Down
2 changes: 1 addition & 1 deletion charts/web3signer-validators/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ initImageBusybox:
cliImage:
registry: "europe-west4-docker.pkg.dev"
repository: "stakewiselabs/public/v3-operator"
tag: "v0.3.4"
tag: "v1.0.2"
pullPolicy: IfNotPresent

## Database connection string, ex. 'postgresql://username:pass@hostname/dbname'
Expand Down
8 changes: 4 additions & 4 deletions charts/web3signer/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,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: 5.0.1
version: 5.0.2

# 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 All @@ -34,6 +34,6 @@ keywords:
home: https://stakewise.io/

dependencies:
- name: common
repository: https://charts.stakewise.io/
version: 1.x.x
- name: common
repository: https://charts.stakewise.io/
version: 1.x.x
2 changes: 1 addition & 1 deletion charts/web3signer/templates/secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ stringData:
config.yaml: |
data-path: "/data/web3signer"
key-store-path: "/data/keystore"
eth2.network: {{ .Values.network }}
eth2.network: {{ .Values.global.network }}
logging: {{ .Values.loggingLevel }}
eth2.slashing-protection-enabled: true
eth2.slashing-protection-pruning-enabled: true
Expand Down
6 changes: 3 additions & 3 deletions charts/web3signer/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,15 @@ spec:
- src/main.py
- remote-db
- --network
{{ if eq .Values.network "prater"}}
{{ if eq .Values.global.network "prater"}}
- goerli
{{- else }}
- {{ .Values.network }}
- {{ .Values.global.network }}
{{- end }}
- --db-url
- {{ .Values.dbKeystoreUrl }}
- --vault
- {{ .Values.vault }}
- {{ .Values.global.vault }}
- setup-web3signer
- --encrypt-key
- {{ .Values.decryptionKey }}
Expand Down
35 changes: 17 additions & 18 deletions charts/web3signer/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ initImage:
cliImage:
registry: "europe-west4-docker.pkg.dev"
repository: "stakewiselabs/public/v3-operator"
tag: "v0.3.4"
tag: "v1.0.2"
pullPolicy: IfNotPresent

## Database connection string, ex. 'postgresql://username:pass@hostname/dbname'
Expand Down Expand Up @@ -64,7 +64,6 @@ nameOverride: ""
##
fullnameOverride: ""


## Web3Signer Settings
## ref: https://docs.web3signer.consensys.net/en/latest/Reference/CLI/CLI-Syntax/
##
Expand Down Expand Up @@ -138,12 +137,12 @@ podSecurityContext:
runAsUser: 1000

securityContext: {}
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000

service:
type: ClusterIP
Expand All @@ -153,16 +152,16 @@ service:
## ref: http://kubernetes.io/docs/user-guide/compute-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
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
# 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
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 1000m
# memory: 2048Mi
# requests:
# cpu: 500m
# memory: 1024Mi

## Node labels for pod assignment
## ref: https://kubernetes.io/docs/user-guide/node-selection/
Expand Down

0 comments on commit 048f871

Please sign in to comment.