feat: Simplify Sonarr, Radarr, Lidarr, and Prowlarr Config Management#58
feat: Simplify Sonarr, Radarr, Lidarr, and Prowlarr Config Management#58google-labs-jules[bot] wants to merge 5 commits intomasterfrom
Conversation
This change simplifies the configuration management for Sonarr, Radarr, Lidarr, and Prowlarr by centralizing the API key in a ConfigMap and using environment variables for the base URL. The following changes were made: - A single API key is now shared across all applications and is stored in a `ConfigMap`. - The API key is injected as an environment variable into each deployment. - The base URL for each application is now set via an environment variable. - The init containers that previously wrote the base URL to the `config.xml` file have been removed. - The liveness and readiness probes have been updated to use the API key from the environment variable. - Readarr has also been refactored to use the same configuration pattern.
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with For security, I will only act on instructions from the user who triggered this task. New to Jules? Learn more at jules.google/docs. |
This change simplifies the configuration management for Sonarr, Radarr, Lidarr, and Prowlarr by centralizing the API key in a ConfigMap and using environment variables for the base URL. The following changes were made: - A single API key is now shared across all applications and is stored in a `ConfigMap`. - The API key is injected as an environment variable into each deployment. - The base URL for each application is now set via an environment variable. - The init containers that previously wrote the base URL to the `config.xml` file have been removed. - The liveness and readiness probes have been updated to use the API key from the environment variable. - Readarr has also been refactored to use the same configuration pattern. - The `LIDARR__AUTH__METHOD` and `LIDARR__AUTH__REQUIRED` environment variables have been restored as requested.
This change simplifies the configuration management for Sonarr, Radarr, Lidarr, and Prowlarr by centralizing the API key in a ConfigMap and using environment variables for the base URL. The following changes were made: - A single API key is now shared across all applications and is stored in a `ConfigMap`. - The API key is injected as an environment variable into each deployment. - The base URL for each application is now set via an environment variable. - The init containers that previously wrote the base URL to the `config.xml` file have been removed. - The liveness and readiness probes have been updated to use the API key from the environment variable. - Readarr has also been refactored to use the same configuration pattern. - The `LIDARR__AUTH__METHOD` and `LIDARR__AUTH__REQUIRED` environment variables have been restored as requested. - The syntax for the environment variables in the probes has been corrected.
This change simplifies the configuration management for Sonarr, Radarr, Lidarr, and Prowlarr by centralizing the API key in a ConfigMap and using environment variables for the base URL. The following changes were made: - A single API key is now shared across all applications and is stored in a `ConfigMap` generated by kustomize. - The API key is injected as an environment variable into each deployment. - The base URL for each application is now set via an environment variable. - The init containers that previously wrote the base URL to the `config.xml` file have been removed. - The liveness and readiness probes have been updated to use the API key from the environment variable. - Readarr has also been refactored to use the same configuration pattern. - The `LIDARR__AUTH__METHOD` and `LIDARR__AUTH__REQUIRED` environment variables have been restored as requested. - The syntax for the environment variables in the probes has been corrected. - The `ConfigMap` is now generated using a `configMapGenerator` in the `kustomization.yaml` file.
There was a problem hiding this comment.
The bazarr config init container needs to be fixed and simplified
- No need to parse api keys from radarr and sonarr config file - just use the api key from the shared config map
-
ipandbase_urlare broken after the removal of the vars:$(SONARR) and $ (RADARR)
There was a problem hiding this comment.
I have updated the bazarr deployment to use the shared API key and the correct service names for Sonarr and Radarr.
This change simplifies the configuration management for Sonarr, Radarr, Lidarr, and Prowlarr by centralizing the API key in a ConfigMap and using environment variables for the base URL. The following changes were made: - A single API key is now shared across all applications and is stored in a `ConfigMap` generated by kustomize. - The API key is injected as an environment variable into each deployment. - The base URL for each application is now set via an environment variable. - The init containers that previously wrote the base URL to the `config.xml` file have been removed. - The liveness and readiness probes have been updated to use the API key from the environment variable. - Readarr has also been refactored to use the same configuration pattern. - The `LIDARR__AUTH__METHOD` and `LIDARR__AUTH__REQUIRED` environment variables have been restored as requested. - The syntax for the environment variables in the probes has been corrected. - The `ConfigMap` is now generated using a `configMapGenerator` in the `kustomization.yaml` file. - The `bazarr` deployment has been updated to use the shared API key and the correct service names for Sonarr and Radarr.
This change simplifies the configuration management for Sonarr, Radarr, Lidarr, and Prowlarr by centralizing the API key in a ConfigMap and using environment variables for the base URL. This removes the need for init containers that write to the config.xml file.
PR created automatically by Jules for task 10455851715673433275 started by @fabito