answer/charts
PurseChicken ae3be43fef
Chart refactoring (#311)
2023-04-10 17:19:56 +08:00
..
templates Chart refactoring (#311) 2023-04-10 17:19:56 +08:00
.helmignore Chart refactoring (#311) 2023-04-10 17:19:56 +08:00
Chart.yaml Chart refactoring (#311) 2023-04-10 17:19:56 +08:00
README.md Chart refactoring (#311) 2023-04-10 17:19:56 +08:00
values.yaml Chart refactoring (#311) 2023-04-10 17:19:56 +08:00

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.

Parameter Description Default
replicaCount Number of answer replicas 1
image.repository Image repository answerdev/answer
image.pullPolicy Image pull policy Always
image.tag Image tag latest
env Optional environment variables for answer LOG_LEVEL: INFO
extraContainers Optional sidecar containers to run along side answer []
persistence.enabled Enable or disable persistence for the /data volume true
persistence.accessMode Specify the access mode of the persistent volume ReadWriteOnce
persistence.size The size of the persistent volume 5Gi
persistence.annotations Annotations to add to the volume claim {}
imagePullSecrets Reference to one or more secrets to be used when pulling images []
nameOverride nameOverride replaces the name of the chart in the Chart.yaml file, when this is used to construct Kubernetes object names.
fullnameOverride fullnameOverride completely replaces the generated name.
serviceAccount.create If true, create a new service account true
serviceAccount.annotations Annotations to add to the service account {}
serviceAccount.name Service account to be used. If not set and serviceAccount.create is true, a name is generated using the fullname template
podAnnotations Annotations to add to the answer pod {}
podSecurityContext Security context for the answer pod {} refer to Default Security Contexts
securityContext Security context for the answer container {} refer to Default Security Contexts
service.type The type of service to be used ClusterIP
service.port The port that the service should listen on for requests. Also used as the container port. 80
ingress.enabled Enable or disable ingress. false
resources CPU/memory resource requests/limits {}
autoscaling.enabled Enable or disable pod autoscaling. If enabled, replicas are disabled. false
nodeSelector Node labels for pod assignment {}
tolerations Node tolerations for pod assignment []
affinity Node 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 answerdev https://charts.answer.dev/
$ helm repo update
$ helm install answerdev/answer -n mynamespace