Skip to content

Commit 72e3dc9

Browse files
committed
Update docs
1 parent cc45a89 commit 72e3dc9

2 files changed

Lines changed: 107 additions & 1 deletion

File tree

CONTRIBUTING.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
<!--
2+
# SPDX-FileCopyrightText: Copyright 2024 SAP SE or an SAP affiliate company and cobaltcore-dev contributors
3+
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
-->
6+
7+
# Contributing
8+
9+
## Code of Conduct
10+
11+
All members of the project community must abide by the [SAP Open Source Code of Conduct](https://github.com/SAP/.github/blob/main/CODE_OF_CONDUCT.md).
12+
Only by respecting each other we can develop a productive, collaborative community.
13+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting [a project maintainer](REUSE.toml).
14+
15+
## Engaging in Our Project
16+
17+
We use GitHub to manage reviews of pull requests.
18+
19+
* If you are a new contributor, see: [Steps to Contribute](#steps-to-contribute)
20+
* Before implementing your change, create an issue that describes the problem you would like to solve or the code that should be enhanced. Please note that you are willing to work on that issue.
21+
* The team will review the issue and decide whether it should be implemented as a pull request. In that case, they will assign the issue to you. If the team decides against picking up the issue, the team will post a comment with an explanation.
22+
23+
## Steps to Contribute
24+
25+
Should you wish to work on an issue, please claim it first by commenting on the GitHub issue that you want to work on. This is to prevent duplicated efforts from other contributors on the same issue.
26+
27+
If you have questions about one of the issues, please comment on them, and one of the maintainers will clarify.
28+
29+
## Contributing Code or Documentation
30+
31+
You are welcome to contribute code in order to fix a bug or to implement a new feature that is logged as an issue.
32+
33+
The following rule governs code contributions:
34+
35+
* Contributions must be licensed under the [Apache 2.0 License](./LICENSE).
36+
* Due to legal reasons, contributors will be asked to accept a Developer Certificate of Origin (DCO) when they create the first pull request to this project. This happens in an automated fashion during the submission process. SAP uses [the standard DCO text of the Linux Foundation](https://developercertificate.org/).
37+
* Contributions must follow our [guidelines on AI-generated code](https://github.com/SAP/.github/blob/main/CONTRIBUTING_USING_GENAI.md) in case you are using such tools.
38+
39+
## Issues and Planning
40+
41+
* We use GitHub issues to track bugs and enhancement requests.
42+
* Please provide as much context as possible when you open an issue. The information you provide must be comprehensive enough to reproduce that issue for the assignee.

README.md

Lines changed: 65 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,68 @@ SPDX-License-Identifier: Apache-2.0
66

77
# cloud-profile-sync
88

9-
Automatically updates images in a Gardener `CloudProfile` based on changes in image sources, such as tags in an OCI registry.
9+
## About this project
10+
11+
Automatically updates properties of a [Gardener](https://github.com/gardener/gardener) `CloudProfile`, e.g. `machineImages` based on various sources, such as tags in an OCI repository.
12+
13+
## Requirements and Setup
14+
15+
- a recent `go` compiler
16+
- GNU `make`
17+
- `docker` to build the container
18+
19+
The tests can be run with `make check`.
20+
21+
## Usage
22+
23+
Initially, apply the `ManagedCloudProfile` CRD to your virtual garden apiserver.
24+
Then a `ManagedCloudProfile` can be created:
25+
```yaml
26+
apiVersion: cloudprofilesync.cobaltcore.dev/v1alpha1
27+
kind: ManagedCloudProfile
28+
metadata:
29+
name: cloud-profile-name
30+
spec:
31+
cloudProfile:
32+
# regular CloudProfile spec, but some fields are optional
33+
# to enable fully automatic management
34+
machineImageUpdates: # configures automatic management of machineImages
35+
- imageName: gardenlinux
36+
provider: # provider updates the providerConfig about images
37+
ironcoreMetal: # updates gardener-extension-ironcore-metal
38+
registry: docker.io # hostname of registry to pull the image from
39+
repository: gardenlinux/gardenlinux # repository to pull the image from
40+
source: # source used to check for image
41+
oci: # OCI registry source
42+
registry: docker.io # hostname of registry
43+
repository: gardenlinux/gardenlinux # repository to watch
44+
insecure: false # disables HTTP
45+
username: "" # username for basic auth
46+
password: "" # reference to a secret to lookup a password for basic auth
47+
name: ""
48+
namespace: ""
49+
key: ""
50+
```
51+
Reconciliation takes care of creating the respective `CloudProfile`.
52+
53+
## Support, Feedback, Contributing
54+
55+
This project is open to feature requests/suggestions, bug reports etc. via [GitHub issues](https://github.com/cobaltcore-dev/cloud-profile-sync/issues).
56+
Contribution and feedback are encouraged and always welcome.
57+
For more information about how to contribute, the project structure, as well as additional contribution information, see our [Contribution Guidelines](CONTRIBUTING.md).
58+
59+
## Security / Disclosure
60+
61+
If you find any bug that may be a security problem, please follow our instructions at [in our security policy](https://github.com/cobaltcore-dev/cloud-profile-sync/security/policy) on how to report it.
62+
Please do not create GitHub issues for security-related doubts or problems.
63+
64+
## Code of Conduct
65+
66+
We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone.
67+
By participating in this project, you agree to abide by its [Code of Conduct](https://github.com/SAP/.github/blob/main/CODE_OF_CONDUCT.md) at all times.
68+
69+
## Licensing
70+
71+
Copyright 2025 SAP SE or an SAP affiliate company and <your-project> contributors.
72+
Please see our [LICENSE](LICENSE) for copyright and license information.
73+
Detailed information including third-party components and their licensing/copyright information is available [via the REUSE tool](https://api.reuse.software/info/github.com/cobaltcore-dev/cloud-profile-sync).

0 commit comments

Comments
 (0)