Skip to content

Commit

Permalink
redis nodeport env vars set optional
Browse files Browse the repository at this point in the history
  • Loading branch information
Y-Rookie committed Jan 4, 2024
1 parent 6adb2f8 commit 159dd27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addons/redis/templates/componentdefinition-redis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ spec:
optional: true
nodePort:
name: redis-nodeport
option: Required
option: Optional
## if the redis Service with name suffix redis-nodeport-{0,1...} is set, the REDIS_NODE_PORT_SVC_NAME_{0,1...} will be available
- name: REDIS_NODE_PORT_SVC_NAME
valueFrom:
Expand All @@ -109,7 +109,7 @@ spec:
name: redis-nodeport
generatePodOrdinalServiceVar: true
optional: true
host: Required
host: Optional
## the username of redis sentinel for redis connection, it is optional
- name: SENTINEL_USER
valueFrom:
Expand Down

0 comments on commit 159dd27

Please sign in to comment.