Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
influxdata-docker
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub Mirror
influxdata
influxdata-docker
Commits
a4ba2a73
Commit
a4ba2a73
authored
2 months ago
by
Brandon Pfeifer
Browse files
Options
Downloads
Patches
Plain Diff
fix(influxdb): only substitute environment variables when running 'influxdb3'
parent
9b7081d7
Loading
Loading
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
influxdb/3.0-core/entrypoint.sh
+7
-4
7 additions, 4 deletions
influxdb/3.0-core/entrypoint.sh
influxdb/3.0-enterprise/entrypoint.sh
+7
-4
7 additions, 4 deletions
influxdb/3.0-enterprise/entrypoint.sh
with
14 additions
and
8 deletions
influxdb/3.0-core/entrypoint.sh
+
7
−
4
View file @
a4ba2a73
...
@@ -2,8 +2,11 @@
...
@@ -2,8 +2,11 @@
set
-euo
pipefail
set
-euo
pipefail
args
=(
"
${
@
}
"
)
args
=(
"
${
@
}
"
)
if
[[
"
${
1
}
"
==
influxdb3
]]
;
then
for
i
in
"
${
!args[@]
}
"
;
do
for
i
in
"
${
!args[@]
}
"
;
do
args[
${
i
}
]=
"
$(
e
cho
"
${
args
[
${
i
}
]
}
"
| envsubst
)
"
args[
i
]
=
"
$(
e
nvsubst
<<<
"
${
args
[i]
}
"
)
"
done
done
fi
exec
"
${
args
[@]
}
"
exec
"
${
args
[@]
}
"
This diff is collapsed.
Click to expand it.
influxdb/3.0-enterprise/entrypoint.sh
+
7
−
4
View file @
a4ba2a73
...
@@ -2,8 +2,11 @@
...
@@ -2,8 +2,11 @@
set
-euo
pipefail
set
-euo
pipefail
args
=(
"
${
@
}
"
)
args
=(
"
${
@
}
"
)
if
[[
"
${
1
}
"
==
influxdb3
]]
;
then
for
i
in
"
${
!args[@]
}
"
;
do
for
i
in
"
${
!args[@]
}
"
;
do
args[
${
i
}
]=
"
$(
e
cho
"
${
args
[
${
i
}
]
}
"
| envsubst
)
"
args[
i
]
=
"
$(
e
nvsubst
<<<
"
${
args
[i]
}
"
)
"
done
done
fi
exec
"
${
args
[@]
}
"
exec
"
${
args
[@]
}
"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment