forked from netbox-community/netbox-chart
-
Notifications
You must be signed in to change notification settings - Fork 0
/
values.yaml
596 lines (505 loc) · 17.8 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
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
# Default values for netbox.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
replicaCount: 1
image:
repository: netboxcommunity/netbox
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: ""
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]']
# URL schemes that are allowed within links in NetBox
allowedUrlSchemes: [file, ftp, ftps, http, https, irc, mailto, sftp, ssh, tel,
telnet, tftp, vnc, xmpp]
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/'. If using
# Kubernetes Ingress, make sure you set ingress.hosts[].paths[] appropriately.
basePath: ''
# Cache timeout in seconds. Set to 0 to disable caching. Defaults to 900
# (15 minutes).
cacheTimeout: 900
# Maximum number of days to retain logged changes. Set to 0 to retain change
# logs indefinitely. (Default: 90)
changelogRetention: 90
# 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: ''
useSSL: false
useTLS: false
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
# HTTP proxies NetBox should use when sending outbound HTTP requests (e.g. for
# webhooks).
httpProxies: null
# http: http://10.10.1.10:3128
# https: http://10.10.1.10:1080
# IP addresses recognized as internal to the system. The debugging toolbar will
# be available only to clients accessing NetBox from an internal IP.
internalIPs: ['127.0.0.1', '::1']
# 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
# The length of time (in seconds) for which a user will remain logged into the
# web UI before being prompted to re-authenticate.
loginTimeout: 1209600 # 14 days
# 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
# By default uploaded media is stored in an attached volume. Using
# Django-storages is also supported. Provide the class path of the storage
# driver in storageBackend and any configuration options in storageConfig.
storageBackend: null # storages.backends.s3boto3.S3Boto3Storage
storageConfig: {}
# AWS_ACCESS_KEY_ID: 'Key ID'
# AWS_SECRET_ACCESS_KEY: 'Secret'
# AWS_STORAGE_BUCKET_NAME: 'netbox'
# AWS_S3_REGION_NAME: 'eu-west-1'
# Expose Prometheus monitoring metrics at the HTTP endpoint '/metrics'
metricsEnabled: false
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
# Enable installed plugins. Add the name of each plugin to the list.
plugins: []
# Plugins configuration settings. These settings are used by various plugins
# that the user may have installed. Each key in the dictionary is the name of
# an installed plugin and its value is a dictionary of settings.
pluginsConfig: {}
# 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
# Rack elevation size defaults, in pixels. For best results, the ratio of width
# to height should be roughly 10:1.
rackElevationDefaultUnitHeight: 22
rackElevationDefaultUnitWidth: 220
# Remote authentication support
remoteAuth:
enabled: false
backend: netbox.authentication.RemoteUserBackend
header: HTTP_REMOTE_USER
autoCreateUser: true
defaultGroups: []
defaultPermissions: {}
# the following options are specific for backend "netbox.authentication.LDAPBackend"
# you can use an existing netbox secret with "ldap_bind_password" instead of "bindPassword"
# see https://django-auth-ldap.readthedocs.io
# ldap:
# serverUri: 'ldap://domain.com'
# startTls: true
# ignoreCertErrors: false
# bindDn: 'CN=Netbox,OU=EmbeddedDevices,OU=MyCompany,DC=domain,dc=com'
# bindPassword: 'TopSecretPassword'
# userDnTemplate: null
# userSearchBaseDn: 'OU=Users,OU=MyCompany,DC=domain,dc=com'
# userSearchAttr: 'sAMAccountName'
# groupSearchBaseDn: 'OU=Groups,OU=MyCompany,DC=domain,dc=com'
# groupSearchClass: 'group'
# groupType: 'GroupOfNamesType'
# requireGroupDn: ''
# findGroupPerms: true
# mirrorGroups: true
# mirrorGroupsExcept: null
# cacheTimeout: 3600
# isAdminDn: 'CN=Network Configuration Operators,CN=Builtin,DC=domain,dc=com'
# isSuperUserDn: 'CN=Domain Admins,CN=Users,DC=domain,dc=com'
# attrFirstName: 'givenName'
# attrLastName: 'sn'
# attrMail: 'mail'
releaseCheck:
# This determines how often the GitHub API is called to check the latest
# release of NetBox. Must be at least 1 hour.
timeout: 86400
# This repository is used to check whether there is a new release of NetBox
# available. Set to null to disable the version check or use the URL below to
# check for release in the official NetBox repository.
url: null
# url: https://api.github.com/repos/netbox-community/netbox/releases
# Maximum execution time for background tasks, in seconds.
rqDefaultTimeout: 300 # 5 mins
# 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_tasks_password: Redis password for tasks Redis instance (if
# redis.enabled is false and tasksRedis.existingSecretName is blank)
# - redis_cache_password: Redis password for caching Redis instance (if
# redis.enabled is false and cachingRedis.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
# The following settings apply when using the bundled PostgreSQL chart, too:
sslMode: prefer
connMaxAge: 300
redis:
## Deploy Redis using bundled chart
# To use an external Redis instance, set this to false and configure the
# settings under *both* tasksRedis *and* cachingRedis
enabled: true
tasksRedis:
database: 0
ssl: false
# Used only when redis.enabled is false. host and port are not used if
# sentinels are given.
host: netbox-redis
port: 6379
sentinels: []
# - mysentinel:26379
sentinelService: netbox-redis
sentinelTimeout: 300
password: ""
existingSecretName: ""
existingSecretKey: redis-password
cachingRedis:
database: 1
ssl: false
# Used only when redis.enabled is false. host and port are not used if
# sentinels are given.
host: netbox-redis
port: 6379
sentinels: []
# - mysentinel:26379
sentinelService: netbox-redis
sentinelTimeout: 300
password: ""
existingSecretName: ""
existingSecretKey: redis-password
imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
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: ""
## 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: ""
## Persistent Volume Selector
## if enabled, define any Selectors for choosing existing Persistent Volumes here
# selector:
# matchLabel:
# netbox-storage: media
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: ""
## Persistent Volume Selector
## if enabled, define any Selectors for choosing existing Persistent Volumes here
# selector:
# matchLabel:
# netbox-storage: reports
accessMode: ReadWriteOnce
##
## Persistant storage size request
size: 1Gi
podAnnotations: {}
podSecurityContext:
# fsGroup: 1000
runAsNonRoot: true
# runAsUser: 1000
# runAsGroup: 1000
securityContext:
capabilities:
drop:
- ALL
readOnlyRootFilesystem: true
runAsNonRoot: true
runAsUser: 1000
runAsGroup: 1000
service:
annotations: {}
# service.beta.kubernetes.io/aws-load-balancer-backend-protocol: http
# service.beta.kubernetes.io/aws-load-balancer-ssl-cert: <acm_cert_arn>
# service.beta.kubernetes.io/aws-load-balancer-ssl-ports: http
type: ClusterIP
port: 80
loadBalancerSourceRanges: []
# - 10.0.0.0/8
ingress:
enabled: false
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
hosts:
- host: chart-example.local
paths:
# You can manually specify the service name and service port if
# required. This could be useful if for exemple you are using the AWS
# ALB Ingress Controller and want to set up automatic SSL redirect.
# https://kubernetes-sigs.github.io/aws-alb-ingress-controller/guide/tasks/ssl_redirect/#redirect-traffic-from-http-to-https
# - path: /*
# backend:
# serviceName: ssl-redirect
# servicePort: use-annotation
#
# Or you can let the template set it for you.
# Both types of rule can be combined.
# NB: You may also want to set the basePath above
- /
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
init:
image:
repository: busybox
tag: 1.32.1
pullPolicy: IfNotPresent
resources: {}
securityContext:
capabilities:
drop:
- ALL
readOnlyRootFilesystem: true
runAsNonRoot: true
runAsUser: 1000
runAsGroup: 1000 # Keep the same as securityContext.runAsGroup
autoscaling:
enabled: false
minReplicas: 1
maxReplicas: 100
targetCPUUtilizationPercentage: 80
# targetMemoryUtilizationPercentage: 80
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;']
# Worker for Netbox
# Only required for Netbox Jobs, e.g. Webhooks
worker:
enabled: true
replicaCount: 1
podAnnotations: {}
podSecurityContext:
# fsGroup: 1000
runAsNonRoot: true
# runAsUser: 1000
# runAsGroup: 1000
securityContext:
capabilities:
drop:
- ALL
readOnlyRootFilesystem: true
runAsNonRoot: true
runAsUser: 1000
runAsGroup: 1000
# 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
resources: {}
autoscaling:
enabled: false
minReplicas: 1
maxReplicas: 100
targetCPUUtilizationPercentage: 80
# targetMemoryUtilizationPercentage: 80
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;']