-
Notifications
You must be signed in to change notification settings - Fork 22
/
values.yaml
123 lines (103 loc) · 2.94 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
# Default values for webhook-broker-chart.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
replicaCount: 1
image:
repository: registry.hub.docker.com/imyousuf/webhook-broker
pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion.
tag: "latest"
imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
broker:
configFileWatchMode: "stop" # Possible values stop, restart, ignore
port: 8080
probeInitialDelay: 5
probeInterval: 10
mysqlConnection: "webhook_broker:zxc909zxc@tcp(mysql:3306)/webhook-broker?charset=utf8&parseTime=true&multiStatements=true"
dbIdleConnections: 10
dbMaxOpenConnections: 20
maxQueueSize: 1000000
maxWorkers: 15
maxRetry: 7
backoffs: "10,30,60,150"
consumerConnectionTimeout: 30
consumerTokenHeaderName: "X-Broker-Consumer-Token"
consumerUserAgent: "Webhook Message Broker"
serverReadTimeout: 240
serverWriteTimeout: 240
rationalDelay: 2
initSeedData: |
[initial-channels]
sample-channel=Sample Channel
[initial-producers]
sample-producer=Sample Producer
[initial-consumers]
sample-consumer=http://sample-endpoint/webhook-receiver
[initial-channel-tokens]
sample-channel=sample-channel-token
[initial-producer-tokens]
sample-producer=sample-producer-token
[sample-consumer]
token=sample-consumer-token
channel=sample-channel
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: "webhook-broker"
podAnnotations: {}
podSecurityContext: {}
# fsGroup: 2000
securityContext: {}
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
service:
type: ClusterIP
port: 80
ingress:
enabled: false
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
hosts:
- host: webhook.broker.local
paths: []
tls: []
# - secretName: chart-example-tls
# hosts:
# - chart-example.local
resources:
limits:
cpu: 1000m
memory: 512Mi
requests:
cpu: 1000m
memory: 512Mi
# 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: true
minReplicas: 5
maxReplicas: 50
targetCPUUtilizationPercentage: 80
targetMemoryUtilizationPercentage: 70
nodeSelector: {}
tolerations: []
affinity: {}