Skip to content

Commit

Permalink
deploy/proglog: unbreak lines as per comment in the book
Browse files Browse the repository at this point in the history
  • Loading branch information
julieta-311 committed Dec 27, 2023
1 parent d917c2f commit 5d499c7
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions deploy/proglog/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,8 @@ spec:
cat > /var/run/proglog/config.yaml <<EOD
data-dir: /var/run/proglog/data
rpc-port: {{.Values.rpcPort}}
bind-addr: \
"$HOSTNAME.proglog.{{.Release.Namespace}}.\svc.cluster.local:\
{{.Values.serfPort}}"
$([ $ID != 0 ] && echo 'start-join-addrs: \
"proglog-0.proglog.{{.Release.Namespace}}.svc.cluster.local:\
{{.Values.serfPort}}"' )
bind-addr: "$HOSTNAME.proglog.{{.Release.Namespace}}.\svc.cluster.local:\{{.Values.serfPort}}"
$([ $ID != 0 ] && echo 'start-join-addrs: \"proglog-0.proglog.{{.Release.Namespace}}.svc.cluster.local:{{.Values.serfPort}}"' )
bootstrap: $([ $ID = 0 ] && echo true || echo false )
EOD
volumeMounts:
Expand Down

0 comments on commit 5d499c7

Please sign in to comment.