mirror of
https://gitlab.com/psuapp/psu.git
synced 2024-08-30 18:12:34 +00:00
Update FIXME comments
This commit is contained in:
parent
60c2bd1dfd
commit
ebe6e907c5
6
psu
6
psu
@ -864,7 +864,7 @@ deploy() {
|
||||
local data_prefix="{\"Name\":\"$PORTAINER_STACK_NAME\","
|
||||
local data_suffix=",\"Env\":"$stack_envvars"}"
|
||||
echo "$data_prefix$docker_compose_file_content$data_suffix" > json.tmp
|
||||
# FIXME: Hide any value of variables who end by 'PASSWORD' or 'TOKEN', for security reasons
|
||||
# FIXME: Hide any value of variables who ends by 'PASSWORD' or 'TOKEN', for security reasons
|
||||
echo_debug "Stack JSON -> $(echo $data_prefix$docker_compose_file_content$data_suffix | jq -C .)"
|
||||
|
||||
# Create stack for single Docker instance
|
||||
@ -895,7 +895,7 @@ deploy() {
|
||||
local data_prefix="{\"Name\":\"$PORTAINER_STACK_NAME\",\"SwarmID\":\"$swarm_id\","
|
||||
local data_suffix=",\"Env\":"$stack_envvars"}"
|
||||
echo "$data_prefix$docker_compose_file_content$data_suffix" > json.tmp
|
||||
# FIXME: Hide any value of variables who end by 'PASSWORD' or 'TOKEN', for security reasons
|
||||
# FIXME: Hide any value of variables who ends by 'PASSWORD' or 'TOKEN', for security reasons
|
||||
echo_debug "Stack JSON -> $(echo $data_prefix$docker_compose_file_content$data_suffix | jq -C .)"
|
||||
|
||||
# Create stack for Docker swarm
|
||||
@ -937,7 +937,7 @@ deploy() {
|
||||
local data_prefix="{\"Id\":\"$stack_id\","
|
||||
local data_suffix=",\"Env\":"$stack_envvars",\"Prune\":$PORTAINER_PRUNE}"
|
||||
echo "$data_prefix$docker_compose_file_content$data_suffix" > json.tmp
|
||||
# FIXME: Hide any value of variables who end by 'PASSWORD' or 'TOKEN', for security reasons
|
||||
# FIXME: Hide any value of variables who ends by 'PASSWORD' or 'TOKEN', for security reasons
|
||||
echo_debug "Stack JSON -> $(echo $data_prefix$docker_compose_file_content$data_suffix | jq -C .)"
|
||||
|
||||
# Update stack
|
||||
|
Loading…
Reference in New Issue
Block a user