cert-manager-common

by sebastien-prudhomme

Helm chartv2.0.0App 1.0.0MITVerified publisher

Collection of Kubernetes objects common to all Cert-Manager instances

About this chart

Cert-Manager Common

Cert-Manager Common are a collection of Kubernetes objects common to all Cert-Manager instances.

DISCLAIMER: This is an unofficial chart not supported by Cert-Manager authors.

TL;DR;

$ helm repo add cowboysysop https://cowboysysop.github.io/charts/
$ helm install my-release cowboysysop/cert-manager-common

or for an OCI-based registry:

$ helm install my-release oci://ghcr.io/cowboysysop/charts/cert-manager-common

Introduction

This chart bootstraps a Cert-Manager Common deployment on a Kubernetes cluster using the Helm package manager.

Prerequisites

  • Kubernetes >= 1.24
  • Helm >= 3.9

Installing

Install the chart using:

$ helm repo add cowboysysop https://cowboysysop.github.io/charts/
$ helm install my-release cowboysysop/cert-manager-common

or for an OCI-based registry:

$ helm install my-release oci://ghcr.io/cowboysysop/charts/cert-manager-common

These commands deploy Cert-Manager Common on the Kubernetes cluster in the default configuration and with the release name my-release. The deployment configuration can be customized by specifying the customization parameters with the helm install command using the --values or --set arguments. Find more information in the configuration section of this document.

Upgrading

Upgrade the chart deployment using:

$ helm upgrade my-release cowboysysop/cert-manager-common

or for an OCI-based registry:

$ helm upgrade my-release oci://ghcr.io/cowboysysop/charts/cert-manager-common

The command upgrades the existing my-release deployment with the most latest release of the chart.

Upgrading to version 2.0.0

The chart now uses forked versions of the Bitnami charts to reference the Bitnami Legacy repository:

  • https://github.com/bitnami/containers/issues/83267

Uninstalling

Uninstall the my-release deployment using:

$ helm uninstall my-release

The command deletes the release named my-release and frees all the kubernetes resources associated with the release.

TIP: Specify the --purge argument to the above command to remove the release from the store and make its name free for later use.

Configuration

Common parameters

NameDescriptionDefault
kubeVersionOverride Kubernetes version""
nameOverridePartially override cert-manager-common.fullname template with a string (will prepend the release name)""
fullnameOverrideFully override cert-manager-common.fullname template with a string""
namespaceOverrideFully override common.names.namespace template with a string""
commonAnnotationsAnnotations to add to all deployed objects{}
commonLabelsLabels to add to all deployed objects{}
extraDeployArray of extra objects to deploy with the release[]

Grafana dashboards parameters

NameDescriptionDefault
grafanaDashboards.enabledSpecifies whether Grafana dashboards should be createdfalse
grafanaDashboards.namespaceNamespace in which to create the Grafana dashboards""
grafanaDashboards.labelsAdditional Grafana dashboards labels
grafanaDashboards.labels.grafana_dashboardLabel used by Grafana dashboards selector1

Prometheus rules parameters

NameDescriptionDefault
prometheusRules.enabledSpecifies whether Prometheus rules should be createdfalse
prometheusRules.namespaceNamespace in which to create the Prometheus rules""
prometheusRules.labelsAdditional Prometheus rules labels
prometheusRules.labels.releaseLabel used by Prometheus rules selectorkube-prometheus-stack

Setting parameters

Specify the parameters you which to customize using the --set argument to the helm install command. For instance,

$ helm install my-release \
    --set nameOverride=my-name cowboysysop/cert-manager-common

or for an OCI-based registry:

$ helm install my-release \
    --set nameOverride=my-name oci://ghcr.io/cowboysysop/charts/cert-manager-common

The above command sets the nameOverride to my-name.

Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. For example,

$ helm install my-release \
    --values values.yaml cowboysysop/cert-manager-common

or for an OCI-based registry:

$ helm install my-release \
    --values values.yaml oci://ghcr.io/cowboysysop/charts/cert-manager-common

TIP: You can use the default values.yaml.

License

The source code of this chart is under MIT License.

It also uses source code under Apache 2.0 License from the Bitnami repository.

Deploy cert-manager-common 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-common 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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartcert-manager-common is pinned at v2.0.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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