Commit Graph

906 Commits

Author SHA1 Message Date
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
Alexandre
1ed9026eba Refactor ha_entrypoint.sh to simplify script execution 2025-09-16 14:40:49 +02:00
Alexandre
03a0d2d8a3 Comment out sed command in ha_entrypoint.sh 2025-09-15 16:42:45 +02:00
Alexandre
3877326185 Refactor sed command for s6-envuidgid in entrypoint script 2025-09-15 16:29:38 +02:00
Alexandre
97880a0f0c Update ha_entrypoint.sh to modify s6 commands 2025-09-15 16:16:16 +02:00
Alexandre
51d09b62f1 Fix sed command for s6-setuidgid in ha_entrypoint.sh 2025-09-15 16:05:27 +02:00
Alexandre
16108522f5 Fix sed commands in ha_entrypoint.sh 2025-09-15 15:56:18 +02:00
Alexandre
b8e0348f0d Conditionally apply s6 mods based on PID1 2025-09-15 15:52:55 +02:00
Alexandre
5241603a3e Update entrypoint to exclude cont-init.d scripts 2025-09-15 15:51:23 +02:00
Alexandre
d4ce4160a8 feat: unify s6 modifications 2025-09-15 15:49:01 +02:00
Alexandre
7daef60f6f Include /etc/cont-init.d/* in run scripts 2025-09-15 13:53:24 +02:00
Alexandre
fb96bc2bc3 Fix python-dotenv error
https://github.com/alexbelgium/hassio-addons/issues/1998#issuecomment-3274113878
2025-09-10 14:19:12 +02:00