You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Feature Request: Generate Network Policies as YAML Files
Description
Currently, network policies are output to stdout. It would be beneficial to allow users to generate these network policies as YAML files. This can be done either by generating a single YAML file containing all network policies or by generating individual YAML files for each network policy.
Proposed Solution
Option 1: Generate a single YAML file that includes all network policies.
Option 2: Generate individual YAML files for each network policy.
Benefits
Easier management and deployment of network policies.
Simplifies the process of applying network policies using Kubernetes tools.
Improves usability and flexibility for users who need to handle network policies as files.
Use Cases
Users who prefer to store and version control network policies as files.
Automation scripts that require network policies to be in YAML format.
Simplifies the integration of network policies into CI/CD pipelines.
Example
Provide a command-line option or configuration setting to specify the output format:
--output-yaml=<file>: Outputs all network policies into a single YAML file.
--output-dir=<directory>: Outputs each network policy into individual YAML files within the specified directory.
Additional Information
Ensure the generated YAML files are compatible with Kubernetes network policy specifications.
Provide clear documentation and examples on how to use the new feature.
Request for Feedback
Please provide feedback on the proposed solution and any additional features or improvements that could enhance this functionality.
Priority: Medium
Labels: enhancement, feature request
The text was updated successfully, but these errors were encountered:
xunholy
changed the title
Allow users to output in single or multiple yaml files
feat: Allow users to output in single or multiple yaml files
May 16, 2024
Feature Request: Generate Network Policies as YAML Files
Description
Currently, network policies are output to stdout. It would be beneficial to allow users to generate these network policies as YAML files. This can be done either by generating a single YAML file containing all network policies or by generating individual YAML files for each network policy.
Proposed Solution
Benefits
Use Cases
Example
Provide a command-line option or configuration setting to specify the output format:
--output-yaml=<file>
: Outputs all network policies into a single YAML file.--output-dir=<directory>
: Outputs each network policy into individual YAML files within the specified directory.Additional Information
Request for Feedback
Please provide feedback on the proposed solution and any additional features or improvements that could enhance this functionality.
Priority: Medium
Labels: enhancement, feature request
The text was updated successfully, but these errors were encountered: