ad2image

by it@M

Helm chartv2.1.7App 2.1.3Verified publisher

easy avatars powered by AD / Exchange & Identicons

About this chart

ad2image

Introduction

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

Installing the Chart

Install this chart using:

helm install my-ad2image-release it-at-m/ad2image --values values.yaml

The command deploys ad2image on the Kubernetes cluster with some default configuration. The Configuration section lists the parameters that can or must be configured during installation.

Configuration

KeyTypeDefaultDescription
imagePullSecretslist[]Image pull secrets specification
image.pullPolicystring"IfNotPresent"Image pull policy
image.repositorystring"ghcr.io/it-at-m/ad2image"Image to use for deploying
image.tagstring""Image tag
ingress.extraLabelsobject{}Extra labels for the ingress
ingress.annotationsobject{}Annotations to add to the Ingress resource.
ingress.classNamestring""IngressClass name to use (e.g., nginx).
ingress.enabledboolfalseEnable Kubernetes Ingress.
ingress.hostslist[]List of host rules (each with host and paths).
ingress.tlslist[]TLS settings for the Ingress (e.g., hosts and secretName).
nameOverridestring""Override chart name
podSecurityContextobject{}Pod security context
service.annotationsobject{}Service annotations
service.portint8080Service port
service.typestring"ClusterIP"Service type
serviceAccount.annotationsobject{}Service account annotations
serviceAccount.createboolfalseCreate service account
serviceAccount.namestring""Service account name
defaultModestring""To overwrite the default mode.
ad.urlstring""Connection URL for the AD server, for example ldaps://ad.mydomain.com:636.
ad.userSearchBasestring""User search base for user lookup, for example OU=Users,DC=mycompany,DC=com.
ad.userSearchFilterstring"(&(objectClass=organizationalPerson)(cn={uid}))"User search filter; {uid} is replaced with the requested user UID.
ews.ewsServiceUrlstring""EWS service URL, e.g. https://computer.domain.contoso.com/EWS/Exchange.asmx.
gravatar.enabledboolfalseEnables/disables the gravatar compatability endpoint.
gravatar.hashCacheRefreshCronstring"0 0 4 * * *"cron expression for periodic refresh of the SHA256 email address hashes, "-" to disable.
gravatar.mapPopulationFilterstring"(&(objectClass=organizationalPerson)(mail=*))"LDAP search filter for users which should be included in generation of SHA256-hashed email addresses
gravatar.pageSizeint500page size for retrieval of users
gravatar.defaultModestring""To overwrite the default mode for gravatar.
docsUrlstring""Used as redirect URL for /.
credentials.existingSecretstring""set a secret name here if you want to manage secrets on your own. required keys: [AD_USER_DN, AD_PASSWORD, EWS_USERNAME, EWS_PASSWORD]
credentials.adUserDnstring""Bind User-DN for AD authentication
credentials.adPasswordstring""Password for AD authentication
credentials.ewsUsernamestring""Username for EWS Basic Authentication (username@domain).
credentials.ewsPasswordstring""Password for EWS Basic Authentication.
cache.existingConfigMapstring""Existing ConfigMap with key 'ehcache.xml' containing a custom EhCache configuration
extraEnvVarslist[]Extra environment variables
extraVolumeslist[]Extra volumes
extraVolumeMountslist[]Extra volumeMounts for the pods
initContainerslist[]Extra initContainers for the pods
routesobject{}OpenShift Route definitions (see default values.yaml for examples)

Changelog

2.1.0

appVersion 2.0.0

  • ews.domain value removed as it was only needed for NTLM authentication and is no longer relevant for Basic Authentication used in 2.0.0.
  • gravatar.* compatibility endpoint configuration options added

2.0.0

Route definition

Breaking change: route was replaced by routes (object). Example:

routes:
  main:
    host: example.com
    to:
      kind: Service
      name: my-svc

Deploy ad2image with OpenTenant

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