diff --git a/zazuko/qlever/.helmignore b/zazuko/qlever/.helmignore new file mode 100644 index 0000000..0e8a0eb --- /dev/null +++ b/zazuko/qlever/.helmignore @@ -0,0 +1,23 @@ +# Patterns to ignore when building packages. +# This supports shell glob matching, relative path matching, and +# negation (prefixed with !). Only one pattern per line. +.DS_Store +# Common VCS dirs +.git/ +.gitignore +.bzr/ +.bzrignore +.hg/ +.hgignore +.svn/ +# Common backup files +*.swp +*.bak +*.tmp +*.orig +*~ +# Various IDEs +.project +.idea/ +*.tmproj +.vscode/ diff --git a/zazuko/qlever/Chart.yaml b/zazuko/qlever/Chart.yaml new file mode 100644 index 0000000..4eb8d56 --- /dev/null +++ b/zazuko/qlever/Chart.yaml @@ -0,0 +1,37 @@ +apiVersion: v2 +name: qlever +description: Very fast SPARQL Engine, which can handle very large knowledge graphs like the complete Wikidata, offers context-sensitive autocompletion for SPARQL queries, and allows combination with text search. It's faster than engines like Blazegraph or Virtuoso, especially for queries involving large result sets. +home: https://github.com/ad-freiburg/qlever +icon: https://charts.zazuko.com/icons/logo-zazuko.svg + +# A chart can be either an 'application' or a 'library' chart. +# +# Application charts are a collection of templates that can be packaged into versioned archives +# to be deployed. +# +# Library charts provide useful utilities or functions for the chart developer. They're included as +# a dependency of application charts to inject those utilities and functions into the rendering +# pipeline. Library charts do not define any templates and therefore cannot be deployed. +type: application + +# This is the chart version. This version number should be incremented each time you make changes +# to the chart and its templates, including the app version. +# Versions are expected to follow Semantic Versioning (https://semver.org/) +version: 0.0.1 + +# This is the version number of the application being deployed. This version number should be +# incremented each time you make changes to the application. Versions are not expected to +# follow Semantic Versioning. They should reflect the version the application is using. +# It is recommended to use it with quotes. +appVersion: "sha-76ada0b" + +annotations: + artifacthub.io/links: | + - name: Chart Source + url: https://github.com/zazuko/helm-charts/tree/main/zazuko/qlever + - name: QLever (GitHub) + url: https://github.com/ad-freiburg/qlever + - name: QLever UI (GitHub) + url: https://github.com/ad-freiburg/qlever-ui + - name: support + url: https://github.com/zazuko/helm-charts/issues diff --git a/zazuko/qlever/templates/NOTES.txt b/zazuko/qlever/templates/NOTES.txt new file mode 100644 index 0000000..108630b --- /dev/null +++ b/zazuko/qlever/templates/NOTES.txt @@ -0,0 +1,6 @@ +Thanks for using our Helm Chart! + +To report any issue: +- about the Helm Chart: https://github.com/zazuko/helm-charts +- about our custom QLever Docker images: https://github.com/zazukoians/qlever-tests +- about QLever itself: https://github.com/ad-freiburg/qlever diff --git a/zazuko/qlever/templates/_helpers.tpl b/zazuko/qlever/templates/_helpers.tpl new file mode 100644 index 0000000..8c12a3a --- /dev/null +++ b/zazuko/qlever/templates/_helpers.tpl @@ -0,0 +1,62 @@ +{{/* +Expand the name of the chart. +*/}} +{{- define "qlever.name" -}} +{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }} +{{- end }} + +{{/* +Create a default fully qualified app name. +We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). +If release name contains chart name it will be used as a full name. +*/}} +{{- define "qlever.fullname" -}} +{{- if .Values.fullnameOverride }} +{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }} +{{- else }} +{{- $name := default .Chart.Name .Values.nameOverride }} +{{- if contains $name .Release.Name }} +{{- .Release.Name | trunc 63 | trimSuffix "-" }} +{{- else }} +{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }} +{{- end }} +{{- end }} +{{- end }} + +{{/* +Create chart name and version as used by the chart label. +*/}} +{{- define "qlever.chart" -}} +{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }} +{{- end }} + +{{/* +Common labels +*/}} +{{- define "qlever.labels" -}} +helm.sh/chart: {{ include "qlever.chart" . }} +{{ include "qlever.selectorLabels" . }} +{{- if .Chart.AppVersion }} +app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} +{{- end }} +app.kubernetes.io/managed-by: {{ .Release.Service }} +{{- end }} + +{{/* +Selector labels +*/}} +{{- define "qlever.selectorLabels" -}} +app.kubernetes.io/name: {{ include "qlever.name" . }} +app.kubernetes.io/instance: {{ .Release.Name }} +{{- end }} + +{{/* +Create the name of the service account to use +*/}} +{{- define "qlever.serviceAccountName" -}} +{{- if .Values.serviceAccount.create }} +{{- default (include "qlever.fullname" .) .Values.serviceAccount.name }} +{{- else }} +{{- default "default" .Values.serviceAccount.name }} +{{- end }} +{{- end }} diff --git a/zazuko/qlever/templates/deployment-server.yaml b/zazuko/qlever/templates/deployment-server.yaml new file mode 100644 index 0000000..e63af00 --- /dev/null +++ b/zazuko/qlever/templates/deployment-server.yaml @@ -0,0 +1,79 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: {{ include "qlever.fullname" . }}-server + labels: + app.kubernetes.io/component: server + {{- include "qlever.labels" . | nindent 4 }} +spec: + selector: + matchLabels: + app.kubernetes.io/component: server + {{- include "qlever.selectorLabels" . | nindent 6 }} + template: + metadata: + {{- with .Values.podAnnotations }} + annotations: + {{- toYaml . | nindent 8 }} + {{- end }} + labels: + app.kubernetes.io/component: server + {{- include "qlever.labels" . | nindent 8 }} + {{- with .Values.podLabels }} + {{- toYaml . | nindent 8 }} + {{- end }} + spec: + {{- with .Values.server.imagePullSecrets }} + imagePullSecrets: + {{- toYaml . | nindent 8 }} + {{- end }} + serviceAccountName: {{ include "qlever.serviceAccountName" . }} + securityContext: + {{- toYaml .Values.server.podSecurityContext | nindent 8 }} + containers: + - name: {{ .Chart.Name }}-server + securityContext: + {{- toYaml .Values.server.securityContext | nindent 12 }} + image: "{{ .Values.server.image.repository }}:{{ .Values.server.image.tag | default .Chart.AppVersion }}" + imagePullPolicy: {{ .Values.server.image.pullPolicy }} + ports: + - name: http + containerPort: {{ .Values.server.service.port }} + protocol: TCP + env: + {{- range $key, $value := .Values.config }} + {{- range $subKey, $subValue := $value }} + - name: QLEVER_{{ upper $key }}_{{ upper $subKey }} + {{- if regexMatch "_JSON$" (upper $subKey) }} + value: {{ $subValue | toJson | quote }} + {{- else }} + value: {{ $subValue | quote }} + {{- end }} + {{- end }} + {{- end }} + livenessProbe: + {{- toYaml .Values.server.livenessProbe | nindent 12 }} + readinessProbe: + {{- toYaml .Values.server.readinessProbe | nindent 12 }} + resources: + {{- toYaml .Values.server.resources | nindent 12 }} + {{- with .Values.server.volumeMounts }} + volumeMounts: + {{- toYaml . | nindent 12 }} + {{- end }} + {{- with .Values.server.volumes }} + volumes: + {{- toYaml . | nindent 8 }} + {{- end }} + {{- with .Values.server.nodeSelector }} + nodeSelector: + {{- toYaml . | nindent 8 }} + {{- end }} + {{- with .Values.server.affinity }} + affinity: + {{- toYaml . | nindent 8 }} + {{- end }} + {{- with .Values.server.tolerations }} + tolerations: + {{- toYaml . | nindent 8 }} + {{- end }} diff --git a/zazuko/qlever/templates/deployment-ui.yaml b/zazuko/qlever/templates/deployment-ui.yaml new file mode 100644 index 0000000..88bd119 --- /dev/null +++ b/zazuko/qlever/templates/deployment-ui.yaml @@ -0,0 +1,79 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: {{ include "qlever.fullname" . }}-ui + labels: + app.kubernetes.io/component: ui + {{- include "qlever.labels" . | nindent 4 }} +spec: + selector: + matchLabels: + app.kubernetes.io/component: ui + {{- include "qlever.selectorLabels" . | nindent 6 }} + template: + metadata: + {{- with .Values.podAnnotations }} + annotations: + {{- toYaml . | nindent 8 }} + {{- end }} + labels: + app.kubernetes.io/component: ui + {{- include "qlever.labels" . | nindent 8 }} + {{- with .Values.podLabels }} + {{- toYaml . | nindent 8 }} + {{- end }} + spec: + {{- with .Values.ui.imagePullSecrets }} + imagePullSecrets: + {{- toYaml . | nindent 8 }} + {{- end }} + serviceAccountName: {{ include "qlever.serviceAccountName" . }} + securityContext: + {{- toYaml .Values.ui.podSecurityContext | nindent 8 }} + containers: + - name: {{ .Chart.Name }}-ui + securityContext: + {{- toYaml .Values.ui.securityContext | nindent 12 }} + image: "{{ .Values.ui.image.repository }}:{{ .Values.ui.image.tag | default .Chart.AppVersion }}" + imagePullPolicy: {{ .Values.ui.image.pullPolicy }} + ports: + - name: http + containerPort: {{ .Values.ui.service.port }} + protocol: TCP + env: + {{- range $key, $value := .Values.config }} + {{- range $subKey, $subValue := $value }} + - name: QLEVER_{{ upper $key }}_{{ upper $subKey }} + {{- if regexMatch "_JSON$" (upper $subKey) }} + value: {{ $subValue | toJson | quote }} + {{- else }} + value: {{ $subValue | quote }} + {{- end }} + {{- end }} + {{- end }} + livenessProbe: + {{- toYaml .Values.ui.livenessProbe | nindent 12 }} + readinessProbe: + {{- toYaml .Values.ui.readinessProbe | nindent 12 }} + resources: + {{- toYaml .Values.ui.resources | nindent 12 }} + {{- with .Values.ui.volumeMounts }} + volumeMounts: + {{- toYaml . | nindent 12 }} + {{- end }} + {{- with .Values.ui.volumes }} + volumes: + {{- toYaml . | nindent 8 }} + {{- end }} + {{- with .Values.ui.nodeSelector }} + nodeSelector: + {{- toYaml . | nindent 8 }} + {{- end }} + {{- with .Values.ui.affinity }} + affinity: + {{- toYaml . | nindent 8 }} + {{- end }} + {{- with .Values.ui.tolerations }} + tolerations: + {{- toYaml . | nindent 8 }} + {{- end }} diff --git a/zazuko/qlever/templates/ingress-server.yaml b/zazuko/qlever/templates/ingress-server.yaml new file mode 100644 index 0000000..6773f27 --- /dev/null +++ b/zazuko/qlever/templates/ingress-server.yaml @@ -0,0 +1,62 @@ +{{- if .Values.server.ingress.enabled -}} +{{- $fullName := include "qlever.fullname" . -}} +{{- $svcPort := .Values.server.service.port -}} +{{- if and .Values.server.ingress.className (not (semverCompare ">=1.18-0" .Capabilities.KubeVersion.GitVersion)) }} + {{- if not (hasKey .Values.server.ingress.annotations "kubernetes.io/ingress.class") }} + {{- $_ := set .Values.server.ingress.annotations "kubernetes.io/ingress.class" .Values.server.ingress.className}} + {{- end }} +{{- end }} +{{- if semverCompare ">=1.19-0" .Capabilities.KubeVersion.GitVersion -}} +apiVersion: networking.k8s.io/v1 +{{- else if semverCompare ">=1.14-0" .Capabilities.KubeVersion.GitVersion -}} +apiVersion: networking.k8s.io/v1beta1 +{{- else -}} +apiVersion: extensions/v1beta1 +{{- end }} +kind: Ingress +metadata: + name: {{ $fullName }}-server + labels: + app.kubernetes.io/component: server + {{- include "qlever.labels" . | nindent 4 }} + {{- with .Values.server.ingress.annotations }} + annotations: + {{- toYaml . | nindent 4 }} + {{- end }} +spec: + {{- if and .Values.server.ingress.className (semverCompare ">=1.18-0" .Capabilities.KubeVersion.GitVersion) }} + ingressClassName: {{ .Values.server.ingress.className }} + {{- end }} + {{- if .Values.server.ingress.tls }} + tls: + {{- range .Values.server.ingress.tls }} + - hosts: + {{- range .hosts }} + - {{ . | quote }} + {{- end }} + secretName: {{ .secretName }} + {{- end }} + {{- end }} + rules: + {{- range .Values.server.ingress.hosts }} + - host: {{ .host | quote }} + http: + paths: + {{- range .paths }} + - path: {{ .path }} + {{- if and .pathType (semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion) }} + pathType: {{ .pathType }} + {{- end }} + backend: + {{- if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }} + service: + name: {{ $fullName }} + port: + number: {{ $svcPort }} + {{- else }} + serviceName: {{ $fullName }} + servicePort: {{ $svcPort }} + {{- end }} + {{- end }} + {{- end }} +{{- end }} diff --git a/zazuko/qlever/templates/ingress-ui.yaml b/zazuko/qlever/templates/ingress-ui.yaml new file mode 100644 index 0000000..374a7b2 --- /dev/null +++ b/zazuko/qlever/templates/ingress-ui.yaml @@ -0,0 +1,62 @@ +{{- if .Values.ui.ingress.enabled -}} +{{- $fullName := include "qlever.fullname" . -}} +{{- $svcPort := .Values.ui.service.port -}} +{{- if and .Values.ui.ingress.className (not (semverCompare ">=1.18-0" .Capabilities.KubeVersion.GitVersion)) }} + {{- if not (hasKey .Values.ui.ingress.annotations "kubernetes.io/ingress.class") }} + {{- $_ := set .Values.ui.ingress.annotations "kubernetes.io/ingress.class" .Values.ui.ingress.className}} + {{- end }} +{{- end }} +{{- if semverCompare ">=1.19-0" .Capabilities.KubeVersion.GitVersion -}} +apiVersion: networking.k8s.io/v1 +{{- else if semverCompare ">=1.14-0" .Capabilities.KubeVersion.GitVersion -}} +apiVersion: networking.k8s.io/v1beta1 +{{- else -}} +apiVersion: extensions/v1beta1 +{{- end }} +kind: Ingress +metadata: + name: {{ $fullName }}-ui + labels: + app.kubernetes.io/component: ui + {{- include "qlever.labels" . | nindent 4 }} + {{- with .Values.ui.ingress.annotations }} + annotations: + {{- toYaml . | nindent 4 }} + {{- end }} +spec: + {{- if and .Values.ui.ingress.className (semverCompare ">=1.18-0" .Capabilities.KubeVersion.GitVersion) }} + ingressClassName: {{ .Values.ui.ingress.className }} + {{- end }} + {{- if .Values.ui.ingress.tls }} + tls: + {{- range .Values.ui.ingress.tls }} + - hosts: + {{- range .hosts }} + - {{ . | quote }} + {{- end }} + secretName: {{ .secretName }} + {{- end }} + {{- end }} + rules: + {{- range .Values.ui.ingress.hosts }} + - host: {{ .host | quote }} + http: + paths: + {{- range .paths }} + - path: {{ .path }} + {{- if and .pathType (semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion) }} + pathType: {{ .pathType }} + {{- end }} + backend: + {{- if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }} + service: + name: {{ $fullName }} + port: + number: {{ $svcPort }} + {{- else }} + serviceName: {{ $fullName }} + servicePort: {{ $svcPort }} + {{- end }} + {{- end }} + {{- end }} +{{- end }} diff --git a/zazuko/qlever/templates/service-server.yaml b/zazuko/qlever/templates/service-server.yaml new file mode 100644 index 0000000..6b38d83 --- /dev/null +++ b/zazuko/qlever/templates/service-server.yaml @@ -0,0 +1,17 @@ +apiVersion: v1 +kind: Service +metadata: + name: {{ include "qlever.fullname" . }}-server + labels: + app.kubernetes.io/component: server + {{- include "qlever.labels" . | nindent 4 }} +spec: + type: {{ .Values.server.service.type }} + ports: + - port: {{ .Values.server.service.port }} + targetPort: http + protocol: TCP + name: http + selector: + app.kubernetes.io/component: server + {{- include "qlever.selectorLabels" . | nindent 4 }} diff --git a/zazuko/qlever/templates/service-ui.yaml b/zazuko/qlever/templates/service-ui.yaml new file mode 100644 index 0000000..f5cf0eb --- /dev/null +++ b/zazuko/qlever/templates/service-ui.yaml @@ -0,0 +1,17 @@ +apiVersion: v1 +kind: Service +metadata: + name: {{ include "qlever.fullname" . }}-ui + labels: + app.kubernetes.io/component: ui + {{- include "qlever.labels" . | nindent 4 }} +spec: + type: {{ .Values.ui.service.type }} + ports: + - port: {{ .Values.ui.service.port }} + targetPort: http + protocol: TCP + name: http + selector: + app.kubernetes.io/component: ui + {{- include "qlever.selectorLabels" . | nindent 4 }} diff --git a/zazuko/qlever/templates/serviceaccount.yaml b/zazuko/qlever/templates/serviceaccount.yaml new file mode 100644 index 0000000..6b919fd --- /dev/null +++ b/zazuko/qlever/templates/serviceaccount.yaml @@ -0,0 +1,13 @@ +{{- if .Values.serviceAccount.create -}} +apiVersion: v1 +kind: ServiceAccount +metadata: + name: {{ include "qlever.serviceAccountName" . }} + labels: + {{- include "qlever.labels" . | nindent 4 }} + {{- with .Values.serviceAccount.annotations }} + annotations: + {{- toYaml . | nindent 4 }} + {{- end }} +automountServiceAccountToken: {{ .Values.serviceAccount.automount }} +{{- end }} diff --git a/zazuko/qlever/values.yaml b/zazuko/qlever/values.yaml new file mode 100644 index 0000000..27c8584 --- /dev/null +++ b/zazuko/qlever/values.yaml @@ -0,0 +1,304 @@ +# -- nameOverride overrides the chart name +nameOverride: "" +# -- fullnameOverride overrides the full name of the chart +fullnameOverride: "" + +# QLever configuration +config: + data: + name: default + # name: olympics + # base_url: https://github.com/wallscope/olympics-rdf + # get_data_cmd: curl -sLo olympics.zip -C - https://github.com/wallscope/olympics-rdf/raw/master/data/olympics-nt-nodup.zip && unzip -q -o olympics.zip && rm olympics.zip + # description: 120 Years of Olympics, data from https://github.com/wallscope/olympics-rdf + # text_description: All literals, search with FILTER CONTAINS(?var, "...") + index: + settings_json: + ascii-prefixes-only: false + num_triples_per_batch: 100000 + + # input_files: olympics.nt + # cat_input_files: cat olympics.nt + server: + host_name: 127.0.0.1 # Hostname used to access the server ; the value of the hostname from `server.ingress.hosts[0].host` should be the same + port: 7001 + access_token: default_random_access_token + # access_token: olympics_7643543846_Zs6nw7yi3Z9m + memory_for_queries: 5G + cache_max_size: 2G + timeout: 30s + runtime: + system: native + ui: + ui_port: 7002 + ui_config: default + # ui_config: olympics + +# Service account configuration +serviceAccount: + # -- create tells if a service account should be created + create: false + # -- automount tells if the service account should be automounted + automount: true + # -- annotations to add to the service account + annotations: {} + # -- name is the name of the service account to use + name: "" + +# Server configuration +server: + # -- replicaCount is the number of replicas to deploy + replicaCount: 1 + + # Information about the Fuseki Docker image to use. + # In case you want to use a custom image, you can set the repository and tag here. + image: + # -- repository is the Docker image to use + repository: ghcr.io/zazukoians/qlever-server + # -- pullPolicy is the policy to use when pulling the image + pullPolicy: IfNotPresent + # -- tag is used to overrides the image tag whose default is the chart appVersion + tag: "" + + # -- imagePullSecrets used to pull the Docker image + imagePullSecrets: [] + + # -- podAnnotations to use + podAnnotations: {} + # -- podLabels to use + podLabels: {} + + # Pod security context configuration + podSecurityContext: + # -- fsGroup is the group ID to run the container as + fsGroup: 1000 + # -- runAsGroup is the group ID to run the container as + runAsGroup: 1000 + # -- runAsNonRoot tells if the container should run as a non-root user + runAsNonRoot: true + # -- runAsUser is the user ID to run the container as + runAsUser: 1000 + + # Security context configuration + securityContext: + # -- allowPrivilegeEscalation tells if the container can request to allow privilege escalation + allowPrivilegeEscalation: false + # -- capabilities to add/drop + capabilities: {} + # -- privileged tells if the container is privileged + privileged: false + # -- runAsNonRoot tells if the container should run as a non-root user + runAsNonRoot: true + # -- runAsUser is the user ID to run the container as + runAsUser: 1000 + # -- readOnlyRootFilesystem tells if the container should have a read-only root filesystem + readOnlyRootFilesystem: false + # -- seLinuxOptions to add + seLinuxOptions: {} + + # Service configuration + service: + # -- type is the type of service to create + type: ClusterIP + # -- port is the port the service will listen on + port: 7001 + + # Ingress configuration + ingress: + # -- enabled allows you to enable or disable the Ingress + enabled: false + # -- className is the ingress class to use + className: "" + # -- annotations to add to the Ingress + annotations: + {} + # kubernetes.io/ingress.class: nginx + # kubernetes.io/tls-acme: "true" + # -- hosts is the list of hostnames to be exposed + hosts: + [] + # - host: qlever-server-example.local + # paths: + # - path: / + # pathType: ImplementationSpecific + # -- tls is the list of TLS configuration + tls: [] + # - secretName: qlever-server-example-tls + # hosts: + # - qlever-server-example.local + + # -- resources to request for the pod + resources: + {} + # We usually recommend not to specify default resources and to leave this as a conscious + # choice for the user. This also increases chances charts run on environments with little + # resources, such as Minikube. If you do want to specify resources, uncomment the following + # lines, adjust them as necessary, and remove the curly braces after 'resources:'. + # limits: + # cpu: 100m + # memory: 128Mi + # requests: + # cpu: 100m + # memory: 128Mi + + # -- livenessProbe is a health check to determine if the container is still running + livenessProbe: + tcpSocket: + port: http + + # -- readinessProbe is a health check to determine if the container is ready to serve traffic + readinessProbe: + tcpSocket: + port: http + + # -- volumes to mount on the output Deployment definition + volumes: [] + # - name: foo + # secret: + # secretName: mysecret + # optional: false + + # -- volume mounts to use + volumeMounts: [] + # - name: foo + # mountPath: "/etc/foo" + # readOnly: true + + # -- nodeSelector to use + nodeSelector: {} + + # -- tolerations to use + tolerations: [] + + # -- affinity to use + affinity: {} + +# UI configuration +ui: + # -- replicaCount is the number of replicas to deploy + replicaCount: 1 + + # Information about the Fuseki Docker image to use. + # In case you want to use a custom image, you can set the repository and tag here. + image: + # -- repository is the Docker image to use + repository: ghcr.io/zazukoians/qlever-ui + # -- pullPolicy is the policy to use when pulling the image + pullPolicy: IfNotPresent + # -- tag is used to overrides the image tag whose default is the chart appVersion + tag: "" + + # -- imagePullSecrets used to pull the Docker image + imagePullSecrets: [] + + # -- podAnnotations to use + podAnnotations: {} + # -- podLabels to use + podLabels: {} + + # Pod security context configuration + podSecurityContext: + # -- fsGroup is the group ID to run the container as + fsGroup: 1000 + # -- runAsGroup is the group ID to run the container as + runAsGroup: 1000 + # -- runAsNonRoot tells if the container should run as a non-root user + runAsNonRoot: true + # -- runAsUser is the user ID to run the container as + runAsUser: 1000 + + # Security context configuration + securityContext: + # -- allowPrivilegeEscalation tells if the container can request to allow privilege escalation + allowPrivilegeEscalation: false + # -- capabilities to add/drop + capabilities: {} + # -- privileged tells if the container is privileged + privileged: false + # -- runAsNonRoot tells if the container should run as a non-root user + runAsNonRoot: true + # -- runAsUser is the user ID to run the container as + runAsUser: 1000 + # -- readOnlyRootFilesystem tells if the container should have a read-only root filesystem + readOnlyRootFilesystem: false + # -- seLinuxOptions to add + seLinuxOptions: {} + + # Service configuration + service: + # -- type is the type of service to create + type: ClusterIP + # -- port is the port the service will listen on + port: 7002 + + # Ingress configuration + ingress: + # -- enabled allows you to enable or disable the Ingress + enabled: false + # -- className is the ingress class to use + className: "" + # -- annotations to add to the Ingress + annotations: + {} + # kubernetes.io/ingress.class: nginx + # kubernetes.io/tls-acme: "true" + # -- hosts is the list of hostnames to be exposed + hosts: + [] + # - host: qlever-ui-example.local + # paths: + # - path: / + # pathType: ImplementationSpecific + # -- tls is the list of TLS configuration + tls: [] + # - secretName: qlever-ui-example-tls + # hosts: + # - qlever-ui-example.local + + # -- resources to request for the pod + resources: + {} + # We usually recommend not to specify default resources and to leave this as a conscious + # choice for the user. This also increases chances charts run on environments with little + # resources, such as Minikube. If you do want to specify resources, uncomment the following + # lines, adjust them as necessary, and remove the curly braces after 'resources:'. + # limits: + # cpu: 100m + # memory: 128Mi + # requests: + # cpu: 100m + # memory: 128Mi + + # -- livenessProbe is a health check to determine if the container is still running + livenessProbe: + httpGet: + path: "/" + port: http + + # -- readinessProbe is a health check to determine if the container is ready to serve traffic + readinessProbe: + httpGet: + path: "/" + port: http + + # -- volumes to mount on the output Deployment definition + volumes: [] + # - name: foo + # secret: + # secretName: mysecret + # optional: false + + # -- volume mounts to use + volumeMounts: [] + # - name: foo + # mountPath: "/etc/foo" + # readOnly: true + + # -- nodeSelector to use + nodeSelector: {} + + # -- tolerations to use + tolerations: [] + + # -- affinity to use + affinity: {}