diff --git a/docs/sources/installation/helm/reference.md b/docs/sources/installation/helm/reference.md index 4f0846d245..47c5869b92 100644 --- a/docs/sources/installation/helm/reference.md +++ b/docs/sources/installation/helm/reference.md @@ -81,12 +81,21 @@ null
 false
 
+ + + + enterprise.externalConfigName + string + Name of the external config secret to use +
+""
+
enterprise.externalLicenseName string - Name of external licesne secret to use + Name of external license secret to use
 null
 
@@ -157,6 +166,7 @@ null "annotations": {}, "enabled": true, "env": [], + "extraVolumeMounts": [], "image": { "pullPolicy": "IfNotPresent", "registry": "docker.io", @@ -202,6 +212,15 @@ true
 []
 
+ + + + enterprise.provisioner.extraVolumeMounts + list + Volume mounts to add to the provisioner pods +
+[]
+
@@ -318,6 +337,7 @@ null "extraVolumeMounts": [], "extraVolumes": [], "labels": {}, + "priorityClassName": "", "securityContext": { "fsGroup": 10001, "runAsGroup": 10001, @@ -400,6 +420,15 @@ true
 {}
 
+ + + + enterprise.tokengen.priorityClassName + string + The name of the PriorityClass for tokengen Pods +
+""
+
@@ -712,6 +741,15 @@ false } ] + + + + gateway.ingress.ingressClassName + string + Ingress Class Name. MAY be required for Kubernetes versions >= 1.18 +
+""
+
@@ -1030,6 +1068,15 @@ false
 "loki.example.com"
 
+ + + + ingress.ingressClassName + string + +
+""
+
@@ -1192,6 +1239,15 @@ false
 "/loki/api/v1/push"
 
+ + + + ingress.tls + list + +
+[]
+
@@ -1644,42 +1700,6 @@ false "rootUser": "enterprise-logs" } - - - - monitoring.alerts.annotations - object - Additional annotations for the alerts PrometheusRule resource -
-{}
-
- - - - monitoring.alerts.enabled - bool - If enabled, create PrometheusRule resource with Loki alerting rules -
-true
-
- - - - monitoring.alerts.labels - object - Additional labels for the alerts PrometheusRule resource -
-{}
-
- - - - monitoring.alerts.namespace - string - Alternative namespace to create alerting rules PrometheusRule resource in -
-null
-
diff --git a/production/helm/loki/templates/provisioner/job-provisioner.yaml b/production/helm/loki/templates/provisioner/job-provisioner.yaml index b05112ea7b..06dcd2fad9 100644 --- a/production/helm/loki/templates/provisioner/job-provisioner.yaml +++ b/production/helm/loki/templates/provisioner/job-provisioner.yaml @@ -71,8 +71,8 @@ spec: -token=canary {{- end }} volumeMounts: - {{- if .Values.enterprise.provisioner.extraVolumeMounts }} - {{ toYaml .Values.enterprise.provisioner.extraVolumeMounts | nindent 12 }} + {{- with .Values.enterprise.provisioner.extraVolumeMounts }} + {{ toYaml . | nindent 12 }} {{- end }} - name: bootstrap mountPath: /bootstrap @@ -102,8 +102,8 @@ spec: --from-literal=password="$(cat /bootstrap/token-canary)" {{- end }} volumeMounts: - {{- if .Values.enterprise.provisioner.extraVolumeMounts }} - {{ toYaml .Values.enterprise.provisioner.extraVolumeMounts | nindent 12 }} + {{- with .Values.enterprise.provisioner.extraVolumeMounts }} + {{ toYaml . | nindent 12 }} {{- end }} - name: bootstrap mountPath: /bootstrap diff --git a/production/helm/loki/templates/tokengen/job-tokengen.yaml b/production/helm/loki/templates/tokengen/job-tokengen.yaml index 489e550003..5e8561f3c9 100644 --- a/production/helm/loki/templates/tokengen/job-tokengen.yaml +++ b/production/helm/loki/templates/tokengen/job-tokengen.yaml @@ -31,8 +31,8 @@ spec: {{- toYaml . | nindent 8 }} {{- end }} spec: - {{- if .Values.enterprise.tokengen.priorityClassName }} - priorityClassName: {{ .Values.enterprise.tokengen.priorityClassName }} + {{- with .Values.enterprise.tokengen.priorityClassName }} + priorityClassName: {{ . }} {{- end }} securityContext: {{- toYaml .Values.enterprise.tokengen.securityContext | nindent 8 }} diff --git a/production/helm/loki/values.yaml b/production/helm/loki/values.yaml index fa5cfc4888..cd0455fcfc 100644 --- a/production/helm/loki/values.yaml +++ b/production/helm/loki/values.yaml @@ -290,9 +290,12 @@ enterprise: # -- Set to true when providing an external license useExternalLicense: false - # -- Name of external licesne secret to use + # -- Name of external license secret to use externalLicenseName: null + # -- Name of the external config secret to use + externalConfigName: "" + # -- If enabled, the correct admin_client storage will be configured. If disabled while running enterprise, # make sure auth is set to `type: trust`, or that `auth_enabled` is set to `false`. adminApi: @@ -359,6 +362,8 @@ enterprise: fsGroup: 10001 # -- Environment variables from secrets or configmaps to add to the tokengen pods extraEnvFrom: [] + # -- The name of the PriorityClass for tokengen Pods + priorityClassName: "" # -- Configuration for `provisioner` target provisioner: @@ -393,6 +398,8 @@ enterprise: tag: null # -- Docker image pull policy pullPolicy: IfNotPresent + # -- Volume mounts to add to the provisioner pods + extraVolumeMounts: [] nginxConfig: file: | @@ -609,17 +616,6 @@ monitoring: # - record: node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate # expr: sum(rate(container_cpu_usage_seconds_total[1m])) by (node, namespace, pod, container) - # Alerting rules for monitoring Loki - alerts: - # -- If enabled, create PrometheusRule resource with Loki alerting rules - enabled: true - # -- Alternative namespace to create alerting rules PrometheusRule resource in - namespace: null - # -- Additional annotations for the alerts PrometheusRule resource - annotations: {} - # -- Additional labels for the alerts PrometheusRule resource - labels: {} - # ServiceMonitor configuration serviceMonitor: # -- If enabled, ServiceMonitor resources for Prometheus Operator are created @@ -939,7 +935,7 @@ singleBinary: # You'll need to supply authn configuration for your ingress controller. ingress: enabled: false - # ingressClassName: nginx + ingressClassName: "" annotations: {} # nginx.ingress.kubernetes.io/auth-type: basic # nginx.ingress.kubernetes.io/auth-secret: loki-distributed-basic-auth @@ -971,7 +967,7 @@ ingress: hosts: - loki.example.com -# tls: + tls: [] # - hosts: # - loki.example.com # secretName: loki-distributed-tls @@ -1073,7 +1069,7 @@ gateway: # -- Specifies whether an ingress for the gateway should be created enabled: false # -- Ingress Class Name. MAY be required for Kubernetes versions >= 1.18 - # ingressClassName: nginx + ingressClassName: "" # -- Annotations for the gateway ingress annotations: {} # -- Hosts configuration for the gateway ingress