Skip to content
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

Fix default values and naming for scrape interval #181

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions charts/dependency-track/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ that allows organizations to identify and reduce risk in the software supply cha
| apiServer.service.type | string | `"ClusterIP"` | |
| apiServer.serviceMonitor.enabled | bool | `false` | |
| apiServer.serviceMonitor.namespace | string | `"monitoring"` | |
| apiServer.serviceMonitor.scrapeInternal | string | `"15s"` | |
| apiServer.serviceMonitor.scrapeInterval | string | `"60s"` | |
| apiServer.serviceMonitor.scrapeTimeout | string | `"30s"` | |
| apiServer.tolerations | list | `[]` | |
| common.fullnameOverride | string | `""` | |
Expand Down Expand Up @@ -116,4 +116,3 @@ that allows organizations to identify and reduce risk in the software supply cha
| ingress.hostname | string | `"example.com"` | |
| ingress.ingressClassName | string | `""` | |
| ingress.tls | list | `[]` | |

Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ spec:
endpoints:
- port: web
path: /metrics
interval: {{ .Values.apiServer.serviceMonitor.scrapeInternal }}
interval: {{ .Values.apiServer.serviceMonitor.scrapeInterval }}
scrapeTimeout: {{ .Values.apiServer.serviceMonitor.scrapeTimeout }}
{{- end }}
2 changes: 1 addition & 1 deletion charts/dependency-track/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ apiServer:
serviceMonitor:
enabled: false
namespace: monitoring
scrapeInternal: 15s
scrapeInterval: 60s
scrapeTimeout: 30s
# -- Additional init containers to deploy. Supports templating.
initContainers: []
Expand Down