From c5a4fb3720f7257d280ccfce4267937ce2f406d6 Mon Sep 17 00:00:00 2001 From: Duncan Dam Date: Wed, 3 Apr 2024 14:43:22 +0700 Subject: [PATCH] remove backend config for now --- .../charts/firehose/templates/backendconfig.yaml | 14 -------------- .../charts/firehose/values.yaml | 7 +------ .../templates/backendconfig.yaml | 16 ---------------- .../charts/substreams-tier1/values.yaml | 4 ---- 4 files changed, 1 insertion(+), 40 deletions(-) delete mode 100644 charts/firehose-antelope/charts/firehose/templates/backendconfig.yaml delete mode 100644 charts/firehose-antelope/charts/substreams-tier1/templates/backendconfig.yaml diff --git a/charts/firehose-antelope/charts/firehose/templates/backendconfig.yaml b/charts/firehose-antelope/charts/firehose/templates/backendconfig.yaml deleted file mode 100644 index d5a4981..0000000 --- a/charts/firehose-antelope/charts/firehose/templates/backendconfig.yaml +++ /dev/null @@ -1,14 +0,0 @@ -apiVersion: cloud.google.com/v1 -kind: BackendConfig -metadata: - name: firehose-bec-https - labels: - {{- include "firehose.labels" . | nindent 4 }} -spec: - healthCheck: - checkIntervalSec: 10 - port: 9000 - requestPath: / - timeoutSec: 3 - type: HTTPS - timeoutSec: 86400 \ No newline at end of file diff --git a/charts/firehose-antelope/charts/firehose/values.yaml b/charts/firehose-antelope/charts/firehose/values.yaml index e392f70..a1194cc 100644 --- a/charts/firehose-antelope/charts/firehose/values.yaml +++ b/charts/firehose-antelope/charts/firehose/values.yaml @@ -38,7 +38,7 @@ service: labels: monitoring: "true" monitor: prometheus - type: NodePort + type: ClusterIP ports: - protocol: TCP name: grpc @@ -48,11 +48,6 @@ service: name: prometheus port: 9102 targetPort: 9102 - annotations: - beta.cloud.google.com/backend-config: '{"default": "firehose-bec-https"}' - cloud.google.com/app-protocols: '{"grpc":"HTTP2"}' - cloud.google.com/neg: '{"ingress":true}' - datree.skip/SERVICE_INCORRECT_TYPE_VALUE_NODEPORT: require to be exposed livenessProbe: # httpGet: diff --git a/charts/firehose-antelope/charts/substreams-tier1/templates/backendconfig.yaml b/charts/firehose-antelope/charts/substreams-tier1/templates/backendconfig.yaml deleted file mode 100644 index 3d6fc62..0000000 --- a/charts/firehose-antelope/charts/substreams-tier1/templates/backendconfig.yaml +++ /dev/null @@ -1,16 +0,0 @@ -{{- if .Values.backendconfig.enabled -}} -apiVersion: cloud.google.com/v1 -kind: BackendConfig -metadata: - name: substreams-tier1-bec-https - labels: - {{- include "substreams-tier1.labels" . | nindent 4 }} -spec: - healthCheck: - checkIntervalSec: 10 - port: 9000 - requestPath: / - timeoutSec: 3 - type: {{ .Values.backendconfig.type }} - timeoutSec: 86400 -{{ end }} \ No newline at end of file diff --git a/charts/firehose-antelope/charts/substreams-tier1/values.yaml b/charts/firehose-antelope/charts/substreams-tier1/values.yaml index df5efa5..818588f 100644 --- a/charts/firehose-antelope/charts/substreams-tier1/values.yaml +++ b/charts/firehose-antelope/charts/substreams-tier1/values.yaml @@ -14,10 +14,6 @@ imagePullSecrets: [] nameOverride: "" fullnameOverride: "" -backendconfig: - enabled: false - type: HTTPS - statefulset: enabled: true serviceAccountName: app-data-reader