Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add backend config for substreams tier 1 #17

Merged
merged 2 commits into from
Jul 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions charts/firehose-antelope/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ appVersion: 0.1.0
description: A Helm chart for firehose-antelope components
name: firehose-antelope
type: application
version: 1.1.2
version: 1.1.3

dependencies:
- name: reader-node
Expand All @@ -16,7 +16,7 @@ dependencies:
version: 0.1.1
repository: file://charts/relayer
- name: substreams-tier1
version: 0.1.1
version: 0.1.2
repository: file://charts/substreams-tier1
- name: substreams-tier2
version: 0.1.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ appVersion: v1.3.2-1.0.2
description: A Helm chart for substreams-tier1
name: substreams-tier1
type: application
version: 0.1.1
version: 0.1.2
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{{- if .Values.backendConfig.enabled -}}
apiVersion: cloud.google.com/v1
kind: BackendConfig
metadata:
name: {{ .Chart.Name }}-bec-https
labels:
{{- include "substreams-tier1.labels" . | nindent 4 }}
spec:
healthCheck:
checkIntervalSec: 10
port: 9000
requestPath: /
timeoutSec: 3
type: HTTPS
timeoutSec: 86400
{{- end }}
5 changes: 3 additions & 2 deletions charts/firehose-antelope/charts/substreams-tier1/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,6 @@ service:
name: prometheus
port: 9102
targetPort: 9102
annotations:
cloud.google.com/neg: '{"ingress": true}'

livenessProbe:
# httpGet:
Expand Down Expand Up @@ -100,3 +98,6 @@ autoscaling:

nodeSelector:
role: application

backendConfig:
enabled: false