From b7891ec62642bd70c4a04321681d8f8a70fd4617 Mon Sep 17 00:00:00 2001 From: Vladyslav Deryhin Date: Mon, 26 Feb 2024 13:15:34 +0200 Subject: [PATCH] [blockchain] disable service links --- dysnix/bor/Chart.yaml | 2 +- dysnix/bor/templates/statefulset.yaml | 1 + dysnix/bor/values.yaml | 4 ++++ dysnix/bsc/Chart.yaml | 2 +- dysnix/bsc/templates/statefulset.yaml | 1 + dysnix/bsc/values.yaml | 4 ++++ dysnix/geth/Chart.yaml | 2 +- dysnix/geth/templates/statefulset.yaml | 1 + dysnix/geth/values.yaml | 4 ++++ dysnix/op-geth/Chart.yaml | 2 +- dysnix/op-geth/templates/statefulset.yaml | 1 + dysnix/op-geth/values.yaml | 4 ++++ 12 files changed, 24 insertions(+), 4 deletions(-) diff --git a/dysnix/bor/Chart.yaml b/dysnix/bor/Chart.yaml index 1df69043..40132b6d 100644 --- a/dysnix/bor/Chart.yaml +++ b/dysnix/bor/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: bor description: Polygon Bor execution layer node Helm chart -version: 0.0.6 +version: 0.0.7 appVersion: "1.1.0" keywords: diff --git a/dysnix/bor/templates/statefulset.yaml b/dysnix/bor/templates/statefulset.yaml index d31312eb..ed344f5c 100644 --- a/dysnix/bor/templates/statefulset.yaml +++ b/dysnix/bor/templates/statefulset.yaml @@ -22,6 +22,7 @@ spec: {{- toYaml . | nindent 8 }} {{- end }} spec: + enableServiceLinks: {{ .Values.enableServiceLinks }} terminationGracePeriodSeconds: {{ .Values.terminationGracePeriodSeconds }} serviceAccountName: {{ template "bor.serviceAccountName" . }} {{- with .Values.imagePullSecrets }} diff --git a/dysnix/bor/values.yaml b/dysnix/bor/values.yaml index 118b58bb..07ce9d35 100644 --- a/dysnix/bor/values.yaml +++ b/dysnix/bor/values.yaml @@ -43,6 +43,10 @@ securityContext: {} # runAsUser: 1000 # runAsGroup: 1000 +## By disabling we fix "Unknown config environment variable envvar=GETH_" +## Enable if your workload depends on this functionality +enableServiceLinks: false + ## Override bor container command (can be templated) command: [] diff --git a/dysnix/bsc/Chart.yaml b/dysnix/bsc/Chart.yaml index fdf60b69..f8974f30 100644 --- a/dysnix/bsc/Chart.yaml +++ b/dysnix/bsc/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 name: bsc description: Binance Smart Chain chart for Kubernetes -version: 0.6.41 +version: 0.6.42 appVersion: 1.2.15 keywords: diff --git a/dysnix/bsc/templates/statefulset.yaml b/dysnix/bsc/templates/statefulset.yaml index db52ff35..aebbd6d7 100644 --- a/dysnix/bsc/templates/statefulset.yaml +++ b/dysnix/bsc/templates/statefulset.yaml @@ -50,6 +50,7 @@ spec: controller.kubernetes.io/pod-deletion-cost: {{ .Values.podDeletionCost | quote }} {{- end }} spec: + enableServiceLinks: {{ .Values.enableServiceLinks }} serviceAccountName: {{ include "bsc.serviceAccountName" . }} {{- with .Values.securityContext }} securityContext: diff --git a/dysnix/bsc/values.yaml b/dysnix/bsc/values.yaml index 09bf879a..3b3f7dae 100644 --- a/dysnix/bsc/values.yaml +++ b/dysnix/bsc/values.yaml @@ -30,6 +30,10 @@ controller: StatefulSet # StatefulSet-specific options podManagementPolicy: OrderedReady +# By disabling we fix "Unknown config environment variable envvar=GETH_" +# Enable if your workload depends on this functionality +enableServiceLinks: false + # CloneSet-specific options minReadySeconds: 60 scaleStrategy: {} diff --git a/dysnix/geth/Chart.yaml b/dysnix/geth/Chart.yaml index 8a9bfa70..106ebb03 100644 --- a/dysnix/geth/Chart.yaml +++ b/dysnix/geth/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: geth description: Go-ethereum blockchain node Helm Chart -version: 1.0.15 +version: 1.0.16 appVersion: v1.13.10 keywords: diff --git a/dysnix/geth/templates/statefulset.yaml b/dysnix/geth/templates/statefulset.yaml index acfd5098..2fbdcae2 100644 --- a/dysnix/geth/templates/statefulset.yaml +++ b/dysnix/geth/templates/statefulset.yaml @@ -25,6 +25,7 @@ spec: {{- toYaml . | nindent 8 }} {{- end }} spec: + enableServiceLinks: {{ .Values.enableServiceLinks }} terminationGracePeriodSeconds: {{ .Values.terminationGracePeriodSeconds }} {{- with .Values.imagePullSecrets }} imagePullSecrets: diff --git a/dysnix/geth/values.yaml b/dysnix/geth/values.yaml index f318f5b0..f2b236a9 100644 --- a/dysnix/geth/values.yaml +++ b/dysnix/geth/values.yaml @@ -43,6 +43,10 @@ securityContext: {} # runAsUser: 1000 # runAsGroup: 1000 +## By disabling we fix "Unknown config environment variable envvar=GETH_" +## Enable if your workload depends on this functionality +enableServiceLinks: false + ## Override geth container command (can be templated) command: [] diff --git a/dysnix/op-geth/Chart.yaml b/dysnix/op-geth/Chart.yaml index 55e913b9..8d46bb7d 100644 --- a/dysnix/op-geth/Chart.yaml +++ b/dysnix/op-geth/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: op-geth description: Optimism op-geth execution-layer client Helm chart -version: 0.1.3 +version: 0.1.4 appVersion: v1.101305.0 keywords: diff --git a/dysnix/op-geth/templates/statefulset.yaml b/dysnix/op-geth/templates/statefulset.yaml index 3575b45c..f2b58c9a 100644 --- a/dysnix/op-geth/templates/statefulset.yaml +++ b/dysnix/op-geth/templates/statefulset.yaml @@ -23,6 +23,7 @@ spec: {{- toYaml . | nindent 8 }} {{- end }} spec: + enableServiceLinks: {{ .Values.enableServiceLinks }} terminationGracePeriodSeconds: {{ .Values.terminationGracePeriodSeconds }} {{- with .Values.imagePullSecrets }} imagePullSecrets: diff --git a/dysnix/op-geth/values.yaml b/dysnix/op-geth/values.yaml index 0642d9a7..4f1700dc 100644 --- a/dysnix/op-geth/values.yaml +++ b/dysnix/op-geth/values.yaml @@ -45,6 +45,10 @@ securityContext: # runAsUser: 1000 # runAsGroup: 1000 +## By disabling we fix "Unknown config environment variable envvar=GETH_" +## Enable if your workload depends on this functionality +enableServiceLinks: false + ## Override op-geth command (can be templated) command: []