forked from netbox-community/netbox-chart
-
Notifications
You must be signed in to change notification settings - Fork 0
/
values.yaml
324 lines (270 loc) · 9.3 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
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
# Default values for netbox.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
replicaCount: 1
image:
repository: netboxcommunity/netbox
tag: v2.6.7
pullPolicy: IfNotPresent
superuser:
name: admin
email: [email protected]
password: admin
apiToken: 0123456789abcdef0123456789abcdef01234567
# Skip the netbox-docker startup scripts which can pre-populate objects into a
# fresh NetBox installation. By default these do nothing, but they take a while
# to run, so we skip them. See:
# https://github.com/netbox-community/netbox-docker/tree/master/startup_scripts
skipStartupScripts: true
# This is a list of valid fully-qualified domain names (FQDNs) for the NetBox
# server. NetBox will not permit write access to the server via any other
# hostnames. The first FQDN in the list will be treated as the preferred name.
allowedHosts:
- '*'
# Specify one or more name and email address tuples representing NetBox
# administrators. These people will be notified of application errors (assuming
# correct email settings are provided).
admins: []
# - ['John Doe', '[email protected]']
banner:
# Optionally display a persistent banner at the top and/or bottom of every
# page. HTML is allowed.
top: ''
bottom: ''
# Text to include on the login page above the login form. HTML is allowed.
login: ''
# Base URL path if accessing NetBox within a directory. For example, if
# installed at http://example.com/netbox/, set to 'netbox/'
basePath: ''
# Cache timeout in seconds. Set to 0 to disable caching. Defaults to 900
# (15 minutes).
cacheTimeout: 900
# API Cross-Origin Resource Sharing (CORS) settings. If originAllowAll
# is set to true, all origins will be allowed. Otherwise, define a list of
# allowed origins using either originWhitelist or originRegexWhitelist. For
# more information, see https://github.com/ottoyiu/django-cors-headers
cors:
originAllowAll: false
originWhitelist: []
originRegexWhitelist: []
# - '^(https?://)?(\w+\.)?example\.com$'
# Set to True to enable server debugging. WARNING: Debugging introduces a
# substantial performance penalty and may reveal sensitive information about
# your installation. Only enable debugging while performing testing. Never
# enable debugging on a production system.
debug: false
# Email settings
email:
server: localhost
port: 25
username: ''
password: ''
timeout: 10 # seconds
from: ''
# Enforcement of unique IP space can be toggled on a per-VRF basis. To enforce
# unique IP space within the global table (all prefixes and IP addresses not
# assigned to a VRF), set enforceGlobalUnique to True.
enforceGlobalUnique: false
# Exempt certain models from the enforcement of view permissions. Models listed
# here will be viewable by all users and by anonymous users. List models in the
# form `<app>.<model>`. Add '*' to this list to exempt all models.
exemptViewPermissions: []
# - dcim.site
# - dcim.region
# - ipam.prefix
# Enable custom logging. Please see the Django documentation for detailed
# guidance on configuring custom logs:
# https://docs.djangoproject.com/en/1.11/topics/logging/
logging: {}
# Setting this to True will permit only authenticated users to access any part
# of NetBox. By default, anonymous users are permitted to access most data in
# NetBox (excluding secrets) but not make any changes.
loginRequired: false
# Setting this to True will display a "maintenance mode" banner at the top of
# every page.
maintenanceMode: false
# An API consumer can request an arbitrary number of objects by appending the
# "limit" parameter to the URL (e.g. "?limit=1000"). This setting defines the
# maximum limit. Setting it to 0 or None will allow an API consumer to request
# all objects by specifying "?limit=0".
maxPageSize: 1000
napalm:
# Credentials that NetBox will use to access live devices.
username: ''
password: ''
# NAPALM timeout (in seconds). (Default: 30)
timeout: 30
# NAPALM optional arguments (see
# http://napalm.readthedocs.io/en/latest/support/#optional-arguments).
# Arguments must be provided as a dictionary.
args: {}
# Determine how many objects to display per page within a list. (Default: 50)
paginateCount: 50
# When determining the primary IP address for a device, IPv6 is preferred over
# IPv4 by default. Set this to True to prefer IPv4 instead.
preferIPv4: false
# Expose Prometheus monitoring metrics at the HTTP endpoint '/metrics'
metricsEnabled: false
# Webhooks can be disabled to remove the dependency on Redis.
webhooksEnabled: true
# Time zone (default: UTC)
timeZone: UTC
# Date/time formatting. See the following link for supported formats:
# https://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
dateFormat: 'N j, Y'
shortDateFormat: 'Y-m-d'
timeFormat: 'g:i a'
shortTimeFormat: 'H:i:s'
dateTimeFormat: 'N j, Y g:i a'
shortDateTimeFormat: 'Y-m-d H:i'
# If provided, this should be a 50+ character string of random characters. It
# will be randomly generated if left blank.
secretKey: ""
## Provide passwords using existing secret
# If set, this Secret must contain the following keys:
# - db_password: database password (if postgresql.enabled is false and
# externalDatabase.existingSecretName is blank)
# - email_password: SMTP user password
# - napalm_password: NAPALM user password
# - redis_password: Redis password (if redis.enabled is false and
# externalRedis.existingSecretName is blank)
# - secret_key: session encryption token (50+ random characters)
existingSecret: ""
postgresql:
## Deploy PostgreSQL using bundled chart
# To use an external database, set this to false and configure the settings
# under externalDatabase
enabled: true
postgresqlUsername: netbox
postgresqlDatabase: netbox
## External database settings
# These are used if postgresql.enabled is false, and are ignored otherwise
externalDatabase:
host: localhost
port: 5432
database: netbox
username: netbox
password: ""
existingSecretName: ""
existingSecretKey: postgresql-password
redisDatabase: 0
redisCacheDatabase: 1
redisTimeout: 300
redisSsl: false
redis:
## Deploy Redis using bundled chart
# To use an external Redis instance, set this to false and configure the
# settings under externalRedis
enabled: true
externalRedis:
host: localhost
port: 6379
password: ""
existingSecretName: ""
existingSecretKey: redis-password
imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
## Storage configuration for media
persistence:
enabled: true
##
## Existing claim to use
existingClaim: ""
## Existing claim's subPath to use, e.g. "media" (optional)
subPath: ""
##
## Persistent Volume Storage Class
## If defined, storageClassName: <storageClass>
## If set to "-", storageClassName: "", which disables dynamic provisioning
## If undefined (the default) or set to null, no storageClassName spec is
## set, choosing the default provisioner. (gp2 on AWS, standard on
## GKE, AWS & OpenStack)
storageClass: ""
accessMode: ReadWriteOnce
##
## Persistant storage size request
size: 1Gi
## Storage configuration for reports
reportsPersistence:
enabled: false
##
## Existing claim to use
existingClaim: ""
## Existing claim's subPath to use, e.g. "media" (optional)
subPath: ""
##
## Persistent Volume Storage Class
## If defined, storageClassName: <storageClass>
## If set to "-", storageClassName: "", which disables dynamic provisioning
## If undefined (the default) or set to null, no storageClassName spec is
## set, choosing the default provisioner. (gp2 on AWS, standard on
## GKE, AWS & OpenStack)
storageClass: ""
accessMode: ReadWriteOnce
##
## Persistant storage size request
size: 1Gi
service:
type: ClusterIP
port: 80
ingress:
enabled: false
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
hosts:
- host: chart-example.local
paths:
- /
tls: []
# - secretName: chart-example-tls
# hosts:
# - chart-example.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
nginx:
image:
repository: nginx
tag: 1.16.1-alpine
pullPolicy: IfNotPresent
resources: {}
nodeSelector: {}
tolerations: []
updateStrategy: {}
# type: RollingUpdate
affinity: {}
## Additional environment variables to set
extraEnvs: []
# - name: FOO
# valueFrom:
# secretKeyRef:
# key: FOO
# name: secret-resource
## Additional volumes to mount
extraVolumeMounts: []
# - name: extra-volume
# mountPath: /run/secrets/super-secret
# readOnly: true
extraVolumes: []
# - name: extra-volume
# secret:
# secretName: super-secret
## Additional containers to be added to the NetBox pod.
extraContainers: []
# - name: my-sidecar
# image: nginx:latest
## Containers which are run before the NetBox containers are started.
extraInitContainers: []
# - name: init-myservice
# image: busybox
# command: ['sh', '-c', 'until nslookup myservice; do echo waiting for myservice; sleep 2; done;']