cert-manager-webhook-infomaniak

by M0NsTeRRR

Helm chartv1.3.1App v0.1.7Verified publisher

cert-manager-webhook-infomaniak helm chart for Kubernetes

About this chart

cert-manager-webhook-infomaniak

cert-manager-webhook-infomaniak helm chart for Kubernetes

Homepage: https://github.com/M0NsTeRRR/cert-manager-webhook-infomaniak

Maintainers

NameEmailUrl
Ludovic Ortega[email protected]

Source Code

Requirements

Kubernetes: >=1.23.0-0

Install

helm install cert-manager-webhook-infomaniak oci://ghcr.io/m0nsterrr/helm-charts/cert-manager-webhook-infomaniak

Verify the signature with cosign :

cosign verify ghcr.io/m0nsterrr/helm-charts/cert-manager-webhook-infomaniak:1.3.1 --certificate-identity-regexp=^https://github.com/M0NsTeRRR/helm-charts.*$ --certificate-oidc-issuer=https://token.ac
tions.githubusercontent.com

Create the secret

The Infomaniak API token needs the domain:read, dns:read, and dns:write scopes.

kubectl create secret generic cert-manager-webhook-infomaniak \
  --namespace=cert-manager \
  --from-literal=api-token=<INFOMANIAK API TOKEN>

ClusterIssuer example

apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
  name: letsencrypt-prod
spec:
  acme:
    server: https://acme-v02.api.letsencrypt.org/directory
    email: [email protected] # Replace this with your email address
    privateKeySecretRef:
      name: letsencrypt-prod
    solvers:
    - dns01:
        webhook:
          solverName: infomaniak
          groupName: acme.infomaniak.com
          config:
            #optional, defaults to cert-manager-webhook-infomaniak
            secretRef: cert-manager-webhook-infomaniak
            #optional, defaults to api-token
            apiTokenSecretKey: api-token

Values

KeyTypeDefaultDescription
affinityobject{}
annotationsobject{}Deployment annotations
certManager.namespacestring"cert-manager"Namespace under which cert-manager is installed
certManager.serviceAccountNamestring"cert-manager"Name of the cert-manager service account
extraEnvlist[]Environment variables to add to the cert-manager-webhook-infomaniak pods
extraEnvFromlist[]Environment variables from secrets or configmaps to add to the cert-manager-webhook-infomaniak pods
fullnameOverridestring""
groupNamestring"acme.infomaniak.com"Name under which the webhook will be available
image.pullPolicystring"IfNotPresent"
image.registrystring"ghcr.io"
image.repositorystring"m0nsterrr/cert-manager-webhook-infomaniak"
image.shastring""
image.tagstring""Overrides the image tag whose default is the chart appVersion.
imagePullSecretslist[]
nameOverridestring""
nodeSelectorobject{}
podAnnotationsobject{}
podLabelsobject{}
podSecurityContext.fsGroupint65532
podSecurityContext.fsGroupChangePolicystring"OnRootMismatch"
priorityClassNamestring""Priority class to be assigned to the Pod(s).
probes.liveness.failureThresholdint3Consecutive failures before the container is restarted
probes.liveness.initialDelaySecondsint0Seconds after the container has started before the probe is initiated
probes.liveness.pathstring"/healthz"HTTPS path probed
probes.liveness.periodSecondsint10How often (in seconds) to perform the probe
probes.liveness.timeoutSecondsint1Seconds after which the probe times out
probes.readiness.failureThresholdint3Consecutive failures before the pod is marked unready
probes.readiness.initialDelaySecondsint0Seconds after the container has started before the probe is initiated
probes.readiness.pathstring"/healthz"HTTPS path probed
probes.readiness.periodSecondsint10How often (in seconds) to perform the probe
probes.readiness.successThresholdint1Consecutive successes required to be considered ready again
probes.readiness.timeoutSecondsint1Seconds after which the probe times out
probes.startupobject{"enabled":false,"failureThreshold":30,"initialDelaySeconds":0,"path":"/healthz","periodSeconds":10,"timeoutSeconds":1}Startup probe, holds liveness and readiness until the first success. Useful for slow starts (database migrations). The maximum startup time is failureThreshold * periodSeconds.
probes.startup.enabledboolfalseEnable the startup probe
probes.startup.failureThresholdint30Consecutive failures before the container is restarted
probes.startup.initialDelaySecondsint0Seconds after the container has started before the probe is initiated
probes.startup.pathstring"/healthz"HTTPS path probed
probes.startup.periodSecondsint10How often (in seconds) to perform the probe
probes.startup.timeoutSecondsint1Seconds after which the probe times out
replicaCountint1
resourcesobject{}
securityContext.allowPrivilegeEscalationboolfalse
securityContext.capabilities.drop[0]string"ALL"
securityContext.privilegedboolfalse
securityContext.readOnlyRootFilesystembooltrue
securityContext.runAsGroupint65532
securityContext.runAsNonRootbooltrue
securityContext.runAsUserint65532
securityContext.seccompProfile.typestring"RuntimeDefault"
service.portint443
service.typestring"ClusterIP"
strategyobject{"type":"Recreate"}Deployment strategy
tolerationslist[]

Deploy cert-manager-webhook-infomaniak 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-webhook-infomaniak 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-webhook-infomaniak is pinned at v1.3.1 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