Skip to content

Commit cd28a89

Browse files
authored
Merge pull request #3 from jianxiaoguo/dev
chore(charts): remove port config
2 parents d836365 + 643a5f5 commit cd28a89

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

charts/redis/templates/redis-statefulset.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ spec:
3232
memory: {{.Values.limits_memory}}
3333
{{- end}}
3434
{{- end}}
35-
command: ["/bin/boot", "--port", "{{.Values.port}}"]
35+
command: ["/bin/boot", "--port", "6379"]
3636
ports:
37-
- containerPort: {{.Values.port}}
37+
- containerPort: 6379
3838
volumeMounts:
3939
- name: redis-creds
4040
mountPath: /var/run/secrets/drycc/redis/creds

charts/redis/templates/redis-svc.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ spec:
1010
selector:
1111
app: drycc-redis
1212
ports:
13-
- port: {{.Values.port}}
13+
- port: 6379
1414
{{- end }}

charts/redis/values.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ global:
1515

1616
# The following parameters are configured only when using an on-cluster Redis instance
1717
replicas: 1
18-
port: "6379"
1918

2019
# The following parameters are configured only when using an off-cluster Redis instance
2120
addrs: "" # A list of clusters: "127.0.0.1:7001/1,127.0.0.2:7002/1"

0 commit comments

Comments
 (0)