-
Notifications
You must be signed in to change notification settings - Fork 183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add schema for values.yaml #3260
Conversation
5ce2662
to
f98d1ab
Compare
deploy/helm/sumologic/values.yaml
Outdated
## Otel metrics collector. Replaces Prometheus. | ||
## To enable, you need opentelemetry-operator enabled as well. | ||
## Stability: Beta. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.
deploy/helm/sumologic/values.yaml
Outdated
# ## Optionally specify an array of imagePullSecrets. | ||
# ## Secrets must be manually created in the namespace. | ||
# ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/ | ||
# ## |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.
deploy/helm/sumologic/values.yaml
Outdated
# ## Reference to one or more secrets to be used when pulling images | ||
# ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/ | ||
# ## |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.
deploy/helm/sumologic/values.yaml
Outdated
- expr: "1 - avg by (node) (\n rate(node_cpu_seconds_total{job=\"node-exporter\"\ | ||
,mode=\"idle\"}[1m])\n* on (namespace, pod) group_left(node)\n node_namespace_pod:kube_pod_info:)" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would bed nice to have it as multiline string
deploy/helm/sumologic/values.yaml
Outdated
@@ -3494,27 +3299,21 @@ otellogs: | |||
## The value of this key should be a dictionary, that will replace the normal configuration. | |||
## This is an advanced feature, use with caution, and review the generated configuration first. | |||
override: {} | |||
|
|||
## Set securityContext for containers running in pods in log collector daemonset |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.
deploy/helm/sumologic/values.yaml
Outdated
## linux: | ||
## nodeSelector: | ||
## kubernetes.io/os: linux | ||
## resources: | ||
## limits: | ||
## memory: 1Gi | ||
## cpu: 6 | ||
## requests: | ||
## memory: 32Mi | ||
## cpu: 2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.
deploy/helm/sumologic/values.yaml
Outdated
## affinity: | ||
## nodeAffinity: | ||
## requiredDuringSchedulingIgnoredDuringExecution: | ||
## nodeSelectorTerms: | ||
## - matchExpressions: | ||
## - key: kubernetes.io/os | ||
## operator: NotIn | ||
## values: | ||
## - linux |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.
6a322a8
to
aa90cf8
Compare
aa90cf8
to
29c4433
Compare
Signed-off-by: Dominik Rosiek <[email protected]>
29c4433
to
32a7da3
Compare
Checklist
WIP, so the python code is very bad quality. In final state, only
ci/generate_files.py
is going to be used. As for now it generatesREADME.md
, but I plan to generatevalues.yaml
as well. However I'm not convinced to do it in one PR