Skip to content

Commit

Permalink
Fix default values and naming for scrape interval
Browse files Browse the repository at this point in the history
Signed-off-by: Axel Fontana <[email protected]>
  • Loading branch information
arcalys committed Oct 28, 2024
1 parent 938b878 commit bce639d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
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

0 comments on commit bce639d

Please sign in to comment.