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
fix: deduplicate resource rule scope to prevent resource overflow (#336)
## Issue
Resolves#306
## Description
If the same scope is used in 2 or more resource validation rules, all
rules after the 1st will automatically fail. The goal is to prevent
potentially reusing the same set of resources to validate 2 rules.
Two unit tests have been added to check for various cluster/scope
combos.
Copy file name to clipboardExpand all lines: README.md
+10-1Lines changed: 10 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,7 +62,16 @@ make undeploy
62
62
```
63
63
64
64
## Contributing
65
-
// TODO(user): Add detailed information on how you would like others to contribute to this project
65
+
All contributions are welcome! Feel free to reach out on the [Spectro Cloud community Slack](https://spectrocloudcommunity.slack.com/join/shared_invite/zt-g8gfzrhf-cKavsGD_myOh30K24pImLA#/shared-invite/email).
66
+
67
+
Make sure `pre-commit` is [installed](https://pre-commit.com#install).
68
+
69
+
Install the `pre-commit` scripts:
70
+
71
+
```console
72
+
pre-commit install --hook-type commit-msg
73
+
pre-commit install --hook-type pre-commit
74
+
```
66
75
67
76
### How it works
68
77
This project aims to follow the Kubernetes [Operator pattern](https://kubernetes.io/docs/concepts/extend-kubernetes/operator/).
0 commit comments