fix: [CDS-105417]: harness_platform_gitops_applications resource is n… #1142
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
…ot detecting drift in application manifest
Title: [Component/Feature] Short Description of the Change
Fix harness_platform_gitops_applications resource is not detecting drift in application manifest.
Summary:
Provide a brief overview of what the PR does and why it is needed.
Issue - harness_platform_gitops_applications resource is not detecting drift in application manifest.
Root cause - ref for sources was being set which is not part of the schema. ref is only used for multisource sources.
Fix - skip setting ref for app source
Details:
Explain the changes in detail, including any relevant context or background information.
Related Issues:
Reference any related issues or tickets
Testing Instructions:
Describe how the changes were tested. Include any test cases or steps to verify the functionality.
Please include the below test scenario with your changes.
Screenshots:
Include before and after screenshots to visually demonstrate the changes.
Checklist:
PR Check triggers
trigger build
trigger subcategoryfieldcheck
trigger gitleaks