blob: ff02e27b9bf87c0c758b50d40143907022709155 [file] [log] [blame]
Marc-Alexandre Choquette81a2df62018-07-14 13:04:33 -04001# Copyright © 2018 Amdocs, Bell Canada
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15global: # global defaults
Alexis de Talhouët9a6e9b52018-09-18 10:32:39 -040016 nodePortPrefixExt: 304
Marc-Alexandre Choquette81a2df62018-07-14 13:04:33 -040017 persistence: {}
18
19config:
20 # Secrets configuration values
21 dbPassword: J5brHrAXFLQSif0K
22 emailPassword: password
23 napalmPassword: password
24 secretKey: r8OwDznj!!dci#P9ghmRfdu1Ysxm0AiPeDCQhKE+N_rClfWNj
25 superuserPassword: admin
26 superuserAPIToken: 0123456789abcdef0123456789abcdef01234567
27
28 # Remaining environment configuration values
29 allowedHosts: "*"
30 dbName: netbox
31 dbUser: netbox
32 dbHost: netbox-postgres
33 emailServer: localhost
34 emailPort: 25
35 emailUsername: netbox
36 emailTimeout: 5
37 emailFrom: netbox@bar.com
38 mediaRoot: /opt/netbox/netbox/media
39 napalmUsername: napalm
40 napalmTimeout: 10
41 maxPageSize: 0
42 superuserName: admin
Alexis de Talhouët0c2d6fb2018-08-14 16:33:43 -040043 superuserEmail: admin@onap.org
Marc-Alexandre Choquette81a2df62018-07-14 13:04:33 -040044
Krzysztof Opasiak7e601f52020-05-19 23:50:11 +020045 curlImage: curlimages/curl:7.69.1
46 dockerHubRepository: docker.io
47
Alexis de Talhouët4ba6aaa2019-03-13 09:58:44 -040048repository: netboxcommunity
49image: netbox:v2.5.8
Alexis de Talhouët0c2d6fb2018-08-14 16:33:43 -040050
51# probe configuration parameters
52liveness:
53 initialDelaySeconds: 10
54 periodSeconds: 10
55 # necessary to disable liveness probe when setting breakpoints
56 # in debugger so K8s doesn't restart unresponsive container
57 enabled: false
58
59readiness:
60 initialDelaySeconds: 30
61 periodSeconds: 10
62
Marc-Alexandre Choquette81a2df62018-07-14 13:04:33 -040063service:
64 type: ClusterIP
65 name: netbox-app
66 externalPort: 8001
67 internalPort: 8001
68 portName: netbox-app
69
Martin Ouimeta7a1cfc2018-09-11 16:07:02 -040070 # The following subnet pool will be
71 # configured in Netbox by provisioning script.
Alexis de Talhouët72d47232019-05-13 09:53:29 -040072 private1: 192.168.10.0/24
73 private2: 192.168.20.0/24
74 management: 10.0.101.0/24
Martin Ouimeta7a1cfc2018-09-11 16:07:02 -040075
Marc-Alexandre Choquette81a2df62018-07-14 13:04:33 -040076ingress:
77 enabled: false
78
79# default number of instances
80replicaCount: 1
81
82nodeSelector: {}
83
84affinity: {}
85
86## Persist data to a persitent volume
87persistence:
88 enabled: true
Marc-Alexandre Choquette81a2df62018-07-14 13:04:33 -040089 volumeReclaimPolicy: Retain
Marc-Alexandre Choquette81a2df62018-07-14 13:04:33 -040090 accessMode: ReadWriteMany
91 size: 100Mi
Marc-Alexandre Choquette81a2df62018-07-14 13:04:33 -040092
Martin Ouimeta7a1cfc2018-09-11 16:07:02 -040093 # Uncomment the storageClass parameter to use an existing PV
94 # that will match the following class.
95 # When uncomment the storageClass, the PV is not created anymore.
96
97 # storageClass: "nfs-dev-sc"
98
Marc-Alexandre Choquette81a2df62018-07-14 13:04:33 -040099 staticPvName: netbox-static
100
Martin Ouimeta7a1cfc2018-09-11 16:07:02 -0400101 # When using storage class, mountPath and mountSubPath are
102 # simply ignored.
103
104 mountPath: /dockerdata-nfs
105 mountSubPath: netbox/app
106
Marc-Alexandre Choquette81a2df62018-07-14 13:04:33 -0400107# probe configuration parameters
108liveness:
109 initialDelaySeconds: 10
110 periodSeconds: 10
111 # necessary to disable liveness probe when setting breakpoints
112 # in debugger so K8s doesn't restart unresponsive container
113 enabled: true
114readiness:
115 initialDelaySeconds: 10
116 periodSeconds: 10
117
Alexis de Talhouët9a6e9b52018-09-18 10:32:39 -0400118resources: {}