Skip to content

Commit fee54dd

Browse files
committed
Remove SC2269s
1 parent f506527 commit fee54dd

File tree

1 file changed

+9
-15
lines changed

1 file changed

+9
-15
lines changed

bin/autogenerate-include.sh

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -114,21 +114,15 @@ if [ -z "$AUTOGENERATE_SOURCED" ]; then
114114

115115
if [ "$AUTOGENERATE_SMTP" == "true" ]; then
116116

117-
#required
118-
# shellcheck disable=SC2269
119-
SMTP_HOST="${SMTP_HOST}"
120-
# shellcheck disable=SC2269
121-
SMTP_PORT="${SMTP_PORT}"
122-
# shellcheck disable=SC2269
123-
SMTP_FROM_ADDRESS="${SMTP_FROM_ADDRESS}"
124-
# shellcheck disable=SC2269
125-
SMTP_FROM_NAME="${SMTP_FROM_NAME}"
126-
127-
#optional
128-
# shellcheck disable=SC2269
129-
SMTP_USER="${SMTP_USER}"
130-
# shellcheck disable=SC2269
131-
SMTP_PASSWORD="${SMTP_PASSWORD}"
117+
#required settings
118+
# SMTP_HOST - no default
119+
# SMTP_PORT - no default
120+
# SMTP_FROM_ADDRESS - no default
121+
# SMTP_FROM_NAME - no default
122+
123+
#optional settings
124+
# SMTP_USER - no default
125+
# SMTP_PASSWORD - no default
132126
SMTP_USER_SECRET="${SMTP_USER_SECRET:-grafana-smtp-user}"
133127
SMTP_SKIP_VERIFY="${SMTP_SKIP_VERIFY:-false}"
134128
SMTP_TLS_CERT_FILE="${SMTP_TLS_CERT_FILE:-/cert/tls.crt}"

0 commit comments

Comments
 (0)