Commit Graph

917 Commits

Author SHA1 Message Date
Alexandre
8ddf0df0ce Update ha_entrypoint.sh 2026-01-16 10:29:37 +01:00
Alexandre
0dd56244ac Refactor secret resolution and environment variable handling 2026-01-15 08:48:55 +01:00
Alexandre
8965dcbea8 Refactor global variable script for clarity
Refactor script for better readability and maintainability. Update logging messages and streamline environment variable handling.
2026-01-15 08:34:54 +01:00
Alexandre
92277d5b1c Remove log notice for environment variable export
Removed notice log about exporting custom environment variables.
2026-01-14 13:52:09 +01:00
Alexandre
a92674cb4d Enhance global_var.sh with improved logging and injection
Updated logging messages and improved script structure for clarity. Added support for injecting environment variables into bash configuration files.
2026-01-14 13:51:27 +01:00
Alexandre
9bbd711162 Update 00-local_mounts.sh 2026-01-13 18:38:25 +01:00
Alexandre
3d604d4809 Ensure HOME directory exists before export 2026-01-11 08:49:57 +01:00
Alexandre
0fdff17037 Inject block into global bash configuration files
Inject block into /etc/bash.bashrc and $HOME/bash.bashrc.
2026-01-10 18:35:01 +01:00
Alexandre
0866efe4cf Implement append_unique_line function
Added a helper function to append unique lines to files.
2026-01-10 18:32:56 +01:00
Alexandre
7f56374ec1 Use mktemp_safe for temporary file generation
Replaced mktemp with mktemp_safe for safer temporary file creation.
2026-01-09 09:25:23 +01:00
Alexandre
5fbf733a68 Refactor SMB mount script for clarity and error handling
Refactor SMB mount script to improve readability and error handling. Added cleanup for credential files and enhanced logging for mount operations.
2026-01-06 17:11:28 +01:00
Alexandre
573c9721c6 Use latest bashio release in template 2025-12-30 09:23:50 +01:00
Alexandre
ea25783a73 Initialize .env in env export templates 2025-12-27 10:16:44 +01:00
Alexandre
7f10535477 Export environment variables to entrypoint scripts
Add export command for environment variables to entrypoint scripts
2025-12-27 09:44:09 +01:00
Alexandre
8945d624f5 Update 00-global_var.sh 2025-12-27 09:42:11 +01:00
Alexandre
cad5bbbc2c Check for init-adduser run file before sed commands
Add conditional check before modifying init-adduser run script.
2025-12-27 08:19:40 +01:00
Alexandre
5e784ba97d Add 'mfsymlinks' option to CIFS mount command 2025-12-13 20:03:41 +01:00
Alexandre
4944b74d5e Refactor global variable script for better handling
Refactor global variable script to improve readability and maintainability. Added support for handling secrets and environment variables more effectively.
2025-11-25 15:57:30 +01:00
Alexandre
6e635c3a76 update 2025-11-24 15:38:17 +00:00
Alexandre
27abb2144f update 2025-11-24 15:37:21 +00:00
Alexandre
05881fd101 update 2025-11-24 15:35:21 +00:00
Alexandre
d0f81bace5 update 2025-11-24 15:31:26 +00:00
Alexandre
d01ca4cc41 update 2025-11-24 15:24:30 +00:00
Alexandre
dc540a34ef update 2025-11-24 15:20:38 +00:00
Alexandre
047c8797c1 update 2025-11-24 15:16:17 +00:00
Alexandre
2bf9c0413c improve donate 2025-11-24 15:14:27 +00:00
Alexandre
2bf211bdaa Update 00-global_var.sh 2025-11-24 13:16:42 +01:00
Alexandre
ce807bdf0f Revise script notice for environment variables usage
Updated script documentation to reflect changes in environment variable handling.
2025-11-24 13:16:18 +01:00
Alexandre
5ab8baadf1 Rename config source file if '/tempenv' is empty
Rename the config source file to include '.old' extension when '/tempenv' is empty.
2025-11-24 12:34:18 +01:00
Alexandre
4b501845c5 Fix echo command to append an empty line to /tempenv 2025-11-24 12:33:15 +01:00
Alexandre
ebc9b59caa Update config.yaml handling 2025-11-22 14:00:26 +00:00
Alexandre
633f6bf5c7 Avoid message 2025-11-19 20:42:45 +01:00
alexbelgium
8353aafb36 fix: auto-fix linting issues 2025-11-09 00:33:35 +00:00
Alexandre
cdcf776339 Update deprecation warning message for environment variables 2025-11-07 20:47:39 +01:00
Alexandre
e226089cfd Enhance logging for addon options conversion
Added logging messages to inform users about environment variable conversion.
2025-11-07 09:01:21 +01:00
Alexandre
669519484f Update 01-config_yaml.sh 2025-11-07 08:55:31 +01:00
Alexandre
eee55f7112 Improve extraction of environment variables
Refactor environment variable extraction to preserve multiline values.
2025-11-06 19:36:06 +01:00
Alexandre
3b4ccf7170 Improve env_vars export handling 2025-11-06 18:52:06 +01:00
Alexandre
8e1825bef2 Add deprecation warning for environment variable setup
Added a warning about deprecated methodology for environment variables.
2025-11-06 16:35:33 +01:00
Alexandre
372355bd78 Refactor export_option function for better handling
Refactor environment variable export logic to handle array values and streamline secret detection.
2025-11-06 16:10:48 +01:00
Alexandre
1b65c15d50 Fix module list initialization in ha_automodules.sh 2025-10-18 06:46:17 +02:00
Alexandre
b7304523c5 delete 2025-10-17 16:04:42 +02:00
Alexandre
8a817c6dc4 Update ha_automodules.sh 2025-10-17 15:58:00 +02:00
Alexandre
1bc4a6bde1 Create script to load and export env vars securely
This script loads environment variables from a JSON file and secrets from a YAML file, exporting them securely while masking sensitive information.
2025-10-17 15:03:28 +02:00
alexbelgium
de0e40c2ea fix: auto-fix linting issues 2025-09-28 00:32:27 +00:00
Alexandre
1b1ea79fca Refactor SMBv1 connection handling in script 2025-09-25 11:56:41 +02:00
Alexandre
e0bc0271f6 Ensure Samba client allows SMBv1 when required 2025-09-24 15:39:13 +02:00
Alexandre
46c11ff7c0 Fix SMBv1 fallback when validating network shares 2025-09-24 14:52:25 +02:00
Alexandre
e4598f9ad6 Update ha_entrypoint.sh 2025-09-16 14:56:36 +02:00
Alexandre
cf6bc3ec12 Modify cleanup to echo message instead of removing script
Replace script removal with a message and exit.
2025-09-16 14:44:05 +02:00