Skip to content

Commit e4282f7

Browse files
authored
Merge pull request #34310 from Sea-n/sync-coc
Sync code of conduct from cncf upstream
2 parents 1619d8b + 34311de commit e4282f7

File tree

7 files changed

+61
-34
lines changed

7 files changed

+61
-34
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ These are just guidelines, not rules. Use your best judgment, and feel free to p
99

1010
### Code of Conduct
1111

12-
Kubernetes follows the [Cloud Native Computing Foundation (CNCF) Code of Conduct](https://github.com/cncf/foundation/blob/master/code-of-conduct.md). By participating, you are expected to uphold this code. Please report unacceptable behavior to the
12+
Kubernetes follows the [Cloud Native Computing Foundation (CNCF) Code of Conduct](https://github.com/cncf/foundation/blob/main/code-of-conduct.md). By participating, you are expected to uphold this code. Please report unacceptable behavior to the
1313
[Kubernetes Code of Conduct Committee](https://github.com/kubernetes/community/tree/master/committee-code-of-conduct) <[email protected]>.
1414

1515
### Documentation and Site Decisions

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ If you need help at any point when contributing, the [New Contributor Ambassador
189189

190190
## Code of conduct
191191

192-
Participation in the Kubernetes community is governed by the [CNCF Code of Conduct](https://github.com/cncf/foundation/blob/master/code-of-conduct.md).
192+
Participation in the Kubernetes community is governed by the [CNCF Code of Conduct](https://github.com/cncf/foundation/blob/main/code-of-conduct.md).
193193

194194
## Thank you
195195

content/en/community/code-of-conduct.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ community_styles_migrated: true
88
<div class="community-section" id="cncf-code-of-conduct-intro">
99
<p>
1010
Kubernetes follows the
11-
<a href="https://github.com/cncf/foundation/blob/master/code-of-conduct.md">CNCF Code of Conduct</a>.
11+
<a href="https://github.com/cncf/foundation/blob/main/code-of-conduct.md">CNCF Code of Conduct</a>.
1212
The text of the CNCF CoC is replicated below, as of
13-
<a href="https://github.com/cncf/foundation/blob/214585e24aab747fb85c2ea44fbf4a2442e30de6/code-of-conduct.md">commit 214585e</a>.
13+
<a href="https://github.com/cncf/foundation/blob/71b12a2f8b4589788ef2d69b351a3d035c68d927/code-of-conduct.md">commit 71b12a2</a>.
1414
If you notice that this is out of date, please
1515
<a href="https://github.com/kubernetes/website/issues/new">file an issue</a>.
1616
</p>
Lines changed: 53 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,72 @@
11
<!-- Do not edit this file directly. Get the latest from
2-
https://github.com/cncf/foundation/blob/master/code-of-conduct.md -->
3-
## CNCF Community Code of Conduct v1.0
2+
https://github.com/cncf/foundation/blob/main/code-of-conduct.md -->
3+
## CNCF Community Code of Conduct v1.1
44

55
### Contributor Code of Conduct
66

7-
As contributors and maintainers of this project, and in the interest of fostering
7+
As contributors and maintainers in the CNCF community, and in the interest of fostering
88
an open and welcoming community, we pledge to respect all people who contribute
99
through reporting issues, posting feature requests, updating documentation,
1010
submitting pull requests or patches, and other activities.
1111

12-
We are committed to making participation in this project a harassment-free experience for
13-
everyone, regardless of level of experience, gender, gender identity and expression,
12+
We are committed to making participation in the CNCF community a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression,
1413
sexual orientation, disability, personal appearance, body size, race, ethnicity, age,
1514
religion, or nationality.
1615

17-
Examples of unacceptable behavior by participants include:
16+
## Scope
1817

19-
* The use of sexualized language or imagery
20-
* Personal attacks
21-
* Trolling or insulting/derogatory comments
18+
This code of conduct applies both within project spaces and in public spaces when an individual is representing the project or its community.
19+
20+
### CNCF Events
21+
22+
CNCF events, or events run by the Linux Foundation with professional events staff, are governed by the Linux Foundation [Events Code of Conduct](https://events.linuxfoundation.org/code-of-conduct/) available on the event page. This is designed to be used in conjunction with the CNCF Code of Conduct.
23+
24+
## Our Standards
25+
26+
Examples of behavior that contributes to a positive environment include:
27+
28+
* Demonstrating empathy and kindness toward other people
29+
* Being respectful of differing opinions, viewpoints, and experiences
30+
* Giving and gracefully accepting constructive feedback
31+
* Accepting responsibility and apologizing to those affected by our mistakes,
32+
and learning from the experience
33+
* Focusing on what is best not just for us as individuals, but for the
34+
overall community
35+
36+
Examples of unacceptable behavior include:
37+
38+
* The use of sexualized language or imagery, and sexual attention or
39+
advances of any kind
40+
* Trolling, insulting or derogatory comments, and personal or political attacks
2241
* Public or private harassment
23-
* Publishing other's private information, such as physical or electronic addresses,
24-
without explicit permission
25-
* Other unethical or unprofessional conduct.
26-
27-
Project maintainers have the right and responsibility to remove, edit, or reject
28-
comments, commits, code, wiki edits, issues, and other contributions that are not
29-
aligned to this Code of Conduct. By adopting this Code of Conduct, project maintainers
30-
commit themselves to fairly and consistently applying these principles to every aspect
31-
of managing this project. Project maintainers who do not follow or enforce the Code of
42+
* Publishing others' private information, such as a physical or email
43+
address, without their explicit permission
44+
* Other conduct which could reasonably be considered inappropriate in a
45+
professional setting
46+
47+
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct.
48+
By adopting this Code of Conduct, project maintainers commit themselves to fairly and consistently applying these principles to every aspect
49+
of managing this project.
50+
Project maintainers who do not follow or enforce the Code of
3251
Conduct may be permanently removed from the project team.
3352

34-
This code of conduct applies both within project spaces and in public spaces
35-
when an individual is representing the project or its community.
53+
## Reporting
3654

37-
Instances of abusive, harassing, or otherwise unacceptable behavior in Kubernetes may be reported by contacting the [Kubernetes Code of Conduct Committee](https://git.k8s.io/community/committee-code-of-conduct) via <[email protected]>. For other projects, please contact a CNCF project maintainer or our mediator, Mishi Choudhary <[email protected]>.
55+
For incidents occuring in the Kubernetes community, contact the [Kubernetes Code of Conduct Committee](https://git.k8s.io/community/committee-code-of-conduct) via <[email protected]>. You can expect a response within three business days.
3856

39-
This Code of Conduct is adapted from the Contributor Covenant
40-
(https://contributor-covenant.org), version 1.2.0, available at
41-
https://contributor-covenant.org/version/1/2/0/
57+
For other projects, please contact the CNCF staff via <[email protected]>. You can expect a response within three business days.
58+
59+
In matters that require an outside mediator, CNCF has retained Mishi Choudhary ([email protected]). Use of an outside mediator can be requested when reporting or used at CNCF staff's discretion. In general, contacting <[email protected]> directly is preferred.
60+
61+
62+
## Enforcement
4263

43-
### CNCF Events Code of Conduct
64+
The Kubernetes project's [Code of Conduct Committee](https://github.com/kubernetes/community/tree/master/committee-code-of-conduct) enforces code of conduct issues. For all other projects, the CNCF enforces code of conduct issues.
4465

45-
CNCF events are governed by the Linux Foundation [Code of Conduct](https://events.linuxfoundation.org/code-of-conduct/) available on the event page. This is designed to be compatible with the above policy and also includes more details on responding to incidents.
66+
Both bodies try to resolve incidents without punishment, but may remove people from the project or CNCF communities at their discretion.
67+
68+
## Acknowledgements
69+
70+
This Code of Conduct is adapted from the Contributor Covenant
71+
(http://contributor-covenant.org), version 2.0 available at
72+
http://contributor-covenant.org/version/2/0/code_of_conduct/

content/en/docs/contribute/advanced.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ The role of co-chair is one of service: co-chairs build contributor capacity, ha
136136
Responsibilities include:
137137

138138
- Keep SIG Docs focused on maximizing developer happiness through excellent documentation
139-
- Exemplify the [community code of conduct](https://github.com/cncf/foundation/blob/master/code-of-conduct.md) and hold SIG members accountable to it
139+
- Exemplify the [community code of conduct](https://github.com/cncf/foundation/blob/main/code-of-conduct.md) and hold SIG members accountable to it
140140
- Learn and set best practices for the SIG by updating contribution guidelines
141141
- Schedule and run SIG meetings: weekly status updates, quarterly retro/planning sessions, and others as needed
142142
- Schedule and run doc sprints at KubeCon events and other conferences
@@ -147,7 +147,7 @@ Responsibilities include:
147147

148148
To schedule and run effective meetings, these guidelines show what to do, how to do it, and why.
149149

150-
**Uphold the [community code of conduct](https://github.com/cncf/foundation/blob/master/code-of-conduct.md)**:
150+
**Uphold the [community code of conduct](https://github.com/cncf/foundation/blob/main/code-of-conduct.md)**:
151151

152152
- Hold respectful, inclusive discussions with respectful, inclusive language.
153153

content/en/docs/contribute/localization.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ For example, for German the strings live in `data/i18n/de/de.toml`, and
159159

160160
### Localize the community code of conduct
161161

162-
Open a PR against the [`cncf/foundation`](https://github.com/cncf/foundation/tree/master/code-of-conduct-languages) repository to add the code of conduct in your language.
162+
Open a PR against the [`cncf/foundation`](https://github.com/cncf/foundation/tree/main/code-of-conduct-languages) repository to add the code of conduct in your language.
163163

164164

165165
### Setting up the OWNERS files

content/en/docs/contribute/review/reviewing-prs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Before reviewing, it's a good idea to:
2727

2828
Before you start a review:
2929

30-
- Read the [CNCF Code of Conduct](https://github.com/cncf/foundation/blob/master/code-of-conduct.md) and ensure that you abide by it at all times.
30+
- Read the [CNCF Code of Conduct](https://github.com/cncf/foundation/blob/main/code-of-conduct.md) and ensure that you abide by it at all times.
3131
- Be polite, considerate, and helpful.
3232
- Comment on positive aspects of PRs as well as changes.
3333
- Be empathetic and mindful of how your review may be received.

0 commit comments

Comments
 (0)