Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cleanup portable resource API routes (#6687)
# Description This removes references to the old portable resource API route registration ## Type of change <!-- Please select **one** of the following options that describes your change and delete the others. Clearly identifying the type of change you are making will help us review your PR faster, and is used in authoring release notes. If you are making a bug fix or functionality change to Radius and do not have an associated issue link please create one now. --> - This pull request is a minor refactor, code cleanup, test improvement, or other maintenance task and doesn't change the functionality of Radius #6269 <!-- Please update the following to link the associated issue. This is required for some kinds of changes (see above). --> Fixes: #6269 ## Auto-generated summary <!-- GitHub Copilot for docs will auto-generate a summary of the PR --> <!-- copilot:all --> ### <samp>🤖 Generated by Copilot at 07ad71e</samp> ### Summary 🗑️📦🛠️ <!-- 1. 🗑️ - This emoji represents the removal of unused or unnecessary code or files, such as the flag and the configmap. 2. 📦 - This emoji represents the packaging or embedding of the portable resource configuration in the host options, making it easier to deploy and manage the service. 3. 🛠️ - This emoji represents the improvement or simplification of the service by using the new configuration mechanism. --> This pull request embeds the portable resource configuration in the host options of the applications-rp service. It removes the `--portableresource-config` flag and the `portableresource-*.yaml` files from the code, the launch configuration, and the Helm chart templates. This simplifies the service configuration and deployment. > _No more flags of doom, no more files of despair_ > _We embed the power in the host, we unleash the portable resource_ > _We simplify the service, we remove the obsolete code_ > _We are the applications-rp, we are the masters of the helm_ ### Walkthrough * Remove `--portableresource-config` flag and related variables from applications-rp service ([link](https://github.com/radius-project/radius/pull/6687/files?diff=unified&w=0#diff-bd5430ee7c51dc892a67b3f2829d1f5b6d223f0fd48b82322cfd45baf9f5e945L17-L18), [link](https://github.com/radius-project/radius/pull/6687/files?diff=unified&w=0#diff-667f05aa16f6dfd1d55d0ca1392411a09981560434524889a6dfe768679673fcL58-L62), [link](https://github.com/radius-project/radius/pull/6687/files?diff=unified&w=0#diff-92bd08c7c2302e12d2ceb2f7bf0a5bdd0016bb8e2eb2639588e994366e9ee841L35)) * Remove loading and assignment of portable resource configuration from environment and ETCD client in `main.go` ([link](https://github.com/radius-project/radius/pull/6687/files?diff=unified&w=0#diff-667f05aa16f6dfd1d55d0ca1392411a09981560434524889a6dfe768679673fcL92-L97), [link](https://github.com/radius-project/radius/pull/6687/files?diff=unified&w=0#diff-667f05aa16f6dfd1d55d0ca1392411a09981560434524889a6dfe768679673fcL108-L111)) * Remove portableresource-self-host.yaml file from configmaps template in Helm chart ([link](https://github.com/radius-project/radius/pull/6687/files?diff=unified&w=0#diff-58d6d96c3a9a74e33fc72e9a458a3e9f4c463287d906985725fddb0398081126L59-L108)) * Delete unused portable resource configuration files ([link](https://github.com/radius-project/radius/pull/6687/files?diff=unified&w=0#diff-5b57e9314a18299dc316a8cfec855ae859078a6b3baaf8a9d9205f4d1e26e665), [link](https://github.com/radius-project/radius/pull/6687/files?diff=unified&w=0#diff-a9312f9d13becb76eeb2cba6b9a0f78cc182ae1c203e3f3db5899f3aec534940)) --------- Signed-off-by: sk593 <[email protected]>
- Loading branch information