Skip to content

Commit

Permalink
Create the loki secret when logs.enabled is true (#387)
Browse files Browse the repository at this point in the history
Signed-off-by: Pete Wall <pete.wall@grafana.com>
  • Loading branch information
petewall authored Feb 21, 2024
1 parent 3c91ae4 commit d73d5f6
Show file tree
Hide file tree
Showing 10 changed files with 9 additions and 681 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if and .Values.logs.enabled (or .Values.logs.pod_logs.enabled .Values.logs.cluster_events.enabled) .Values.externalServices.loki.secret.create }}
{{- if and .Values.logs.enabled .Values.externalServices.loki.secret.create }}
---
apiVersion: v1
kind: Secret
Expand Down
75 changes: 0 additions & 75 deletions examples/custom-metrics-tuning/metrics.river

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

152 changes: 1 addition & 151 deletions examples/custom-metrics-tuning/output.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions examples/custom-metrics-tuning/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ metrics:
enabled: true

logs:
enabled: false
pod_logs:
enabled: false

Expand Down
Loading

0 comments on commit d73d5f6

Please sign in to comment.