Skip to content

Commit

Permalink
fix(doc): escape dollars when used in 'cat <<EOF' block
Browse files Browse the repository at this point in the history
  • Loading branch information
thbkrkr committed Feb 27, 2024
1 parent af9618d commit 8c9d83d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,6 @@ spec:
# Do not use this if setting config.node.store.allow_mmap: false
initContainers:
- name: max-map-count-check
command: ['sh', '-c', "while true; do mmc=$(cat /proc/sys/vm/max_map_count); if [ ${mmc} -eq 262144 ]; then exit 0; fi; sleep 1; done"]
command: ['sh', '-c', "while true; do mmc=$(cat /proc/sys/vm/max_map_count); if [ \${mmc} -eq 262144 ]; then exit 0; fi; sleep 1; done"]
EOF
----
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ spec:
}
output {
elasticsearch {
hosts => [ "${QS_ES_HOSTS}" ]
user => "${QS_ES_USER}"
password => "${QS_ES_PASSWORD}"
ssl_certificate_authorities => "${QS_ES_SSL_CERTIFICATE_AUTHORITY}"
hosts => [ "\${QS_ES_HOSTS}" ]
user => "\${QS_ES_USER}"
password => "\${QS_ES_PASSWORD}"
ssl_certificate_authorities => "\${QS_ES_SSL_CERTIFICATE_AUTHORITY}"
}
}
services:
Expand Down

0 comments on commit 8c9d83d

Please sign in to comment.