cert-manager-issuers
by beluga-cloud
Helper for `cert-manager` to manage Issuers and ClusterIssuers via Helm
About this chart
Cert Manager Issuers
Warning: This application requires
cert-manager.
Issuers, and ClusterIssuers, are Kubernetes resources that represent certificate authorities (CAs) that are able to
generate signed certificates by honoring certificate signing requests. All cert-manager certificates require a
referenced issuer that is in a ready condition to attempt to honor the request.
Overview of cert-manager issuers
TL;DR
helm repo add beluga-cloud https://beluga-cloud.github.io/charts
helm install my-release beluga-cloud/cert-manager-issuers
Introduction
This chart helps to configure Issuers and ClusterIssuers using the Helm package manager.
Prerequisites
- Kubernetes >= 1.20.0-0
- Helm 3+
cert-manager
Installing the Chart
To install the chart with the release name my-release:
helm repo add beluga-cloud https://beluga-cloud.github.io/charts
helm install my-release beluga-cloud/cert-manager-issuers
These commands deploy cert-manager-issuers on the Kubernetes cluster in the default configuration. The Parameters section lists the parameters that can be configured during installation.
Tip: List all releases using
helm list
Uninstalling the Chart
To uninstall/delete the my-release deployment:
helm delete my-release
The command removes all the Kubernetes components associated with the chart and deletes the release.
Parameters
Listing all parameters here didn't make sense; each issuer follows the same structure:
<issuer-type>:
- name: <issuer-name>:
metadata:
annotations: {} # (Optional) additional annotations
labels: {} # (Optional) additional labels
spec: {} # Issuer configuration (using the same pattern as used inside the issuer CRD)
# NOTE: template are allowed here. However, only two value are provided:
# - issuer.name - contains the issuer name
# - issuer.namespace - contains the issuer namespace
# - credentials.name - contains the secret name containing credentials
# - credentials.namespace - contains the secret namespace containing credentials
credentials: {} # (Optional) create a secret used to store credentials
For example, a ClusterIssuer configured to used Cloudflare as DNS resolver
clusterIssuer:
- name: letsencrypt:
spec:
acme:
email: [email protected]
server: https://acme-v02.api.letsencrypt.org/directory
solvers:
- selector:
dnsZones: [example.com]
dns01:
cloudflare:
apiTokenSecretRef:
name: '{{ .credentials.name }}'
key: api-token
privateKeySecretRef:
name: '{{ .credentials.name }}-issuer-key'
credentials:
api-token: CLOUDFLARE_TOKEN
Specify each parameter using the --set key=value[,key=value] argument to helm install. For example,
helm install my-release --set fullnameOverride=my-cert-manager-issuers beluga-cloud/cert-manager-issuers
Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example,
helm install my-release -f values.yaml my-repo/cert-manager-issuers
Tip: You can use the default values.yaml
License
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Autogenerated from chart metadata using helm-docs v1.11.0
Deploy cert-manager-issuers with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has cert-manager-issuers on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartcert-manager-issuers is pinned at v2.0.4 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply