-
Notifications
You must be signed in to change notification settings - Fork 77
observabilityRoutePolicy bugfixes #776
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
Merged
Merged
Changes from 8 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
2f79a26
Rename pullSecretMCSB.yaml to observabilityMCSB.yaml
kagreenwell cd8f243
Update observabilityRoutePolicy.yaml
kagreenwell d75e67c
Create observabilityRoutePlacement.yaml
kagreenwell 9cfb90b
Create observabilityRoutePlacementBinding.yaml
kagreenwell 16d7d3c
Update kustomization.yaml
kagreenwell 9b95306
align kube-compare CR to updated reference-cr
kagreenwell 1c0b875
handle pullSecretMCSB.yaml rename to observabilityMCSB.yaml
kagreenwell 26366ff
Handle additional observabilityRoutePlacement & Binding CRs in kube-c…
kagreenwell 70bd78d
restore appropriate config parameter to correct CR
kagreenwell File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
23 changes: 23 additions & 0 deletions
23
...ub/configuration/reference-crs-kube-compare/required/acm/observabilityRoutePlacement.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| --- | ||
| apiVersion: cluster.open-cluster-management.io/v1beta1 | ||
| kind: Placement | ||
| metadata: | ||
| name: obs-route-policy-placement | ||
| namespace: open-cluster-management-observability | ||
| annotations: | ||
| argocd.argoproj.io/sync-wave: "-25" | ||
| argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true | ||
| spec: | ||
| predicates: | ||
| - requiredClusterSelector: | ||
| labelSelector: | ||
| matchExpressions: | ||
| - key: local-cluster | ||
| operator: In | ||
| values: | ||
| - "true" | ||
| tolerations: | ||
| - key: cluster.open-cluster-management.io/unavailable | ||
| operator: Exists | ||
| - key: cluster.open-cluster-management.io/unreachable | ||
| operator: Exists |
17 changes: 17 additions & 0 deletions
17
...iguration/reference-crs-kube-compare/required/acm/observabilityRoutePlacementBinding.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| --- | ||
| apiVersion: policy.open-cluster-management.io/v1 | ||
| kind: PlacementBinding | ||
| metadata: | ||
| name: obs-route-policy-placementbinding | ||
| namespace: open-cluster-management-observability | ||
| annotations: | ||
| argocd.argoproj.io/sync-wave: "-25" | ||
| argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true | ||
| placementRef: | ||
| name: obs-route-policy-placement | ||
| kind: Placement | ||
| apiGroup: cluster.open-cluster-management.io | ||
| subjects: | ||
| - name: obs-route-policy | ||
| kind: Policy | ||
| apiGroup: policy.open-cluster-management.io |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
23 changes: 23 additions & 0 deletions
23
telco-hub/configuration/reference-crs/required/acm/observabilityRoutePlacement.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| --- | ||
| apiVersion: cluster.open-cluster-management.io/v1beta1 | ||
| kind: Placement | ||
| metadata: | ||
| name: obs-route-policy-placement | ||
| namespace: open-cluster-management-observability | ||
| annotations: | ||
| argocd.argoproj.io/sync-wave: "-25" | ||
| argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true | ||
| spec: | ||
| predicates: | ||
| - requiredClusterSelector: | ||
| labelSelector: | ||
| matchExpressions: | ||
| - key: local-cluster | ||
| operator: In | ||
| values: | ||
| - "true" | ||
| tolerations: | ||
| - key: cluster.open-cluster-management.io/unavailable | ||
| operator: Exists | ||
| - key: cluster.open-cluster-management.io/unreachable | ||
| operator: Exists |
17 changes: 17 additions & 0 deletions
17
telco-hub/configuration/reference-crs/required/acm/observabilityRoutePlacementBinding.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| --- | ||
| apiVersion: policy.open-cluster-management.io/v1 | ||
| kind: PlacementBinding | ||
| metadata: | ||
| name: obs-route-policy-placementbinding | ||
| namespace: open-cluster-management-observability | ||
| annotations: | ||
| argocd.argoproj.io/sync-wave: "-25" | ||
| argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true | ||
| placementRef: | ||
| name: obs-route-policy-placement | ||
| kind: Placement | ||
| apiGroup: cluster.open-cluster-management.io | ||
| subjects: | ||
| - name: obs-route-policy | ||
| kind: Policy | ||
| apiGroup: policy.open-cluster-management.io |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Verify
ignore-unspecified-fieldsnow attaches toobservabilityRoutePlacementBinding.yaml.The
config:block at lines 92-93 is a sibling ofpath:on the last list item, so it now applies toobservabilityRoutePlacementBinding.yaml(line 91) rather than to whatever path previously occupied that slot (likely the removedpullSecretMCSB.yamlorobservabilityOBC.yaml). If the intent was to keepignore-unspecified-fieldson a specific resource (e.g.,observabilityMCSB.yaml), this needs to move; if the binding genuinely has unspecified fields to ignore in the live cluster, leaving it here is fine — please confirm.Possible fix if the config was intended for observabilityMCSB
📝 Committable suggestion
🤖 Prompt for AI Agents