Skip to content

Commit

Permalink
Merge pull request #236 from blackphantom39/233-memcached-listen-temp…
Browse files Browse the repository at this point in the history
…late

memcached: replace ',' in $POD_IPS by space
  • Loading branch information
openshift-merge-bot[bot] authored Jun 27, 2024
2 parents ea36cdc + ec484bd commit b2883ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/memcached/config/memcached
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ USER="memcached"
MAXCONN="8192"
CACHESIZE="9932"
# explicit IP to bind to (wrap IPv6 in brackets)
LISTEN=$(echo 127.0.0.1 ::1 $POD_IPS | tr ' ' '\n' | sed 's/\(.*\):\(.*\)/[\1:\2]/' {{ .memcachedTLSListen }})
LISTEN=$(echo 127.0.0.1 ::1 $POD_IPS | tr ',' ' ' | tr ' ' '\n' | sed 's/\(.*\):\(.*\)/[\1:\2]/' {{ .memcachedTLSListen }})
OPTIONS="-l $(echo $LISTEN | tr ' ' ',') {{ .memcachedTLSOptions }} -vv"

0 comments on commit b2883ad

Please sign in to comment.