ejbca

by joaquinito2051

Helm chartv6.3.5App 7.9.0-2

EJBCA is an enterprise class PKI Certificate Authority software, built using Java (JEE) technology.

About this chart

EJBCA packaged by Bitnami

EJBCA is an enterprise class PKI Certificate Authority software, built using Java (JEE) technology.

Overview of EJBCA

Trademarks: This software listing is packaged by Bitnami. The respective trademarks mentioned in the offering are owned by the respective companies, and use of them does not imply any affiliation or endorsement.

Azure-ready Charts with Containers from marketplace.azurecr.io

This Helm Chart has been configured to pull the Container Images from the Azure Marketplace Public Repository. The following command allows you to download and install all the charts from this repository.

$ helm repo add bitnami-azure https://marketplace.azurecr.io/helm/v1/repo

TL;DR

$ helm repo add bitnami-azure https://marketplace.azurecr.io/helm/v1/repo
$ helm install my-release bitnami-azure/ejbca

Introduction

This chart bootstraps a EJBCA deployment on a Kubernetes cluster using the Helm package manager.

It also packages Bitnami MariaDB as the required databases for the EJBCA application.

Bitnami charts can be used with Kubeapps for deployment and management of Helm Charts in clusters.

Prerequisites

  • Kubernetes 1.19+
  • Helm 3.2.0+
  • PV provisioner support in the underlying infrastructure

Installing the Chart

To install the chart with the release name my-release:

$ helm install my-release bitnami-azure/ejbca

The command deploys EJBCA 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

Global parameters

NameDescriptionValue
global.imageRegistryGlobal Docker image registry""
global.imagePullSecretsGlobal Docker registry secret names as an array[]
global.storageClassGlobal StorageClass for Persistent Volume(s)""

Common parameters

NameDescriptionValue
kubeVersionForce target Kubernetes version (using Helm capabilities if not set)""
nameOverrideString to partially override ebjca.fullname template (will maintain the release name)""
fullnameOverrideString to fully override ebjca.fullname template""
namespaceOverrideString to fully override common.names.namespace""
commonLabelsAdd labels to all the deployed resources{}
commonAnnotationsAnnotations to be added to all deployed resources{}
extraDeployArray of extra objects to deploy with the release[]
diagnosticMode.enabledEnable diagnostic mode (all probes will be disabled and the command will be overridden)false
diagnosticMode.commandCommand to override all containers in the deployment["sleep"]
diagnosticMode.argsArgs to override all containers in the deployment["infinity"]

EJBCA parameters

NameDescriptionValue
image.registryEJBCA image registrydocker.io
image.repositoryEJBCA image namebitnami/ejbca
image.tagEJBCA image tag7.9.0-2-debian-11-r6
image.digestEJBCA image image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag""
image.pullPolicyEJBCA image pull policyIfNotPresent
image.pullSecretsSpecify docker-registry secret names as an array[]
image.debugEnable image debug modefalse
replicaCountNumber of EJBCA replicas to deploy1
extraVolumeMountsAdditional volume mounts (used along with extraVolumes)[]
extraVolumesArray of extra volumes to be added deployment. Requires setting extraVolumeMounts[]
podAnnotationsAdditional pod annotations{}
podLabelsAdditional pod labels{}
podSecurityContext.enabledEnable security context for EJBCA containertrue
podSecurityContext.fsGroupGroup ID for the volumes of the pod1001
podAffinityPresetPod affinity preset. Ignored if affinity is set. Allowed values: soft or hard""
podAntiAffinityPresetPod anti-affinity preset. Ignored if affinity is set. Allowed values: soft or hardsoft
nodeAffinityPreset.typeNode affinity preset type. Ignored if affinity is set. Allowed values: soft or hard""
nodeAffinityPreset.keyNode label key to match Ignored if affinity is set.""
nodeAffinityPreset.valuesNode label values to match. Ignored if affinity is set.[]
affinityAffinity for pod assignment{}
nodeSelectorNode labels for pod assignment{}
tolerationsTolerations for pod assignment[]
updateStrategy.typeEJBCA deployment strategy type.RollingUpdate
persistence.enabledWhether to enable persistence based on Persistent Volume Claimstrue
persistence.accessModesPersistent Volume access modes[]
persistence.sizeSize of the PVC to request2Gi
persistence.storageClassPVC Storage Class""
persistence.existingClaimName of an existing PVC to reuse""
persistence.annotationsPersistent Volume Claim annotations{}
sidecarsAttach additional sidecar containers to the pod[]
initContainersAdditional init containers to add to the pods[]
hostAliasesAdd deployment host aliases[]
priorityClassNameEJBCA pods' priorityClassName""
schedulerNameName of the k8s scheduler (other than default)""
topologySpreadConstraintsTopology Spread Constraints for pod assignment[]
ejbcaAdminUsernameEJBCA administrator usernamebitnami
ejbcaAdminPasswordPassword for the administrator account""
existingSecretAlternatively, you can provide the name of an existing secret containing""
ejbcaJavaOptsOptions used to launch the WildFly server""
ejbcaCA.nameName of the CA EJBCA will instantiate by defaultManagementCA
ejbcaCA.baseDNBase DomainName of the CA EJBCA will instantiate by default""
ejbcaKeystoreExistingSecretName of an existing Secret containing a Keystore object""
extraEnvVarsArray with extra environment variables to add to EJBCA nodes[]
extraEnvVarsCMName of existing ConfigMap containing extra env vars for EJBCA nodes""
extraEnvVarsSecretName of existing Secret containing extra env vars for EJBCA nodes""
commandCustom command to override image cmd[]
argsCustom args for the custom command[]
lifecycleHooksfor the EJBCA container(s) to automate configuration before or after startup{}
resources.limitsThe resources limits for the container{}
resources.requestsThe requested resources for the container{}
containerSecurityContext.enabledEnabled EJBCA containers' Security Contexttrue
containerSecurityContext.runAsUserSet EJBCA containers' Security Context runAsUser1001
containerSecurityContext.runAsNonRootSet EJBCA contai

Deploy ejbca with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has ejbca 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 chartejbca is pinned at v6.3.5 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