Skip to content

Commit

Permalink
be able to define service port for mcrouter (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidkarlsen authored Mar 17, 2021
1 parent 1efeb8a commit 1d541c0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/mcrouter/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
name: mcrouter
home: https://github.com/facebook/mcrouter
version: 0.1.0
version: 0.1.1
appVersion: 0.40.0
description: Mcrouter is a memcached protocol router for scaling memcached deployments.
sources:
Expand Down
2 changes: 1 addition & 1 deletion charts/mcrouter/requirements.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ dependencies:
repository: https://charts.bitnami.com/bitnami
version: 4.2.27
digest: sha256:360cfb4c94c0f91cf2743a00c6b9be26b3a4bbd172c746956b5854a4b2ea7703
generated: "2021-02-02T14:43:09.51819+01:00"
generated: "2021-03-17T14:58:45.194848+01:00"
2 changes: 1 addition & 1 deletion charts/mcrouter/templates/svc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
{{- end }}
ports:
- name: mcrouter-port
port: {{ .Values.mcrouterCommandParams.port }}
port: {{ .Values.service.port }}
targetPort: mcrouter-port
{{- if .Values.exporter.enabled }}
- name: monitoring
Expand Down
1 change: 1 addition & 0 deletions charts/mcrouter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ tolerations: []

service:
clusterIP: None
port: 5000
annotations: {}

## Parameters for the mcrouter command
Expand Down

0 comments on commit 1d541c0

Please sign in to comment.