Skip to content

Commit

Permalink
[blockchain] disable service links (#290)
Browse files Browse the repository at this point in the history
  • Loading branch information
VladStarr authored Feb 26, 2024
1 parent 9623699 commit 3c596df
Show file tree
Hide file tree
Showing 12 changed files with 24 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dysnix/bor/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions dysnix/bor/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
enableServiceLinks: {{ .Values.enableServiceLinks }}
terminationGracePeriodSeconds: {{ .Values.terminationGracePeriodSeconds }}
serviceAccountName: {{ template "bor.serviceAccountName" . }}
{{- with .Values.imagePullSecrets }}
Expand Down
4 changes: 4 additions & 0 deletions dysnix/bor/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: []

Expand Down
2 changes: 1 addition & 1 deletion dysnix/bsc/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
1 change: 1 addition & 0 deletions dysnix/bsc/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 4 additions & 0 deletions dysnix/bsc/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: {}
Expand Down
2 changes: 1 addition & 1 deletion dysnix/geth/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions dysnix/geth/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
enableServiceLinks: {{ .Values.enableServiceLinks }}
terminationGracePeriodSeconds: {{ .Values.terminationGracePeriodSeconds }}
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
Expand Down
4 changes: 4 additions & 0 deletions dysnix/geth/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: []

Expand Down
2 changes: 1 addition & 1 deletion dysnix/op-geth/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions dysnix/op-geth/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
enableServiceLinks: {{ .Values.enableServiceLinks }}
terminationGracePeriodSeconds: {{ .Values.terminationGracePeriodSeconds }}
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
Expand Down
4 changes: 4 additions & 0 deletions dysnix/op-geth/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: []

Expand Down

0 comments on commit 3c596df

Please sign in to comment.