Skip to content

Commit

Permalink
Merge pull request #37 from projectsyn/cert-manager.io-v1
Browse files Browse the repository at this point in the history
Change cert-manager.io/v1beta1 to cert-manager.io/v1
  • Loading branch information
megian authored Aug 26, 2021
2 parents 2091bca + e5ecb54 commit 783e77c
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 1 deletion.
2 changes: 1 addition & 1 deletion class/defaults.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ parameters:
cert: '?{vaultkv:${customer:name}/${cluster:name}/${_instance}/keycloak-cert}'
certKey: '?{vaultkv:${customer:name}/${cluster:name}/${_instance}/keycloak-cert-key}'
certmanager:
apiVersion: cert-manager.io/v1alpha2
apiVersion: cert-manager.io/v1
certName: ${keycloak:tls:secretName}
issuer:
name: letsencrypt-production
Expand Down
10 changes: 10 additions & 0 deletions docs/modules/ROOT/pages/how-tos/upgrade-4.x-to-5.x.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
= Upgrade from 4.x to 5.x

This guide describes the steps to perform an upgrade of the component from version 4.x to 5.x.

The major change removes the support of https://cert-manager.io[cert-manager] below 1.0.

== Step-by-step guide

. Upgrade the https://github.com/projectsyn/component-cert-manager[Project Syn cert-manager] component version to v2 or newer.
. Update the component itself
10 changes: 10 additions & 0 deletions docs/modules/ROOT/pages/references/parameters.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,16 @@ type:: String
default:: `?{vaultkv:${customer:name}/${cluster:name}/${_instance}/keycloak-cert-key}`


== `tls.certmanager.apiVersion`

[horizontal]
type:: string
default:: `cert-manager.io/v1`

Cert-Manager v1.x is using `cert-manager.io/v1` in their CRDs.
Older cert-manager versions (v0.x) are using `cert-manager.io/v1beta1` or other.


== `tls.certmanager.issuer.name`

[horizontal]
Expand Down
1 change: 1 addition & 0 deletions docs/modules/ROOT/partials/nav.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
* xref:how-tos/upgrade-1.x-to-2.x.adoc[Upgrade 1.x to 2.x]
* xref:how-tos/upgrade-2.x-to-3.x.adoc[Upgrade 2.x to 3.x]
* xref:how-tos/upgrade-3.x-to-4.x.adoc[Upgrade 3.x to 4.x]
* xref:how-tos/upgrade-3.x-to-4.x.adoc[Upgrade 4.x to 5.x]
* xref:how-tos/openshift-4.adoc[Install on OpenShift 4]
* xref:how-tos/pin-versions.adoc[Pin versions]
Expand Down

0 comments on commit 783e77c

Please sign in to comment.