You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+71-47Lines changed: 71 additions & 47 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,58 +2,52 @@
2
2
3
3
This project provides a [Carvel package](https://carvel.dev/kapp-controller/docs/latest/packaging) for [Cert Manager](https://cert-manager.io), a cloud-native solution to automatically provision and manage TLS certificates in Kubernetes.
4
4
5
-
## Components
6
-
7
-
* Cert Manager
8
-
9
5
## Prerequisites
10
6
11
-
*Install the [`kctrl`](https://carvel.dev/kapp-controller/docs/latest/install/#installing-kapp-controller-cli-kctrl) CLI to manage Carvel packages in a convenient way.
12
-
*Ensure [kapp-controller](https://carvel.dev/kapp-controller) is deployed in your Kubernetes cluster. You can do that with Carvel
13
-
[`kapp`](https://carvel.dev/kapp/docs/latest/install) (recommended choice) or `kubectl`.
* 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`.
Either way, you can then install the Cert Manager package using [`kctrl`](https://carvel.dev/kapp-controller/docs/latest/install/#installing-kapp-controller-cli-kctrl).
27
+
Then, install the Cert Manager package.
38
28
39
-
```shell
40
-
kctrl package install -i cert-manager \
29
+
```shell
30
+
kctrl package install -i cert-manager \
41
31
-p cert-manager.packages.kadras.io \
42
32
-v 1.10.1 \
43
-
-n carvel-packages
44
-
```
33
+
-n kadras-packages
34
+
```
35
+
36
+
### Verification
37
+
38
+
You can verify the list of installed Carvel packages and their status.
45
39
46
-
You can retrieve the list of available versions with the following command.
40
+
```shell
41
+
kctrl package installed list -n kadras-packages
42
+
```
47
43
48
-
```shell
49
-
kctrl package available list -p cert-manager.packages.kadras.io
50
-
```
44
+
### Version
51
45
52
-
You can check the list of installed packages and their status as follows.
46
+
You can get the list of versions available in the Kadras package repository for Cert Manager.
53
47
54
-
```shell
55
-
kctrl package installed list -n carvel-packages
56
-
```
48
+
```shell
49
+
kctrl package available list -p cert-manager.packages.kadras.io -n kadras-packages
50
+
```
57
51
58
52
## Configuration
59
53
@@ -65,23 +59,53 @@ The Cert Manager package has the following configurable properties.
65
59
66
60
You can define your configuration in a `values.yml` file.
67
61
68
-
```yaml
69
-
namespace: cert-manager
70
-
```
62
+
```yaml
63
+
namespace: cert-manager
64
+
```
71
65
72
-
Then, reference it from the `kctrl` command when installing or upgrading the package.
66
+
Then, pass the file when installing the package.
73
67
74
-
```shell
75
-
kctrl package install -i cert-manager \
68
+
```shell
69
+
kctrl package install -i cert-manager \
76
70
-p cert-manager.packages.kadras.io \
77
71
-v 1.10.1 \
78
-
-n carvel-packages \
72
+
-n kadras-packages \
79
73
--values-file values.yml
80
-
```
74
+
```
75
+
76
+
## Upgrading
77
+
78
+
You can upgrade an existing package to a newer version using `kctrl`.
79
+
80
+
```shell
81
+
kctrl package installed update -i cert-manager \
82
+
-v <new-version> \
83
+
-n kadras-packages
84
+
```
85
+
86
+
You can also update an existing package with a newer `values.yml` file.
87
+
88
+
```shell
89
+
kctrl package installed update -i cert-manager \
90
+
-n kadras-packages \
91
+
--values-file values.yml
92
+
```
93
+
94
+
## Other
95
+
96
+
The recommended way of installing the Cert Manager package is via the [Kadras package repository](https://github.com/arktonix/kadras-packages). If you prefer not using the repository, you can install the package by creating the necessary Carvel `PackageMetadata` and `Package` resources directly
97
+
using [`kapp`](https://carvel.dev/kapp/docs/latest/install) or `kubectl`.
98
+
99
+
```shell
100
+
kubectl create namespace kadras-packages
101
+
kapp deploy -a cert-manager-package -n kadras-packages -y \
0 commit comments