Skip to content

Commit

Permalink
Updated charts to use v2 version of autoscaling kube API (#1428)
Browse files Browse the repository at this point in the history
* Updated charts to use v2 version of autoscaling kube API

* Fixed explorer helm chart format

* Updated config

* Added port to config
  • Loading branch information
bsgrigorov authored Oct 6, 2023
1 parent bc918de commit 28d2c49
Show file tree
Hide file tree
Showing 14 changed files with 37 additions and 35 deletions.
8 changes: 4 additions & 4 deletions charts/agents/Chart.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ dependencies:
version: 9.3.2
- name: omnirpc
repository: file://../omnirpc/
version: 0.2.7
version: 0.2.8
- name: scribe
repository: file://../scribe/
version: 0.2.12
version: 0.2.13
- name: jaeger
repository: https://jaegertracing.github.io/helm-charts
version: 0.69.1
digest: sha256:a8a1765796d6723e457bda17b02aecf0c5bcaac34cd60d0e851febd186217e77
generated: "2023-08-02T03:07:07.884124+03:00"
digest: sha256:eef6d5dc7a9673c3b5150ddf49ca4de2be5657811d7f747cc97a340c595f357f
generated: "2023-10-05T17:52:35.850465-07:00"
6 changes: 3 additions & 3 deletions charts/agents/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: 0.1.26
version: 0.1.27

# 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 @@ -29,11 +29,11 @@ dependencies:
repository: "https://charts.bitnami.com/bitnami"
condition: mysql.enabled
- name: omnirpc
version: "0.2.7"
version: "0.2.8"
repository: "file://../omnirpc/"
condition: omnirpc.enabled
- name: scribe
version: "0.2.12"
version: "0.2.13"
repository: "file://../scribe/"
condition: scribe.enabled
- name: jaeger
Expand Down
2 changes: 1 addition & 1 deletion charts/cctp/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: 0.2.0
version: 0.2.1

# 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
2 changes: 1 addition & 1 deletion charts/cctp/templates/hpa.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{- if .Values.autoscaling.enabled }}
apiVersion: autoscaling/v2beta1
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
name: {{ include "cctp.fullname" . }}
Expand Down
6 changes: 3 additions & 3 deletions charts/explorer/Chart.lock
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
dependencies:
- name: omnirpc
repository: file://../omnirpc/
version: 0.2.7
version: 0.2.8
- name: clickhouse
repository: https://sentry-kubernetes.github.io/charts
version: 3.1.3
digest: sha256:1dc2ef92672513a91b6a285960084789bf4096b0ccc2e7df45be2c3e972b6e25
generated: "2023-08-02T02:16:29.734171+03:00"
digest: sha256:eadd49d152a154074db2f1fe8280a468afb499776b613e89f56a1cbc1533b424
generated: "2023-10-05T17:53:10.926443-07:00"
4 changes: 2 additions & 2 deletions charts/explorer/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: 0.2.11
version: 0.2.13

# 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 @@ -25,7 +25,7 @@ appVersion: "1.16.0"

dependencies:
- name: omnirpc
version: "0.2.7"
version: "0.2.8"
repository: "file://../omnirpc/"
condition: omnirpc.enabled
- name: clickhouse
Expand Down
2 changes: 1 addition & 1 deletion charts/explorer/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ metadata:
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
data:
{{ toYaml .Values.files | indent 2 }}
{{ tpl (toYaml .Values.files) . | indent 2 }}
{{- end }}
2 changes: 1 addition & 1 deletion charts/explorer/templates/server_hpa.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- if .Values.server.enabled }}
{{- if .Values.server.autoscaling.enabled }}
apiVersion: autoscaling/v2beta1
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
name: {{ include "explorer.fullname" . }}
Expand Down
24 changes: 13 additions & 11 deletions charts/explorer/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ clickhouse:
storage: "30Gi"

indexer:
enabled: true
enabled: false
podAnnotations: {}
nodeSelector: {}
podSecurityContext: {}
Expand Down Expand Up @@ -176,9 +176,7 @@ server:
tolerations: []
args:
- server
- '--port=5080'
- '--scribe-url=https://scribe.interoperability.institute/graphql'
- '--address=tcp://default:clickhouse@{{ .Release.Namespace }}-clickhouse:9000'
- --config=/config/config.yaml
ports:
- name: http
containerPort: 5080
Expand Down Expand Up @@ -216,13 +214,17 @@ files:
refresh_rate: 1
scribe_url: https://scribe.interoperability.institute/graphql
rpc_url: https://rpc.interoperability.institute/confirmations/1/rpc/
http_port: 5080
db_address: tcp://default:clickhouse@{{ .Release.Namespace }}-clickhouse:9000
bridge_config_address: 0x5217c83ca75559B1f8a8803824E5b7ac233A12a1
bridge_config_chain_id: 1
chains:
- chain_id: 1
fetch_block_increment: 1000
max_goroutines: 10
contracts:
- contract_type: bridge
address: 0x2796317b0fF8538F253012862c06787Adfb8cEb6
start_block: 15930000
1:
chain_id: 1
avg_block_time: 13
get_logs_range: 256
get_logs_batch_amount: 1
fetch_block_increment: 1000
max_goroutines: 10
contracts:
bridge: 0x2796317b0fF8538F253012862c06787Adfb8cEb6
2 changes: 1 addition & 1 deletion charts/omnirpc/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: 0.2.7
version: 0.2.8

# 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
2 changes: 1 addition & 1 deletion charts/omnirpc/templates/hpa.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{- if .Values.autoscaling.enabled }}
apiVersion: autoscaling/v2beta1
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
name: {{ include "omnirpc.fullname" . }}
Expand Down
6 changes: 3 additions & 3 deletions charts/scribe/Chart.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ dependencies:
version: 9.3.2
- name: omnirpc
repository: file://../omnirpc/
version: 0.2.7
digest: sha256:e4344cf16c3e5394ff7231fa8852881c0adb57511172865c9679655decb76524
generated: "2023-08-02T02:16:11.156893+03:00"
version: 0.2.8
digest: sha256:c774c50f46900f4442e0ec3022689181be431e7018a7cdc25903129c0977fb5a
generated: "2023-10-05T17:53:22.515087-07:00"
4 changes: 2 additions & 2 deletions charts/scribe/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: 0.2.12
version: 0.2.13

# 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 @@ -29,6 +29,6 @@ dependencies:
repository: "https://charts.bitnami.com/bitnami"
condition: mysql.enabled
- name: omnirpc
version: "0.2.7"
version: "0.2.8"
repository: "file://../omnirpc/"
condition: omnirpc.enabled
2 changes: 1 addition & 1 deletion charts/scribe/templates/server_hpa.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- if .Values.server.enabled }}
{{- if .Values.server.autoscaling.enabled }}
apiVersion: autoscaling/v2beta1
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
name: {{ include "scribe.fullname" . }}
Expand Down

0 comments on commit 28d2c49

Please sign in to comment.