kubescape / storage

Apache License 2.0
1 stars 6 forks source link

wrap profile in containers #61

Closed Daniel-GrunbergerCA closed 10 months ago

Daniel-GrunbergerCA commented 10 months ago

PR Type:

Refactoring


PR Description:

This PR refactors the ApplicationProfileSpec to support data per container. The main changes include:


PR Main Files Walkthrough:

files: `pkg/apis/softwarecomposition/types.go`: Added ApplicationProfileContainer struct and modified ApplicationProfileSpec to include Containers and InitContainers fields. `pkg/apis/softwarecomposition/v1beta1/types.go`: Added ApplicationProfileContainer struct and modified ApplicationProfileSpec to include Containers and InitContainers fields. `pkg/apis/softwarecomposition/v1beta1/zz_generated.conversion.go`: Updated conversion functions to handle the new structure of ApplicationProfileSpec. `pkg/apis/softwarecomposition/v1beta1/zz_generated.deepcopy.go`: Updated deepcopy functions to handle the new fields in ApplicationProfileSpec. `pkg/apis/softwarecomposition/zz_generated.deepcopy.go`: Updated deepcopy functions to handle the new fields in ApplicationProfileSpec. `pkg/generated/openapi/zz_generated.openapi.go`: Updated OpenAPI definitions to include the new ApplicationProfileContainer struct.

User Description:

This PR wraps ApplicationProfileSpec so that the data will be per container

https://cyberarmor-io.atlassian.net/browse/SUB-3084

codiumai-pr-agent[bot] commented 10 months ago

PR Analysis

How to use

To invoke the PR-Agent, add a comment using one of the following commands: /review [-i]: Request a review of your Pull Request. For an incremental review, which only considers changes since the last review, include the '-i' option. /describe: Modify the PR title and description based on the contents of the PR. /improve [--extended]: Suggest improvements to the code in the PR. Extended mode employs several calls, and provides a more thorough feedback. /ask \<QUESTION>: Pose a question about the PR. /update_changelog: Update the changelog based on the PR's contents.

To edit any configuration parameter from configuration.toml, add --config_path=new_value For example: /review --pr_reviewer.extra_instructions="focus on the file: ..." To list the possible configuration parameters, use the /config command.

github-actions[bot] commented 10 months ago

Summary: