Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the doc link and add the example link to the cutom policy guide #378

Merged
merged 2 commits into from
Feb 13, 2024

Conversation

ramya-bangera
Copy link
Contributor

@ramya-bangera ramya-bangera commented Feb 6, 2024

  1. What this PR does / why we need it:
    Initially this check was added as the custom template creation via TMC TF provider was not supported. Now since the provider supports creation of the custom template removing this check,
    to let user create the custom template and assign it to custom policy on the fly.

  2. Which issue(s) this PR fixes

     (optional, in `fixes #<issue number>` format, will close the issue(s) when PR gets merged):
    
     Fixes #
    
  3. Additional information

  4. Special notes for your reviewer

Screenshot 2024-02-12 at 4 40 01 PM

Screenshot 2024-02-12 at 4 39 38 PM

@codecov-commenter
Copy link

codecov-commenter commented Feb 6, 2024

Codecov Report

Attention: 5 lines in your changes are missing coverage. Please review.

Comparison is base (cb65605) 25.40% compared to head (4c9b895) 25.39%.
Report is 2 commits behind head on main.

Files Patch % Lines
...ces/policy/kind/custom/recipe/tmc_custom_schema.go 0.00% 5 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #378      +/-   ##
==========================================
- Coverage   25.40%   25.39%   -0.01%     
==========================================
  Files         195      195              
  Lines       16784    16788       +4     
==========================================
  Hits         4264     4264              
- Misses      12302    12306       +4     
  Partials      218      218              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

@vmw-vjn vmw-vjn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Custom policy template and custom policy examples in doc seem to be scattered.

@ramya-bangera ramya-bangera force-pushed the bangerar/custom-policy-guide-fix branch from b2e1a59 to 13b55f9 Compare February 9, 2024 11:16
…e creation and assignment in the policy guide

Signed-off-by: Ramya Bangera <bangerar@vmware.com>
@ramya-bangera ramya-bangera force-pushed the bangerar/custom-policy-guide-fix branch from 13b55f9 to abea42c Compare February 9, 2024 11:20
…in the custom policy assignment is not found

Initially this check was added as the custom template creation via TMC TF provider was not supported. Now since the provider supports creation of the custom template removing this check,
to let user create the custom template and assign it to custom policy on the fly.

Signed-off-by: Ramya Bangera <bangerar@vmware.com>
@ramya-bangera ramya-bangera force-pushed the bangerar/custom-policy-guide-fix branch from 4c9b895 to 7df2dcd Compare February 12, 2024 11:21
@shobha2626
Copy link
Contributor

Overall LGTM, hope the doc changes are tested using the tool for doc preview

@ramya-bangera ramya-bangera merged commit 95cef99 into main Feb 13, 2024
4 checks passed
@ramya-bangera ramya-bangera deleted the bangerar/custom-policy-guide-fix branch February 13, 2024 07:08
Copy link

I'm going to lock this pull request because it has been closed for 30 days. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants