mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-15 20:20:22 +00:00
Fix typos (#2860)
* fix typo in README Signed-off-by: Kushal Beniwal <kbeniwal2305@gmail.com> * fix typo in CODE_OF_CONDUCT Signed-off-by: Kushal Beniwal <kbeniwal2305@gmail.com> * fix typo in CONTRIBUTING Signed-off-by: Kushal Beniwal <kbeniwal2305@gmail.com> * fix typo in comment Signed-off-by: Kushal Beniwal <kbeniwal2305@gmail.com> * fix typo in comment Signed-off-by: Kushal Beniwal <kbeniwal2305@gmail.com>
This commit is contained in:
parent
f6982760fc
commit
b961bb479e
5 changed files with 5 additions and 5 deletions
|
@ -33,4 +33,4 @@ when an individual is representing the project or its community.
|
||||||
|
|
||||||
Instances of abusive, harassing, or otherwise unacceptable behavior in Kubernetes may be reported by contacting the project maintainer(s).
|
Instances of abusive, harassing, or otherwise unacceptable behavior in Kubernetes may be reported by contacting the project maintainer(s).
|
||||||
|
|
||||||
This Code of Conduct is adapted from the the [CNCF Code of Conduct](https://github.com/cncf/foundation/blob/master/code-of-conduct.md) and the [Contributor Covenant](https://www.contributor-covenant.org/), [version 1.2.0](https://www.contributor-covenant.org/version/1/2/0/code-of-conduct/).
|
This Code of Conduct is adapted from the [CNCF Code of Conduct](https://github.com/cncf/foundation/blob/master/code-of-conduct.md) and the [Contributor Covenant](https://www.contributor-covenant.org/), [version 1.2.0](https://www.contributor-covenant.org/version/1/2/0/code-of-conduct/).
|
||||||
|
|
|
@ -76,7 +76,7 @@ git add .
|
||||||
git commit -s -m "Commit message"
|
git commit -s -m "Commit message"
|
||||||
```
|
```
|
||||||
|
|
||||||
The `-s` signifies that you have signed off the the commit.
|
The `-s` signifies that you have signed off the commit.
|
||||||
|
|
||||||
Go ahead and push your changes to GitHub using this command.
|
Go ahead and push your changes to GitHub using this command.
|
||||||
|
|
||||||
|
|
|
@ -48,7 +48,7 @@ Thanks for your interest in contributing to Kyverno! Here are some steps to help
|
||||||
|
|
||||||
✔ Check out the [good first issues](https://github.com/kyverno/kyverno/labels/good%20first%20issue) list. Add a comment with `/assign` to request assignment of the issue.
|
✔ Check out the [good first issues](https://github.com/kyverno/kyverno/labels/good%20first%20issue) list. Add a comment with `/assign` to request assignment of the issue.
|
||||||
|
|
||||||
✔ Checkout out the Kyverno [Community page](https://kyverno.io/community/) for other ways to get involved.
|
✔ Check out the Kyverno [Community page](https://kyverno.io/community/) for other ways to get involved.
|
||||||
|
|
||||||
## Contributors
|
## Contributors
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@ const (
|
||||||
RuleStatusPass RuleStatus = iota
|
RuleStatusPass RuleStatus = iota
|
||||||
// Fail indicates that the resource does not meet the policy rule requirements
|
// Fail indicates that the resource does not meet the policy rule requirements
|
||||||
RuleStatusFail
|
RuleStatusFail
|
||||||
// Warn indicates that the the resource does not meet the policy rule requirements, but the policy is not scored
|
// Warn indicates that the resource does not meet the policy rule requirements, but the policy is not scored
|
||||||
RuleStatusWarn
|
RuleStatusWarn
|
||||||
// Error indicates that the policy rule could not be evaluated due to a processing error, for
|
// Error indicates that the policy rule could not be evaluated due to a processing error, for
|
||||||
// example when a variable cannot be resolved in the policy rule definition. Note that variables
|
// example when a variable cannot be resolved in the policy rule definition. Note that variables
|
||||||
|
|
|
@ -581,7 +581,7 @@ func generateRulePatches(policy kyverno.ClusterPolicy, controllers string, log l
|
||||||
}
|
}
|
||||||
|
|
||||||
// the kyvernoRule holds the temporary kyverno rule struct
|
// the kyvernoRule holds the temporary kyverno rule struct
|
||||||
// each field is a pointer to the the actual object
|
// each field is a pointer to the actual object
|
||||||
// when serializing data, we would expect to drop the omitempty key
|
// when serializing data, we would expect to drop the omitempty key
|
||||||
// otherwise (without the pointer), it will be set to empty value
|
// otherwise (without the pointer), it will be set to empty value
|
||||||
// - an empty struct in this case, some may fail the schema validation
|
// - an empty struct in this case, some may fail the schema validation
|
||||||
|
|
Loading…
Add table
Reference in a new issue