Skip to content

Commit

Permalink
Merge pull request #164 from ethersphere/probesEnable
Browse files Browse the repository at this point in the history
  • Loading branch information
vandot authored Oct 26, 2021
2 parents 7e24cc7 + ad0a3a5 commit 0b60d2b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/bee/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
appVersion: latest
name: bee
version: 0.10.12
version: 0.10.13
kubeVersion: ">=1.15.0-0"
description: Ethereum Swarm Bee Helm chart for Kubernetes
home: https://www.ethswarm.org
Expand Down
2 changes: 2 additions & 0 deletions charts/bee/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ spec:
- containerPort: {{ int (split ":" .Values.beeConfig.p2p_addr )._1 }}
name: p2p
protocol: TCP
{{- if .Values.probesEnable }}
{{- if .Values.beeConfig.debug_api_enable }}
- containerPort: {{ int (split ":" .Values.beeConfig.debug_api_addr )._1 }}
name: debug
Expand All @@ -203,6 +204,7 @@ spec:
port: api
initialDelaySeconds: 20
{{- end }}
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
securityContext:
Expand Down
4 changes: 4 additions & 0 deletions charts/bee/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,10 @@ serviceMonitor:
# separator: /
# replacement: $1


## If you need to disable liveness and readiness probes set to false
probesEnable: true

podLabels: {}
podAnnotations: {}
## Add this annotations if you're using https://github.com/prometheus/prometheus
Expand Down

0 comments on commit 0b60d2b

Please sign in to comment.