-
Notifications
You must be signed in to change notification settings - Fork 5k
/
values.yaml
163 lines (141 loc) · 4.58 KB
/
values.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
# yaml-language-server: $schema=values.schema.json
image:
repository: maxwo/snmp-notifier
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: ""
imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
snmpNotifier:
# extraArgs allows to pass SNMP notifier configurations, as described on https://github.com/maxwo/snmp_notifier#snmp-notifier-configuration
extraArgs: []
# - --alert.severity-label=severity
# snmpDestinations is the list of SNMP servers to send the traps to
snmpDestinations:
- snmp-server:162
# SNMP authentication secrets, that may be instanciated by the chart, or may use an already created secret
# snmpCommunity: public
# snmpAuthenticationUsername: my_authentication_username
# snmpAuthenticationPassword: my_authentication_password
# snmpPrivatePassword: my_private_password
# snmpCommunitySecret:
# name: existingsecret
# key: community
# snmpAuthenticationUsernameSecret:
# name: existingsecret
# key: authenticationUsername
# snmpAuthenticationPasswordSecret:
# name: existingsecret
# key: authenticationPassword
# snmpPrivatePasswordSecret:
# name: existingsecret
# key: privatePassword
# snmpTemplates allows to customize the description of the traps, and add extra trap fields
snmpTemplates: {}
# description: |
# {{- if .Alerts -}}
# {{ len .Alerts }}/{{ len .DeclaredAlerts }} alerts are firing:
# {{ range $severity, $alerts := (groupAlertsByLabel .Alerts "severity") -}}
# Status: {{ $severity }}
# {{- range $index, $alert := $alerts }}
# - Alert: {{ $alert.Labels.alertname }}
# Summary: {{ $alert.Annotations.summary }}
# Description: {{ $alert.Annotations.description }}
# {{ end }}
# {{ end }}
# {{ else -}}
# Status: OK
# {{- end -}}
# extraFields:
# - subId: 4
# template: |
# {{- if .Alerts -}}
# Status: NOK
# {{- else -}}
# Status: OK
# {{- end -}}
# - subId: 5
# template: |
# This is a constant
serviceAccount:
# Specifies whether a service account should be created
create: true
# Annotations to add to the service account
annotations: {}
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: ""
podAnnotations: {}
podSecurityContext: {}
# fsGroup: 2000
replicaCount: 1
securityContext: {}
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
service:
type: ClusterIP
port: 9464
ipDualStack:
enabled: false
ipFamilies: ["IPv6", "IPv4"]
ipFamilyPolicy: "PreferDualStack"
ingress:
enabled: false
className: ""
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
hosts:
- host: snmp-notifier.local
paths:
- path: /
pathType: ImplementationSpecific
tls: []
# - secretName: snmp-notifier-tls
# hosts:
# - snmp-notifier.local
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
autoscaling:
enabled: false
minReplicas: 1
maxReplicas: 100
targetCPUUtilizationPercentage: 80
# targetMemoryUtilizationPercentage: 80
nodeSelector: {}
tolerations: []
affinity: {}
# Enable this if you're using https://github.com/coreos/prometheus-operator
serviceMonitor:
# When set true then use a ServiceMonitor to configure scraping
enabled: false
# Set the namespace the ServiceMonitor should be deployed
namespace: monitoring
# Set how frequently Prometheus should scrape
interval: 30s
# Set path to cloudwatch-exporter telemtery-path
telemetryPath: /metrics
# Set labels for the ServiceMonitor, use this to define your scrape label for Prometheus Operator
labels: {}
# Set timeout for scrape
timeout: 10s
# Set of labels to transfer from the Kubernetes Service onto the target
targetLabels: []
# MetricRelabelConfigs to apply to samples before ingestion
metricRelabelings: []
# Set relabel_configs as per https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config
relabelings: []