Skip to content

Commit f747552

Browse files
authored
Improve docs (#122)
1 parent 1692fd6 commit f747552

File tree

8 files changed

+63
-53
lines changed

8 files changed

+63
-53
lines changed

.github/CODEOWNERS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @ThomasVitale

.github/ISSUE_TEMPLATE/bug-report.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: Bug report
33
about: Tell us about a problem you are experiencing
44
title: ''
5-
labels: bug
5+
labels: bug, triage
66
assignees: ''
77

88
---
@@ -19,10 +19,8 @@ assignees: ''
1919
**Anything else you would like to add:**
2020
[Additional information that will assist in solving the issue.]
2121

22-
**Additional context:**
23-
Add any other context about the problem here.
24-
2522
**Environment:**
2623

27-
- Kubernetes version (execute `kubectl version`):
28-
- kapp-controller version (execute `kubectl get deployment -n kapp-controller kapp-controller -o yaml` and the annotation is `kbld.k14s.io/images`):
24+
* Kubernetes version (execute `kubectl version`):
25+
* kctrl version (execute `kctrl version`):
26+
* kapp-controller version (execute `kubectl get deployment -n kapp-controller kapp-controller -o yaml` and the annotation is `kbld.k14s.io/images`):

.github/ISSUE_TEMPLATE/feature-request.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: Feature request
33
about: Suggest an idea for this project
44
title: ''
5-
labels: enhancement
5+
labels: enhancement, triage
66
assignees: ''
77

88
---
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
name: Other issue or question
3+
about: Free form issue or question
4+
title: ''
5+
labels: triage
6+
assignees: ''
7+
8+
---

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ env:
66
COSIGN_EXPERIMENTAL: 1
77
REGISTRY: ghcr.io
88
IMAGE_NAME: ${{ github.repository }}
9-
VERSION: 0.7.3
9+
VERSION: 0.7.4
1010

1111
jobs:
1212
build:
@@ -23,7 +23,7 @@ jobs:
2323
uses: actions/checkout@v3.3.0
2424

2525
- name: Set up Carvel
26-
uses: vmware-tanzu/carvel-setup-action@v1.2.0
26+
uses: carvel-dev/setup-action@v1.3.0
2727
with:
2828
token: ${{ secrets.GITHUB_TOKEN }}
2929

MAINTAINERS.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Maintainers
2+
3+
* Thomas Vitale | [ThomasVitale](https://github.com/ThomasVitale)

README.md

Lines changed: 39 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
# Kadras Packages
22

3-
<a href="https://slsa.dev/spec/v0.1/levels"><img src="https://slsa.dev/images/gh-badge-level3.svg" alt="The SLSA Level 3 badge"></a>
3+
![Release Workflow](https://github.com/kadras-io/kadras-packages/actions/workflows/release.yml/badge.svg)
4+
[![The SLSA Level 3 badge](https://slsa.dev/images/gh-badge-level3.svg)](https://slsa.dev/spec/v0.1/levels)
5+
[![The Apache 2.0 license badge](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
6+
[![Follow us on Twitter](https://img.shields.io/static/v1?label=Twitter&message=Follow&color=1DA1F2)](https://twitter.com/kadrasIO)
47

5-
A collection of Kubernetes-native packages built with [Carvel](https://carvel.dev) and used in the [Kadras](https://kadras.io) project.
8+
The [Kadras](https://kadras.io) collection of Kubernetes-native packages built with [Carvel](https://carvel.dev).
69

7-
## Package Repository
10+
## 📦&nbsp; Package Repository
811

912
This repository contains the following Carvel packages.
1013

@@ -16,7 +19,7 @@ This repository contains the following Carvel packages.
1619
| [cartographer-blueprints](https://github.com/kadras-io/cartographer-blueprints) | A curated set of reusable blueprints for Cartographer, a Kubernetes-native framework to build paved paths to production. |
1720
| [cartographer-delivery](https://github.com/kadras-io/cartographer-delivery) | A curated set of Cartographer delivery chains to deploy workloads to Kubernetes based on GitOps or RegistryOps. |
1821
| [cartographer-supply-chains](https://github.com/kadras-io/cartographer-supply-chains) | A curated set of Cartographer supply chains to build golden paths to production for applications and functions, from source code to delivery in a Kubernetes cluster. |
19-
| [cert-manager](https://github.com/kadras-io/package-for-cert-manager) | Cloud-native solution to automatically provision and manage TLS certificates in Kubernetes. |
22+
| [cert-manager](https://github.com/kadras-io/package-for-cert-manager) | A cloud-native solution to automatically provision and manage X.509 certificates in Kubernetes. |
2023
| [contour](https://github.com/kadras-io/package-for-contour) | An Envoy-based ingress controller that supports dynamic configuration updates and multi-team ingress delegation. |
2124
| [fluxcd-source-controller](https://github.com/kadras-io/package-for-fluxcd-source-controller) | A source management component from the Flux GitOps Toolkit to provide a common interface for artifacts acquisition. |
2225
| [knative-eventing](https://github.com/kadras-io/package-for-knative-eventing) | A solution for routing events from event producers to sinks, enabling developers to use an event-driven architecture with their applications. |
@@ -29,74 +32,66 @@ This repository contains the following Carvel packages.
2932
| [spring-boot-conventions](https://github.com/kadras-io/package-for-spring-boot-conventions) | Defines conventions for Spring Boot workloads that will be applied by the Cartographer Convention Controller. |
3033
| [tekton-pipelines](https://github.com/kadras-io/package-for-tekton-pipelines) | A cloud-native solution for building CI/CD systems. |
3134

32-
## Prerequisites
35+
## 🚀&nbsp; Getting Started
36+
37+
### Prerequisites
3338

3439
* Kubernetes 1.24+
3540
* Carvel [`kctrl`](https://carvel.dev/kapp-controller/docs/latest/install/#installing-kapp-controller-cli-kctrl) CLI.
3641
* Carvel [kapp-controller](https://carvel.dev/kapp-controller) deployed in your Kubernetes cluster. You can install it with Carvel [`kapp`](https://carvel.dev/kapp/docs/latest/install) (recommended choice) or `kubectl`.
3742

3843
```shell
3944
kapp deploy -a kapp-controller -y \
40-
-f https://github.com/vmware-tanzu/carvel-kapp-controller/releases/latest/download/release.yml
45+
-f https://github.com/carvel-dev/kapp-controller/releases/latest/download/release.yml
4146
```
4247

43-
## Installation
44-
45-
You can install the Kadras package repository in a dedicated namespace using `kctrl`:
46-
47-
```shell
48-
kubectl create namespace kadras-packages
49-
kctrl package repository add -r kadras-repo \
50-
--url ghcr.io/kadras-io/kadras-packages:0.7.3 \
51-
-n kadras-packages
52-
```
48+
### Installation
5349

54-
### Verification
55-
56-
You can verify the list of available Carvel package repositories and their status.
50+
Install the Kadras package repository in a dedicated namespace using `kctrl`:
5751

5852
```shell
59-
kctrl package repository list -n kadras-packages
53+
kubectl create namespace kadras-packages
54+
kctrl package repository add -r kadras-repo \
55+
--url ghcr.io/kadras-io/kadras-packages \
56+
-n kadras-packages
6057
```
6158

62-
### Packages
63-
64-
The Kadras package repository provides a collection of Carvel packages that you can list.
59+
<details><summary>Installation via CRDs</summary>
60+
The recommended way of installing the Cert Manager package is via the Kadras <a href="https://github.com/kadras-io/kadras-packages">package repository</a>. Instead of installing the , you can add the package definition directly using <a href="https://carvel.dev/kapp/docs/latest/install"><code>kapp</code></a> or <code>kubectl</code>.
6561

66-
```shell
67-
kctrl package available list -p kpack.packages.kadras.io -n kadras-packages
68-
```
62+
Instead of installing the Kadras package repository with `kctrl`, you can apply the necessary Carvel CRDs directly using [`kapp`](https://carvel.dev/kapp/docs/latest/install), `kubectl` or a GitOps operator.
6963

70-
## Upgrading
64+
```shell
65+
kubectl create namespace kadras-packages
66+
kapp deploy -a kadras-repo -n kadras-packages -y \
67+
-f https://github.com/kadras-io/kadras-packages/releases/latest/download/package-repository.yml
68+
```
69+
</details>
7170

72-
You can upgrade an existing repository to a newer version using `kctrl`.
71+
Verify the list of available Carvel package repositories and their status.
7372

7473
```shell
75-
kctrl package repository update -r kadras-repo \
76-
--url ghcr.io/kadras-io/kadras-packages:<new-version> \
77-
-n kadras-packages
74+
kctrl package repository list -n kadras-packages
7875
```
7976

80-
## Other
81-
82-
Instead of installing the Kadras package repository with `kctrl`, you can apply the necessary Carvel `PackageMetadata` and `Package` resources directly using [`kapp`](https://carvel.dev/kapp/docs/latest/install) or `kubectl`.
77+
List all the Carvel packages available in the Kadras package repository.
8378

8479
```shell
85-
kubectl create namespace kadras-packages
86-
kapp deploy -a kadras-repo -n kadras-packages -y \
87-
-f https://github.com/kadras-io/kadras-packages/releases/latest/download/package-repository.yml
80+
kctrl package available list -n kadras-packages
8881
```
8982

90-
## Support and Documentation
83+
## 📙&nbsp; Documentation
84+
85+
For documentation specific to Carvel package management, check out [carvel.dev](https://carvel.dev/kapp-controller/docs/latest/packaging).
9186

92-
For support and documentation about Carvel package management, check out [carvel.dev](https://carvel.dev/kapp-controller/docs/latest/packaging).
87+
## 🛡️&nbsp; Security
9388

94-
## References
89+
The security process for reporting vulnerabilities is described in [SECURITY.md](SECURITY.md).
9590

96-
This package repository is inspired by the work done by the Carvel team and the [Tanzu Community Edition](https://github.com/vmware-tanzu/community-edition) project (now retired). Learn more about [Kubernetes-native package management with Carvel](https://carvel.dev/kapp-controller/docs/latest/packaging).
91+
## 🖊️&nbsp; License
9792

98-
## Supply Chain Security
93+
This project is licensed under the **Apache License 2.0**. See [LICENSE](LICENSE) for more information.
9994

100-
This project is compliant with level 3 of the [SLSA Framework](https://slsa.dev).
95+
## 🙏&nbsp; Acknowledgments
10196

102-
<img src="https://slsa.dev/images/SLSA-Badge-full-level3.svg" alt="The SLSA Level 3 badge" width=200>
97+
This package repository is inspired by the one used in the [Tanzu Community Edition](https://github.com/vmware-tanzu/community-edition) project before its retirement.

SECURITY.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Security Policy
2+
3+
## Reporting a Vulnerability
4+
5+
If you know of a vulnerability in this project, please reach out to security@kadras.io and we will get back to you as soon as possible.

0 commit comments

Comments
 (0)