Skip to content

Commit 36fa588

Browse files
authored
cosigned: update readme to add the helm repo for sigstore (#584)
Signed-off-by: Carlos Panato <[email protected]>
1 parent c791b29 commit 36fa588

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

chart/cosigned/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ sources:
1919
- https://github.com/sigstore/cosign
2020
name: cosigned
2121
type: application
22-
version: v0.0.2-dev
22+
version: v0.0.3-dev
2323
appVersion: "dev"
2424
maintainers:
2525
- name: dlorenc

chart/cosigned/README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,16 @@
44
* Kind (or any other Kubernetes cluster successfully configured).
55
* Helm.
66

7-
## Run `cosigned`
7+
## Deploy `cosigned` Helm Chart
88

99
Cosigned requires `cert-manager` to be pre-configured on the running cluster.
1010
To install `cert-manager` follow the next steps:
1111

1212
```shell
1313
helm repo add jetstack https://charts.jetstack.io
14+
1415
helm repo update
16+
1517
helm install \
1618
cert-manager jetstack/cert-manager \
1719
--namespace cert-manager \
@@ -37,9 +39,15 @@ kubectl create secret generic mysecret -n cosigned --from-file=cosign.pub=./cosi
3739
Install `cosigned` using Helm and setting the value of the secret key reference to `k8s://cosigned/mysecret`:
3840

3941
```shell
40-
helm install cosigned -n cosigned chart/cosigned --replace --set webhook.secretKeyRef.name=k8s://cosigned/mysecret --create-namespace
42+
helm repo add sigstore https://sigstore.github.io/cosign/
43+
44+
helm repo update
45+
46+
helm install cosigned -n cosigned sigstore/cosigned --devel --set webhook.secretKeyRef.name=k8s://cosigned/mysecret --create-namespace
4147
```
4248

49+
We need to add the `--devel` flag because we are still in the development of the chart. This will be removed when we release cosigned `v1.0.0`
50+
4351
Validate the `cosigned` functionality by create a `Deployment` with and without signed images:
4452

4553
```yaml

0 commit comments

Comments
 (0)