mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-02-03 07:49:03 +00:00
fix(promcord): add service (#808)
This commit is contained in:
parent
85dd0703b9
commit
5ee354cea1
@ -2,7 +2,7 @@ apiVersion: v2
|
|||||||
appVersion: latest
|
appVersion: latest
|
||||||
description: Discord bot that provides metrics from a Discord server
|
description: Discord bot that provides metrics from a Discord server
|
||||||
name: promcord
|
name: promcord
|
||||||
version: 1.0.0
|
version: 1.0.1
|
||||||
kubeVersion: ">=1.16.0-0"
|
kubeVersion: ">=1.16.0-0"
|
||||||
keywords:
|
keywords:
|
||||||
- promcord
|
- promcord
|
||||||
|
@ -83,7 +83,10 @@ N/A
|
|||||||
| prometheus.podMonitor.additionalLabels | object | `{}` | |
|
| prometheus.podMonitor.additionalLabels | object | `{}` | |
|
||||||
| prometheus.podMonitor.enabled | bool | `false` | |
|
| prometheus.podMonitor.enabled | bool | `false` | |
|
||||||
| prometheus.podMonitor.interval | string | `"1m"` | |
|
| prometheus.podMonitor.interval | string | `"1m"` | |
|
||||||
| prometheus.podMonitor.scrapeTimeout | string | `"1m30s"` | |
|
| prometheus.podMonitor.scrapeTimeout | string | `"30s"` | |
|
||||||
|
| prometheus.serviceMonitor.additionalLabels | object | `{}` | |
|
||||||
|
| prometheus.serviceMonitor.enabled | bool | `false` | |
|
||||||
|
| prometheus.serviceMonitor.interval | string | `"1m"` | |
|
||||||
| strategy.type | string | `"Recreate"` | |
|
| strategy.type | string | `"Recreate"` | |
|
||||||
|
|
||||||
## Changelog
|
## Changelog
|
||||||
@ -106,7 +109,22 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|||||||
|
|
||||||
- N/A
|
- N/A
|
||||||
|
|
||||||
|
### [1.0.1]
|
||||||
|
|
||||||
|
#### Added
|
||||||
|
|
||||||
|
- Service
|
||||||
|
|
||||||
|
#### Changed
|
||||||
|
|
||||||
|
- N/A
|
||||||
|
|
||||||
|
#### Removed
|
||||||
|
|
||||||
|
- N/A
|
||||||
|
|
||||||
[1.0.0]: #1.0.0
|
[1.0.0]: #1.0.0
|
||||||
|
[1.0.1]: #1.0.1
|
||||||
|
|
||||||
## Support
|
## Support
|
||||||
|
|
||||||
|
@ -23,5 +23,20 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|||||||
|
|
||||||
- N/A
|
- N/A
|
||||||
|
|
||||||
|
### [1.0.1]
|
||||||
|
|
||||||
|
#### Added
|
||||||
|
|
||||||
|
- Service
|
||||||
|
|
||||||
|
#### Changed
|
||||||
|
|
||||||
|
- N/A
|
||||||
|
|
||||||
|
#### Removed
|
||||||
|
|
||||||
|
- N/A
|
||||||
|
|
||||||
[1.0.0]: #1.0.0
|
[1.0.0]: #1.0.0
|
||||||
|
[1.0.1]: #1.0.1
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
@ -13,7 +13,7 @@ spec:
|
|||||||
matchLabels:
|
matchLabels:
|
||||||
{{- include "common.labels.selectorLabels" . | nindent 6 }}
|
{{- include "common.labels.selectorLabels" . | nindent 6 }}
|
||||||
podMetricsEndpoints:
|
podMetricsEndpoints:
|
||||||
- port: metrics
|
- port: http
|
||||||
{{- with .Values.prometheus.podMonitor.interval }}
|
{{- with .Values.prometheus.podMonitor.interval }}
|
||||||
interval: {{ . }}
|
interval: {{ . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -11,33 +11,8 @@ image:
|
|||||||
tag: "latest"
|
tag: "latest"
|
||||||
|
|
||||||
service:
|
service:
|
||||||
enabled: false
|
port:
|
||||||
additionalPorts:
|
port: 8080
|
||||||
- port: 8080
|
|
||||||
name: metrics
|
|
||||||
protocol: TCP
|
|
||||||
targetPort: 8080
|
|
||||||
|
|
||||||
## Probes configuration
|
|
||||||
probes:
|
|
||||||
liveness:
|
|
||||||
enabled: true
|
|
||||||
custom: true
|
|
||||||
spec:
|
|
||||||
tcpSocket:
|
|
||||||
port: 8080
|
|
||||||
readiness:
|
|
||||||
enabled: true
|
|
||||||
custom: true
|
|
||||||
spec:
|
|
||||||
tcpSocket:
|
|
||||||
port: 8080
|
|
||||||
startup:
|
|
||||||
enabled: true
|
|
||||||
custom: true
|
|
||||||
spec:
|
|
||||||
tcpSocket:
|
|
||||||
port: 8080
|
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
type: Recreate
|
type: Recreate
|
||||||
@ -47,7 +22,7 @@ env:
|
|||||||
# -- Discord bot token
|
# -- Discord bot token
|
||||||
# DISCORD_TOKEN:
|
# DISCORD_TOKEN:
|
||||||
|
|
||||||
# Enable a prometheus-operator podmonitor
|
# Enable prometheus-operator monitors
|
||||||
prometheus:
|
prometheus:
|
||||||
podMonitor:
|
podMonitor:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
Loading…
Reference in New Issue
Block a user