diff --git a/charts/redis/templates/redis-statefulset.yaml b/charts/redis/templates/redis-statefulset.yaml index f86c223..30409d3 100644 --- a/charts/redis/templates/redis-statefulset.yaml +++ b/charts/redis/templates/redis-statefulset.yaml @@ -32,9 +32,9 @@ spec: memory: {{.Values.limits_memory}} {{- end}} {{- end}} - command: ["/bin/boot", "--port", "{{.Values.port}}"] + command: ["/bin/boot", "--port", "6379"] ports: - - containerPort: {{.Values.port}} + - containerPort: 6379 volumeMounts: - name: redis-creds mountPath: /var/run/secrets/drycc/redis/creds diff --git a/charts/redis/templates/redis-svc.yaml b/charts/redis/templates/redis-svc.yaml index 9e517cd..6d32a80 100644 --- a/charts/redis/templates/redis-svc.yaml +++ b/charts/redis/templates/redis-svc.yaml @@ -10,5 +10,5 @@ spec: selector: app: drycc-redis ports: - - port: {{.Values.port}} + - port: 6379 {{- end }} diff --git a/charts/redis/values.yaml b/charts/redis/values.yaml index 1ce3e6e..966fae2 100644 --- a/charts/redis/values.yaml +++ b/charts/redis/values.yaml @@ -15,7 +15,6 @@ global: # The following parameters are configured only when using an on-cluster Redis instance replicas: 1 -port: "6379" # The following parameters are configured only when using an off-cluster Redis instance addrs: "" # A list of clusters: "127.0.0.1:7001/1,127.0.0.2:7002/1"