Document extraEnv in values.yaml for every workload.

This commit is contained in:
Ben Banfield-Zanin committed 2025-06-16 11:13:30 +01:00
1 parent ad686c1dee
commit 7df2c582ef
6 files changed
+33 -12

No files matched your search

@@ -11,6 +11,7 @@ replicas: 1
{{- sub_schema_values.labels() }}
{{- sub_schema_values.workloadAnnotations() }}
{{- sub_schema_values.containersSecurityContext() }}
{{- sub_schema_values.extraEnv() }}
{{- sub_schema_values.nodeSelector() }}
{{- sub_schema_values.podSecurityContext(user_id='10001', group_id='10001') }}
{{- sub_schema_values.resources(requests_memory='100Mi', requests_cpu='100m', limits_memory='200Mi') }}
@@ -17,14 +17,13 @@ enabled: true
{#- We set `initSecret=false` because we are describing the mechanism in the comment parameter #}
{{- sub_schema_values.credential("The secret for the LiveKit SFU.\n## This is required if `sfu.enabled` and `keysYaml` is not used. It will be generated by the `initSecrets` job if it is empty", "secret", initIfAbsent=False, commented=True) | indent(2) }}
{{- sub_schema_values.ingress() -}}
{{- sub_schema_values.extraEnv() }}
replicas: 1
{{- sub_schema_values.ingress() }}
{{- sub_schema_values.image(registry='ghcr.io', repository='element-hq/lk-jwt-service', tag='0.2.3') }}
{{- sub_schema_values.labels() }}
{{- sub_schema_values.workloadAnnotations() }}
{{- sub_schema_values.containersSecurityContext() }}
{{- sub_schema_values.extraEnv() }}
{{- sub_schema_values.nodeSelector() }}
{{- sub_schema_values.podSecurityContext(user_id='10033', group_id='10033') }}
{{- sub_schema_values.resources(requests_memory='20Mi', requests_cpu='50m', limits_memory='20Mi') }}
@@ -68,6 +68,7 @@ syn2mas:
{{- sub_schema_values.podSecurityContext(user_id='10005', group_id='10005') | indent(2) -}}
{{- sub_schema_values.resources(requests_memory='50Mi', requests_cpu='50m', limits_memory='350Mi') | indent(2) -}}
{{- sub_schema_values.serviceAccount() | indent(2) -}}
{{- sub_schema_values.extraEnv() | indent(2) -}}
{{- sub_schema_values.tolerations() | indent(2) }}
## Runs the syn2mas process in dryRun mode.
+2 -1
View File
@@ -8,7 +8,8 @@ enabled: true
postgresExporter:
{{- sub_schema_values.image(registry='docker.io', repository='prometheuscommunity/postgres-exporter', tag='v0.17.0') | indent(2) }}
{{- sub_schema_values.resources(requests_memory='10Mi', requests_cpu='10m', limits_memory='500Mi')| indent(2) }}
{{- sub_schema_values.containersSecurityContext()| indent(2) }}
{{- sub_schema_values.containersSecurityContext() | indent(2) }}
{{- sub_schema_values.extraEnv() | indent(2) }}
{{- sub_schema_values.probe("liveness", periodSeconds=6, timeoutSeconds=2) | indent(2) }}
{{- sub_schema_values.probe("readiness", periodSeconds=2, successThreshold=2, timeoutSeconds=2) | indent(2) }}
{{- sub_schema_values.probe("startup", failureThreshold=20, periodSeconds=2) | indent(2) }}
+26 -8
View File
@@ -395,6 +395,8 @@ matrixRTC:
## secret: existing-secret
## secretKey: key-in-secret
# secret: {}
replicas: 1
## How this ingress should be constructed
ingress:
## What hostname should be used for this Ingress
@@ -417,14 +419,6 @@ matrixRTC:
## If set, some tweaks will be applied automatically to ingresses based on the controller type here.
## This can be set to `ingress-nginx`.
# controllerType:
## Defines additional environment variables to be injected onto this workload
## e.g.
## extraEnv:
## - name: FOO
## value: "bar"
extraEnv: []
replicas: 1
# Details of the image to be used
image:
## The host and (optional) port of the container image registry for this component.
@@ -478,6 +472,12 @@ matrixRTC:
## localhostProfile must only be set set if type Localhost. It indicates the path of the pre-configured profile on the node, relative to the kubelet's configured Seccomp profile location (configured with the --root-dir flag).
# seccompProfile:
# type: RuntimeDefault
## Defines additional environment variables to be injected onto this workload
## e.g.
## extraEnv:
## - name: FOO
## value: "bar"
extraEnv: []
## NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
# nodeSelector: {}
## A subset of PodSecurityContext. PodSecurityContext holds pod-level security attributes and common container settings
@@ -1181,6 +1181,12 @@ haproxy:
## localhostProfile must only be set set if type Localhost. It indicates the path of the pre-configured profile on the node, relative to the kubelet's configured Seccomp profile location (configured with the --root-dir flag).
# seccompProfile:
# type: RuntimeDefault
## Defines additional environment variables to be injected onto this workload
## e.g.
## extraEnv:
## - name: FOO
## value: "bar"
extraEnv: []
## NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
# nodeSelector: {}
## A subset of PodSecurityContext. PodSecurityContext holds pod-level security attributes and common container settings
@@ -1883,6 +1889,12 @@ matrixAuthenticationService:
## Annotations to add to the service account
annotations: {}
## Defines additional environment variables to be injected onto this workload
## e.g.
## extraEnv:
## - name: FOO
## value: "bar"
extraEnv: []
## Workload tolerations allows Pods that are part of this (sub)component to 'tolerate' any taint that matches the triple <key,value,effect> using the matching operator <operator>.
##
## * effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
@@ -1969,6 +1981,12 @@ postgres:
## localhostProfile must only be set set if type Localhost. It indicates the path of the pre-configured profile on the node, relative to the kubelet's configured Seccomp profile location (configured with the --root-dir flag).
# seccompProfile:
# type: RuntimeDefault
## Defines additional environment variables to be injected onto this workload
## e.g.
## extraEnv:
## - name: FOO
## value: "bar"
extraEnv: []
## Configuration of the thresholds and frequencies of the livenessProbe
livenessProbe:
## How many consecutive failures for the probe to be considered failed
+1
View File
@@ -0,0 +1 @@
Document `extraEnv` in `values.yaml` for every workload.