Skip to content

Commit

Permalink
add missing section with quoted EOF
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoandredinis committed Feb 20, 2025
1 parent 274d568 commit 0c4b004
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/web/scripts/node-join/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -469,6 +469,10 @@ app_service:
- name: "${APP_NAME}"
uri: "${APP_URI}"
public_addr: ${APP_PUBLIC_ADDR}
EOF

# Quoting the EOF heredoc indicates to shell to treat this as a literal string and does not try to interpolate or execute anything.
cat << "EOF" >> ${TELEPORT_CONFIG_PATH}
labels:{{range $index, $line := .appServerResourceLabels}}
{{$line -}}
{{end}}
Expand Down Expand Up @@ -503,6 +507,10 @@ proxy_service:
db_service:
enabled: "yes"
resources:
EOF

# Quoting the EOF heredoc indicates to shell to treat this as a literal string and does not try to interpolate or execute anything.
cat << "EOF" >> ${TELEPORT_CONFIG_PATH}
- labels:{{range $index, $line := .db_service_resource_labels}}
{{$line -}}
{{end}}
Expand Down

0 comments on commit 0c4b004

Please sign in to comment.