Skip to content

Commit

Permalink
chore: redis component definition nodeport env vars set default optio…
Browse files Browse the repository at this point in the history
…nal (#185)
  • Loading branch information
Y-Rookie authored Jan 4, 2024
1 parent 6adb2f8 commit d2c7474
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 d2c7474

Please sign in to comment.