tree: 77a5b4a23ebd72af6d218bd54475c493d7b329be [path history] [tgz]
  1. templates/
  2. .helmignore
  3. Chart.yaml
  4. README.md
  5. values.yaml
charts/README.md

answer

An open-source knowledge-based community software. You can use it quickly to build Q&A community for your products, customers, teams, and more.

Prerequisites

  • Kubernetes 1.20+

Configuration

The following table lists the configurable parameters of the answer chart and their default values.

ParameterDescriptionDefault
replicaCountNumber of answer replicas1
image.repositoryImage repositoryapache/answer
image.pullPolicyImage pull policyAlways
image.tagImage taglatest
envOptional environment variables for answerLOG_LEVEL: INFO
extraContainersOptional sidecar containers to run along side answer[]
persistence.enabledEnable or disable persistence for the /data volumetrue
persistence.accessModeSpecify the access mode of the persistent volumeReadWriteOnce
persistence.sizeThe size of the persistent volume5Gi
persistence.annotationsAnnotations to add to the volume claim{}
imagePullSecretsReference to one or more secrets to be used when pulling images[]
nameOverridenameOverride replaces the name of the chart in the Chart.yaml file, when this is used to construct Kubernetes object names.
fullnameOverridefullnameOverride completely replaces the generated name.
serviceAccount.createIf true, create a new service accounttrue
serviceAccount.annotationsAnnotations to add to the service account{}
serviceAccount.nameService account to be used. If not set and serviceAccount.create is true, a name is generated using the fullname template
podAnnotationsAnnotations to add to the answer pod{}
podSecurityContextSecurity context for the answer pod{} refer to Default Security Contexts
securityContextSecurity context for the answer container{} refer to Default Security Contexts
service.typeThe type of service to be usedClusterIP
service.portThe port that the service should listen on for requests. Also used as the container port.80
ingress.enabledEnable or disable ingress.false
resourcesCPU/memory resource requests/limits{}
autoscaling.enabledEnable or disable pod autoscaling. If enabled, replicas are disabled.false
nodeSelectorNode labels for pod assignment{}
tolerationsNode tolerations for pod assignment[]
affinityNode affinity for pod assignment{}

Default Security Contexts

The default pod-level and container-level security contexts, below, adhere to the restricted Pod Security Standards policies.

Default pod-level securityContext:

runAsNonRoot: true
seccompProfile:
  type: RuntimeDefault

Default containerSecurityContext:

allowPrivilegeEscalation: false
capabilities:
  drop:
  - ALL

Installing with a Values file

$ helm install answer -f values.yaml .

Tip: You can use the default [values.yaml]

TODO

Publish the chart to Artifacthub and add proper installation instructions. E.G.

NOTE: This is not currently a valid installation option.

$ helm repo add apache https://charts.answer.apache.org/
$ helm repo update
$ helm install apache/answer -n mynamespace