Skip to content

Commit 389df72

Browse files
committed
rename servlet to api-syncagent, transfer copyright to KCP authors
On-behalf-of: @SAP [email protected]
1 parent 2713041 commit 389df72

File tree

147 files changed

+1457
-1924
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

147 files changed

+1457
-1924
lines changed

.gimps.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2024 The Kubermatic Kubernetes Platform contributors.
1+
# Copyright 2025 The KCP Authors.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

.golangci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2024 The Kubermatic Kubernetes Platform contributors.
1+
# Copyright 2025 The KCP Authors.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -73,8 +73,8 @@ linters-settings:
7373
importas:
7474
no-unaliased: true
7575
alias:
76-
# Servlet APIs
77-
- pkg: k8c.io/servlet/sdk/apis/(\w+)/(v[\w\d]+)
76+
# Sync Agent APIs
77+
- pkg: github.com/kcp-dev/api-syncagent/sdk/apis/(\w+)/(v[\w\d]+)
7878
alias: $1$2
7979
# Kubernetes
8080
- pkg: k8s.io/api/(\w+)/(v[\w\d]+)

.wwhrd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2024 The Kubermatic Kubernetes Platform contributors.
1+
# Copyright 2025 The KCP Authors.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

CODE_OF_CONDUCT.md

Lines changed: 76 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,83 @@
1-
# Kubermatic Community Code of Conduct
1+
This project is following the [CNCF Code of Conduct](https://github.com/cncf/foundation/blob/main/code-of-conduct.md).
22

3-
## Contributor Code of Conduct
3+
# Community Code of Conduct
44

5-
As contributors and maintainers of this project, and in the interest of fostering
6-
an open and welcoming community, we pledge to respect all people who contribute
5+
As contributors, maintainers, and participants in the CNCF community, and in the interest of fostering
6+
an open and welcoming community, we pledge to respect all people who participate or contribute
77
through reporting issues, posting feature requests, updating documentation,
8-
submitting pull requests or patches, and other activities.
8+
submitting pull requests or patches, attending conferences or events, or engaging in other community or project activities.
99

10-
We are committed to making participation in this project a harassment-free experience for
11-
everyone, regardless of level of experience, gender, gender identity and expression,
12-
sexual orientation, disability, personal appearance, body size, race, ethnicity, age,
13-
religion, or nationality.
10+
We are committed to making participation in the CNCF community a harassment-free experience for everyone, regardless of age, body size, caste, disability, ethnicity, level of experience, family status, gender, gender identity and expression, marital status, military or veteran status, nationality, personal appearance, race, religion, sexual orientation, socieconomic status, tribe, or any other dimension of diversity.
1411

15-
Examples of unacceptable behavior by participants include:
12+
## Scope
13+
14+
This code of conduct applies:
15+
* within project and community spaces,
16+
* in other spaces when an individual CNCF community participant's words or actions are directed at or are about a CNCF project, the CNCF community, or another CNCF community participant.
17+
18+
### CNCF Events
19+
20+
CNCF events that are produced 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.
21+
22+
## Our Standards
23+
24+
The CNCF Community is open, inclusive and respectful. Every member of our community has the right to have their identity respected.
25+
26+
Examples of behavior that contributes to a positive environment include but are not limited to:
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+
* Using welcoming and inclusive language
36+
37+
38+
Examples of unacceptable behavior include but are not limited to:
1639

1740
* The use of sexualized language or imagery
18-
* Personal attacks
19-
* Trolling or insulting/derogatory comments
20-
* Public or private harassment
21-
* Publishing others' private information, such as physical or electronic addresses,
22-
without explicit permission
23-
* Other unethical or unprofessional conduct.
24-
25-
Project maintainers have the right and responsibility to remove, edit, or reject
26-
comments, commits, code, wiki edits, issues, and other contributions that are not
27-
aligned to this Code of Conduct. By adopting this Code of Conduct, project maintainers
28-
commit themselves to fairly and consistently applying these principles to every aspect
29-
of managing this project. Project maintainers who do not follow or enforce the Code of
30-
Conduct may be permanently removed from the project team.
31-
32-
This code of conduct applies both within project spaces and in public spaces
33-
when an individual is representing the project or its community.
34-
35-
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the Kubermatic Conduct Committee via [email protected].
36-
37-
This Code of Conduct is adapted from the [CNCF Code of Conduct](https://github.com/cncf/foundation/blob/main/code-of-conduct.md) and [Contributor Covenant](http://contributor-covenant.org/version/1/2/0/), version 1.2.0.
41+
* Trolling, insulting or derogatory comments, and personal or political attacks
42+
* Public or private harassment in any form
43+
* Publishing others' private information, such as a physical or email
44+
address, without their explicit permission
45+
* Violence, threatening violence, or encouraging others to engage in violent behavior
46+
* Stalking or following someone without their consent
47+
* Unwelcome physical contact
48+
* Unwelcome sexual or romantic attention or advances
49+
* Other conduct which could reasonably be considered inappropriate in a
50+
professional setting
51+
52+
The following behaviors are also prohibited:
53+
* Providing knowingly false or misleading information in connection with a Code of Conduct investigation or otherwise intentionally tampering with an investigation.
54+
* Retaliating against a person because they reported an incident or provided information about an incident as a witness.
55+
56+
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.
57+
By adopting this Code of Conduct, project maintainers commit themselves to fairly and consistently applying these principles to every aspect
58+
of managing a CNCF project.
59+
Project maintainers who do not follow or enforce the Code of Conduct may be temporarily or permanently removed from the project team.
60+
61+
## Reporting
62+
63+
For incidents occurring 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.
64+
65+
For other projects, or for incidents that are project-agnostic or impact multiple CNCF projects, please contact the [CNCF Code of Conduct Committee](https://www.cncf.io/conduct/committee/) via [email protected]. Alternatively, you can contact any of the individual members of the [CNCF Code of Conduct Committee](https://www.cncf.io/conduct/committee/) to submit your report. For more detailed instructions on how to submit a report, including how to submit a report anonymously, please see our [Incident Resolution Procedures](https://www.cncf.io/conduct/procedures/). You can expect a response within three business days.
66+
67+
For incidents occurring at CNCF event that is produced by the Linux Foundation, please contact [email protected].
68+
69+
## Enforcement
70+
71+
Upon review and investigation of a reported incident, the CoC response team that has jurisdiction will determine what action is appropriate based on this Code of Conduct and its related documentation.
72+
73+
For information about which Code of Conduct incidents are handled by project leadership, which incidents are handled by the CNCF Code of Conduct Committee, and which incidents are handled by the Linux Foundation (including its events team), see our [Jurisdiction Policy](https://www.cncf.io/conduct/jurisdiction/).
74+
75+
## Amendments
76+
77+
Consistent with the CNCF Charter, any substantive changes to this Code of Conduct must be approved by the Technical Oversight Committee.
78+
79+
## Acknowledgements
80+
81+
This Code of Conduct is adapted from the Contributor Covenant
82+
(http://contributor-covenant.org), version 2.0 available at
83+
http://contributor-covenant.org/version/2/0/code_of_conduct/

CONTRIBUTING.md

Lines changed: 12 additions & 98 deletions
Original file line numberDiff line numberDiff line change
@@ -1,102 +1,16 @@
1-
# How to Contribute
1+
# Contributing to kcp
22

3-
Kubermatic projects are [Apache 2.0 licensed](LICENSE) and accept contributions via
4-
GitHub pull requests. This document outlines some of the conventions on
5-
development workflow, commit message formatting, contact points and other
6-
resources to make it easier to get your contribution accepted.
3+
We're thrilled that you're interested in contributing to kcp! Please visit our
4+
[full contributing guide](https://docs.kcp.io/kcp/main/en/CONTRIBUTING/) on our documentation site.
75

8-
## Certificate of Origin
6+
Beside that, what coverns the project and all contributions to it must follow
7+
the [kcp Project Governance](./GOVERNANCE.md).
98

10-
By contributing to this project you agree to the Developer Certificate of
11-
Origin (DCO). This document was created by the Linux Kernel community and is a
12-
simple statement that you, as a contributor, have the legal right to make the
13-
contribution. See the [DCO](DCO) file for details.
9+
From the kcp Project Governance, the following manifesto should guide the technical
10+
decisions through-out all contributions:
1411

15-
Any copyright notices in this repo should specify the authors as "the Kubermatic Developer Platform project contributors".
16-
17-
To sign your work, just add a line like this at the end of your commit message:
18-
19-
```
20-
Signed-off-by: Joe Example <[email protected]>
21-
```
22-
23-
This can easily be done with the `--signoff` option to `git commit`.
24-
25-
Note that we're requiring all commits in a PR to be signed-off. If you already created a PR, you can sign-off all existing commits by rebasing with the `--signoff` flag.
26-
27-
```
28-
git rebase --signoff origin/main
29-
```
30-
31-
By doing this you state that you can certify the following (from https://developercertificate.org/):
32-
```
33-
Developer Certificate of Origin
34-
Version 1.1
35-
36-
Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
37-
1 Letterman Drive
38-
Suite D4700
39-
San Francisco, CA, 94129
40-
41-
Everyone is permitted to copy and distribute verbatim copies of this
42-
license document, but changing it is not allowed.
43-
44-
45-
Developer's Certificate of Origin 1.1
46-
47-
By making a contribution to this project, I certify that:
48-
49-
(a) The contribution was created in whole or in part by me and I
50-
have the right to submit it under the open source license
51-
indicated in the file; or
52-
53-
(b) The contribution is based upon previous work that, to the best
54-
of my knowledge, is covered under an appropriate open source
55-
license and I have the right under that license to submit that
56-
work with modifications, whether created in whole or in part
57-
by me, under the same open source license (unless I am
58-
permitted to submit under a different license), as indicated
59-
in the file; or
60-
61-
(c) The contribution was provided directly to me by some other
62-
person who certified (a), (b) or (c) and I have not modified
63-
it.
64-
65-
(d) I understand and agree that this project and the contribution
66-
are public and that a record of the contribution (including all
67-
personal information I submit with it, including my sign-off) is
68-
maintained indefinitely and may be redistributed consistent with
69-
this project or the open source license(s) involved.
70-
```
71-
72-
## Email and Chat
73-
74-
The XXX project currently uses the general Kubermatic email list and Slack channel:
75-
- Email: [kubermatic-dev](https://groups.google.com/forum/#!forum/kubermatic-dev)
76-
- Slack: #[Slack](http://slack.kubermatic.io/) on Slack
77-
78-
Please avoid emailing maintainers found in the MAINTAINERS file directly. They
79-
are very busy and read the mailing lists.
80-
81-
## Reporting a security vulnerability
82-
83-
Due to their public nature, GitHub and mailing lists are not appropriate places for reporting vulnerabilities. If you suspect you have found a security vulnerability, please do not file a GitHub issue, but instead email [email protected] with the full details, including steps to reproduce the issue.
84-
85-
## Getting Started
86-
87-
- Fork the repository on GitHub
88-
- Read the [README](README.md) for build and test instructions
89-
- Play with the project, submit bugs, submit patches!
90-
91-
### Contribution Flow
92-
93-
This is a rough outline of what a contributor's workflow looks like:
94-
95-
- Create a topic branch from where you want to base your work (usually main).
96-
- Make commits of logical units.
97-
- Make sure your commit messages are in the proper format (see below).
98-
- Push your changes to a topic branch in your fork of the repository.
99-
- Make sure the tests pass, and add any new tests as appropriate.
100-
- Submit a pull request to the original repository.
101-
102-
Thanks for your contributions!
12+
> kcp maintainers strive to be good citizens in the Kubernetes project.
13+
> kcp maintainers see kcp always as part of the Kubernetes ecosystem and always strive to keep that ecosystem united. In particular, this means:
14+
> - kcp strives to not divert from Kubernetes, but strives to extend its use-cases to non-container control planes while keeping the ecosystems of libraries and tooling united.
15+
> - kcp – as a consumer of Kubernetes API Machinery – will strive to stay 100% compatible with the semantics of Kubernetes APIs, while removing container orchestration specific functionality.
16+
> - kcp strives to upstream changes to Kubernetes code as much as possible.

DCO

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ Developer Certificate of Origin
22
Version 1.1
33

44
Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
5-
660 York Street, Suite 102,
6-
San Francisco, CA 94110 USA
75

86
Everyone is permitted to copy and distribute verbatim copies of this
97
license document, but changing it is not allowed.

Dockerfile

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2024 The Kubermatic Kubernetes Platform contributors.
1+
# Copyright 2025 The KCP Authors.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -19,14 +19,13 @@ FROM docker.io/golang:1.23.4 as builder
1919
ARG GOPROXY=
2020
ENV GOPROXY=$GOPROXY
2121

22-
WORKDIR /go/src/k8c.io/servlet
22+
WORKDIR /go/src/github.com/kcp-dev/api-syncagent
2323
COPY . .
24-
RUN make clean servlet
24+
RUN make clean api-syncagent
2525

2626
FROM gcr.io/distroless/static-debian12:debug
27-
LABEL maintainer="[email protected]"
2827

29-
COPY --from=builder /go/src/k8c.io/servlet/_build/servlet /usr/local/bin/servlet
28+
COPY --from=builder /go/src/github.com/kcp-dev/api-syncagent/_build/api-syncagent /usr/local/bin/api-syncagent
3029

3130
USER nobody
32-
ENTRYPOINT [ "servlet" ]
31+
ENTRYPOINT [ "api-syncagent" ]

GOVERNANCE.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# kcp Project Governance
2+
3+
The kcp project is dedicated to democratizing Control Planes beyond container
4+
orchestration. Our project governance is explained [here](https://github.com/kcp-dev/kcp/blob/main/GOVERNANCE.md).

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2024 The Kubermatic Kubernetes Platform contributors.
1+
# Copyright 2025 The KCP Authors.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -20,8 +20,8 @@ GOBUILDFLAGS ?= -v
2020
GIT_HEAD ?= $(shell git log -1 --format=%H)
2121
GIT_VERSION = $(shell git describe --tags --always)
2222
LDFLAGS += -extldflags '-static' \
23-
-X k8c.io/servlet/internal/version.gitVersion=$(GIT_VERSION) \
24-
-X k8c.io/servlet/internal/version.gitHead=$(GIT_HEAD)
23+
-X github.com/kcp-dev/api-syncagent/internal/version.gitVersion=$(GIT_VERSION) \
24+
-X github.com/kcp-dev/api-syncagent/internal/version.gitHead=$(GIT_HEAD)
2525
BUILD_DEST ?= _build
2626
GOTOOLFLAGS ?= $(GOBUILDFLAGS) -ldflags '-w $(LDFLAGS)' $(GOTOOLFLAGS_EXTRA)
2727

OWNERS

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# See the OWNERS docs: https://git.k8s.io/community/contributors/guide/owners.md
22

33
approvers:
4-
- kdp-members
5-
6-
reviewers:
7-
- kdp-members
4+
- embik
5+
- xrstf

0 commit comments

Comments
 (0)