Helm chartv1.2.4App 5.4Verified publisher

e2guardian Chart

About this chart

E2guardian

e2guardian Chart

The chart is under active development and may contain bugs/unfinished documentation. Any testing/contributions are welcome! :)

Homepage: https://github.com/e2guardian/e2guardian/

Maintainers

NameEmailUrl
NOC[email protected]
SRE[email protected]

Source Code

Requirements

RepositoryNameVersion
https://bedag.github.io/helm-charts/manifests>=0.4.0

How to use this Chart?

You can choose between deployment, statefulset, daemonset. Deployment is per default enabled. You can enable disable those like this:

deployment:
  enabled: true
statefulset:
  enabled: false
daemonset:
  enabled: false

All important E2guardian variables are under e2g. Go to Values for more information.

See the Examples to get a better idea, of how tests could look like.

Major Changes

Major Changes to functions are documented with the version affected. Before upgrading the dependency version, check this section out!

ChangeChart VersionDescriptionCommits/PRs

Values

KeyTypeDefaultDescription
commonLabelsobject{}Common Labels are added to each kubernetes resource manifest.
daemonset.apiVersionstring""Configure the api version used for the DaemonSet resource
daemonset.enabledboolfalseEnable daemonset
daemonset.labelsobject{}Merges given labels with common labels
daemonset.minReadySecondsstring""DaemonSet Min Ready in Seconds. DaemonSet only
daemonset.rollingUpdatemaxUnavailablestring""
daemonset.selectorLabelsobject{}Define SelectorLabels for the Pod Template
daemonset.updateStrategystring"RollingUpdate"DaemonSet Update Strategy. DaemonSet only
deployment.apiVersionstring""Configure the api version used for the Deployment resource
deployment.deploymentExtrasobject{}Extra Fields for Deployment Manifest
deployment.enabledbooltrueEnable deployment
deployment.labelsobject{}Merges given labels with common labels
deployment.replicaCountint1Amount of Replicas deployed
deployment.selectorLabelsobject{}Define SelectorLabels for the Pod Template
deployment.strategyobject{"type":"RollingUpdate"}Deployment Update Strategy. Deployments only
e2g.configstringnile2g config mounted in e2guardian.conf
e2g.filtergroupslist[]Array of e2g config for a filgergroup mounted as /usr/local/e2guardian/etc/e2guardian/e2guardianf{{ id }}.conf
e2g.listslist[]Array of e2g stories as string mounted in /usr/local/e2guardian/etc/e2guardian/listen/{{ $i }}.list
e2g.storylist[]Array of e2g stories as string mounted in /usr/local/e2guardian/etc/e2guardian/{{ $i }}.story
fullnameOverridestring""Overwrite lib.utils.common.fullname output
global.defaultTagstring""Global Docker Image Tag declaration. Will be used as default tag, if no tag is given by child
global.imagePullPolicystring""Global Docker Image Pull Policy declaration. Will overwrite all child .pullPolicy fields.
global.imagePullSecretslist[]Global Docker Image Pull Secrets declaration. Added to local Docker Image Pull Secrets.
global.imageRegistrystring""Global Docker Image Registry declaration. Will overwrite all child .registry fields.
global.storageClassstring""Global StorageClass declaration. Can be used to overwrite StorageClass fields.
kubeCapabilitiesstring$.Capabilities.KubeVersion.GitVersionOverwrite the Kube GitVersion
nameOverridestring""Overwrite "lib.internal.common.name" output
overwriteLabelsobject{}Overwrites default labels, but not resource specific labels and common labels
pod.affinityobject{}Pod Affinity
pod.apiVersionstring""Configure the api version used for the Pod resource
pod.argsobject{}Configure arguments for executed command
pod.commandobject{}Configure executed container command
pod.containerFieldsobject{}Extra fields used on the container definition
pod.containerNamestring.Chart.NameConfigure Container Name
pod.environmentlist[]Configure Environment Variables (Refer to values.yaml)
pod.forceRedeployboolfalse
pod.image.pullPolicystringnilConfigure Docker Pull Policy. Will be overwritten if set by global variable.
pod.image.registrystring"docker.io"Configure Docker Registry. Will be overwritten if set by global variable.
pod.image.repositorystring"bedag/e2g"Configure Docker Repository
pod.image.tagstringTag defaults to .Chart.Appversion, if not setConfigure Docker Image tag
pod.imagePullSecretslist[]Define ImagePullSecrets. Will be overwritten if set by global variable.
pod.initContainerslist[]Pod initContainers
pod.lifecycleobject{}Container Lifecycle
pod.livenessProbeobject{"initialDelaySeconds":15,"periodSeconds":1,"tcpSocket":{"port":1344}}Container LivenessProbe
pod.nodeSelectorobject{}Pod NodeSelector
pod.podAnnotationsobject{}Pod annotations are only added for the pod
pod.podFieldsobject{"terminationGracePeriodSeconds":0}Add extra field to the Pod Template if not available as value.
pod.podLabelsobject{}Pod labels are only added for the pod
pod.podSecurityContextobject{"fsGroup":65534,"runAsNonRoot":true,"runAsUser":65534}Pod SecurityContext
pod.portslist[{"containerPort":1344,"name":"icap","protocol":"TCP"},{"containerPort":8080,"name":"http","protocol":"TCP"},{"containerPort":8443,"name":"https","protocol":"TCP"}]Configure Container Ports
pod.priorityClassNamestring""Pod priorityClassName
pod.readinessProbeobject{"initialDelaySeconds":5,"periodSeconds":1,"tcpSocket":{"port":1344}}Container ReadinessProbe
pod.resourcesobject{}Configure Container Resource
pod.restartPolicystringnilRestart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy
pod.securityContextobject{"allowPrivilegeEscalation":false,"runAsGroup":65534,"runAsUser":65534}Container SecurityContext
pod.serviceAccount.annotationsobject{}Annotations to add to the service account
pod.serviceAccount.apiVersionstringv1Configure the api version used
pod.serviceAccount.automountServiceAccountTokenbooltrueAutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted.
pod.serviceAccount.createboolfalseSpecifies whether a service account should be created
pod.serviceAccount.enabledboolfalseSpecifies whether a service account is enabled or not
pod.serviceAccount.globalPullSecretsboolfalseEvaluate global set pullsecrets and mount, if set
pod.serviceAccount.imagePullSecretslist[]ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount.
pod.serviceAccount.labelsobject{}Merges given labels with common labels
pod.serviceAccount.namestring""If not set and create is true, a name is generated using the fullname template
pod.serviceAccount.secretslist[]Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount
pod.sidecarslist[]Allows to add sidecars to your [maincar]](https://kubernetes.io/docs/concepts/workloads/pods/#using-pods)
pod.startupProbeobject{}Container StartupProbe
pod.tolerationsobject{}Pod Tolerations
pod.volumeMountslist[]Configure Container volumeMounts
pod.volumeslist[]Additional Volumes
proxy.httpProxy.hoststring""Configure HTTP Proxy Hostname/IP (without protocol://)
proxy.httpProxy.portintnilConfigure HTTP Proxy Port
proxy.httpProxy.protocolstringhttpConfigure HTTP Proxy Protocol (http/https)
proxy.httpsProxy.hoststring""Configure HTTPS Proxy Hostname/IP (without protocol://)
proxy.httpsProxy.portintnilConfigure HTTPS Proxy Port
proxy.httpsProxy.protocolstringhttpConfigure HTTPS Proxy Protocol (http/https)
proxy.noProxylist[]Configure No Proxy Hosts noProxy: [ "localhost", "127.0.0.1" ]
selectorLabelsobject{}Define default selectorLabels
service.annotationsobject{}Configure Service additional Annotations (Monitor Labels)
service.apiVersionstringv1Configure the api version used
service.enabledbooltrueEnable Service Resource
service.extraPortslist[{"name":"http","port":8080,"protocol":"TCP","targetPort":"http"},{"name":"https","port":8443,"protocol":"TCP","targetPort":"https"}]Add additional ports to the service
service.labelsobject{}Configure Service additional Labels
service.loadBalancerIPstring""Configure Service loadBalancerIP. Set the LoadBalancer service type to internal only.
service.loadBalancerSourceRangeslist[]Configure Service loadBalancerSourceRanges # Example: # loadBalancerSourceRanges: # - 10.10.10.0/24 #
service.nodePortstringnilSpecify the nodePort value for the LoadBalancer and NodePort service types
service.portint80Configure Service Port (Required)
service.portNamestringhttpConfigure Service Port name
service.protocolstringTCPConfigure Service Port Protocol
service.selectorobject{}Configure Service Selector Labels
service.targetPortstringhttpConfigure Service TargetPort
service.typestring""Configure Service Type.
statefulset.apiVersionstring""Configure the api version used for the Statefulset resource
statefulset.enabledboolfalseEnable statefulset
statefulset.labelsobject{}Merges given labels with common labels
statefulset.podManagementPolicystring""Statefulset Management Policy. Statefulset only
statefulset.replicaCountint3Amount of Replicas deployed
statefulset.rollingUpdatePartitionstring""Statefulset Update Pratition. Statefulset only
statefulset.selectorLabelsobject{}Define SelectorLabels for the Pod Template
statefulset.serviceNamestring

Deploy e2g with OpenTenant

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