Skip to content

Commit

Permalink
Update svc names (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
Svetomir Smiljkovic authored Apr 7, 2020
1 parent 8193391 commit ce579ea
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
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: v1
appVersion: latest
name: bee
version: 0.2.2
version: 0.2.3
description: Ethereum Swarm Bee Helm chart for Kubernetes
home: https://swarm.ethereum.org
icon: https://swarm-guide.readthedocs.io/en/latest/_images/swarm.png
Expand Down
2 changes: 1 addition & 1 deletion charts/bee/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ apps:
namespace: bee
description: "Ethereum Swarm Bee"
chart: "ethersphere/bee"
version: "0.2.2"
version: "0.2.3"
enabled: true
set:
replicaCount: 2
Expand Down
12 changes: 6 additions & 6 deletions charts/bee/templates/ingress-debug.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ apiVersion: extensions/v1beta1
{{- end }}
kind: Ingress
metadata:
name: {{ $fullName }}-debug-{{ $i }}
name: {{ $fullName }}-{{ $i }}-debug
labels:
{{- include "bee.labels" $root | nindent 4 }}
{{- with $root.Values.ingressDebug.annotations }}
Expand All @@ -26,9 +26,9 @@ spec:
{{- range $root.Values.ingressDebug.hosts }}
- hosts:
{{- if .domain }}
- {{ $fullName }}-debug-{{ $i }}.{{ .domain }}
- {{ $fullName }}-{{ $i }}-debug.{{ .domain }}
{{- else }}
- {{ $fullName }}-debug-{{ $i }}
- {{ $fullName }}-{{ $i }}-debug
{{- end }}
{{- if .tlsSecret }}
secretName: {{ .tlsSecret }}
Expand All @@ -38,16 +38,16 @@ spec:
rules:
{{- range $root.Values.ingressDebug.hosts }}
{{- if .domain }}
- host: {{ $fullName }}-debug-{{ $i }}.{{ .domain }}
- host: {{ $fullName }}-{{ $i }}-debug.{{ .domain }}
{{- else }}
- host: {{ $fullName }}-debug-{{ $i }}
- host: {{ $fullName }}-{{ $i }}-debug
{{- end }}
http:
paths:
{{- range .paths }}
- path: {{ . }}
backend:
serviceName: {{ $fullName }}-debug-{{ $i }}
serviceName: {{ $fullName }}-{{ $i }}-debug
servicePort: debug
{{- end }}
{{- end }}
Expand Down
2 changes: 1 addition & 1 deletion charts/bee/templates/service-debug.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
apiVersion: v1
kind: Service
metadata:
name: {{ include "bee.fullname" $root }}-debug-{{ $i }}
name: {{ include "bee.fullname" $root }}-{{ $i }}-debug
labels:
{{- include "bee.labels" $root | nindent 4 }}
pod: {{ include "bee.fullname" $root }}-{{ $i }}
Expand Down
2 changes: 1 addition & 1 deletion charts/bee/templates/service-p2p.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
apiVersion: v1
kind: Service
metadata:
name: {{ include "bee.fullname" $root }}-p2p-{{ $i }}
name: {{ include "bee.fullname" $root }}-{{ $i }}-p2p
labels:
{{- include "bee.labels" $root | nindent 4 }}
pod: {{ include "bee.fullname" $root }}-{{ $i }}
Expand Down

0 comments on commit ce579ea

Please sign in to comment.