Skip to content

Commit

Permalink
bee: fix service for ingress group
Browse files Browse the repository at this point in the history
  • Loading branch information
darkobas2 committed Oct 15, 2024
1 parent 9c68af2 commit b2097ba
Show file tree
Hide file tree
Showing 2 changed files with 23 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: 2.2.0
name: bee
version: 0.16.5
version: 0.16.6
kubeVersion: ">=1.19.0-0"
description: Ethereum Swarm Bee Helm chart for Kubernetes
home: https://www.ethswarm.org
Expand Down
22 changes: 22 additions & 0 deletions charts/bee/templates/service-gateway-proxy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,28 @@

{{- $root := . -}}

---
apiVersion: v1
kind: Service
metadata:
name: gateway-proxy-{{ include "bee.fullname" $root }}
namespace: {{ $root.Release.Namespace }}
labels:
{{- include "bee.labels" $root | nindent 4 }}
pod: {{ include "bee.fullname" $root }}
endpoint: gateway-proxy
app: {{ include "bee.name" $root }}
release: {{ $root.Release.Name }}
spec:
type: ClusterIP
ports:
- name: gateway-proxy
port: 8633
protocol: TCP
targetPort: gateway-proxy
selector:
app.kubernetes.io/instance: {{ include "bee.fullname" $root }}

{{- range $i, $e := until (int $root.Values.replicaCount) }}

---
Expand Down

0 comments on commit b2097ba

Please sign in to comment.