Skip to content
This repository has been archived by the owner on Jan 27, 2022. It is now read-only.

Commit

Permalink
Dropped cert-manager api-version v1alpha3, moved to v1
Browse files Browse the repository at this point in the history
Update README
  • Loading branch information
kfirfer committed Oct 14, 2020
1 parent 89c9443 commit f0ad5d2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion charts/topolvm/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
appVersion: 0.6.0
description: Topolvm
name: topolvm
version: 1.0.1
version: 1.1.0
home: https://github.com/topolvm/topolvm
sources:
- https://github.com/topolvm/helm/tree/master/charts/topolvm
Expand Down
5 changes: 3 additions & 2 deletions charts/topolvm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@
## Pre Requisites
* Kubernetes 1.16+
* `lvmd` installed on the underlying nodes, ref: https://github.com/topolvm/topolvm/blob/master/docs/lvmd.md
* `cert-manager` installed. ref: https://cert-manager.io/
* Configure `kube-scheduler` on the underlying nodes, ref: https://github.com/topolvm/topolvm/tree/master/deploy#configure-kube-scheduler
* `cert-manager` version `v1.0.0+` installed. ref: https://cert-manager.io/
* Requires at least `v3.2.3` version of helm to support
* Namespace named `topolvm-system`:
* Namespace named `topolvm-system` with the relevant labels:

```
kubectl apply -f charts/topolvm/namespace.yaml
Expand Down
6 changes: 3 additions & 3 deletions charts/topolvm/templates/certificates/certificates.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Generate a CA Certificate used to sign certificates for the webhook
apiVersion: cert-manager.io/v1alpha3
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: {{ template "topolvm.fullname" . }}-webhook-ca
Expand All @@ -20,15 +20,15 @@ spec:
---

# Finally, generate a serving certificate for the webhook to use
apiVersion: cert-manager.io/v1alpha3
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: {{ template "topolvm.fullname" . }}-mutatingwebhook
labels:
{{- include "topolvm.labels" . | nindent 4 }}
spec:
secretName: {{ template "topolvm.fullname" . }}-mutatingwebhook
duration: 8760h0m0s # 1y
duration: 87600h0m0s # 10y
issuerRef:
name: {{ template "topolvm.fullname" . }}-webhook-ca
dnsNames:
Expand Down

0 comments on commit f0ad5d2

Please sign in to comment.