diff --git a/charts/bee/Chart.yaml b/charts/bee/Chart.yaml index b852114..16dcc2d 100644 --- a/charts/bee/Chart.yaml +++ b/charts/bee/Chart.yaml @@ -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 diff --git a/charts/bee/templates/service-gateway-proxy.yaml b/charts/bee/templates/service-gateway-proxy.yaml index a3f2efd..67cf0a8 100644 --- a/charts/bee/templates/service-gateway-proxy.yaml +++ b/charts/bee/templates/service-gateway-proxy.yaml @@ -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) }} ---