blob: ddfdc4b97670f5d79850830ca8f5ccc375aa5bc6 [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
Alexis de Talhouët4ba6aaa2019-03-13 09:58:44 -040045repository: netboxcommunity
46image: netbox:v2.5.8
Alexis de Talhouët0c2d6fb2018-08-14 16:33:43 -040047
48# probe configuration parameters
49liveness:
50 initialDelaySeconds: 10
51 periodSeconds: 10
52 # necessary to disable liveness probe when setting breakpoints
53 # in debugger so K8s doesn't restart unresponsive container
54 enabled: false
55
56readiness:
57 initialDelaySeconds: 30
58 periodSeconds: 10
59
Marc-Alexandre Choquette81a2df62018-07-14 13:04:33 -040060service:
61 type: ClusterIP
62 name: netbox-app
63 externalPort: 8001
64 internalPort: 8001
65 portName: netbox-app
66
Martin Ouimeta7a1cfc2018-09-11 16:07:02 -040067 # The following subnet pool will be
68 # configured in Netbox by provisioning script.
Alexis de Talhouët72d47232019-05-13 09:53:29 -040069 private1: 192.168.10.0/24
70 private2: 192.168.20.0/24
71 management: 10.0.101.0/24
Martin Ouimeta7a1cfc2018-09-11 16:07:02 -040072
Marc-Alexandre Choquette81a2df62018-07-14 13:04:33 -040073ingress:
74 enabled: false
75
76# default number of instances
77replicaCount: 1
78
79nodeSelector: {}
80
81affinity: {}
82
83## Persist data to a persitent volume
84persistence:
85 enabled: true
Marc-Alexandre Choquette81a2df62018-07-14 13:04:33 -040086 volumeReclaimPolicy: Retain
Marc-Alexandre Choquette81a2df62018-07-14 13:04:33 -040087 accessMode: ReadWriteMany
88 size: 100Mi
Marc-Alexandre Choquette81a2df62018-07-14 13:04:33 -040089
Martin Ouimeta7a1cfc2018-09-11 16:07:02 -040090 # Uncomment the storageClass parameter to use an existing PV
91 # that will match the following class.
92 # When uncomment the storageClass, the PV is not created anymore.
93
94 # storageClass: "nfs-dev-sc"
95
Marc-Alexandre Choquette81a2df62018-07-14 13:04:33 -040096 staticPvName: netbox-static
97
Martin Ouimeta7a1cfc2018-09-11 16:07:02 -040098 # When using storage class, mountPath and mountSubPath are
99 # simply ignored.
100
101 mountPath: /dockerdata-nfs
102 mountSubPath: netbox/app
103
Marc-Alexandre Choquette81a2df62018-07-14 13:04:33 -0400104# probe configuration parameters
105liveness:
106 initialDelaySeconds: 10
107 periodSeconds: 10
108 # necessary to disable liveness probe when setting breakpoints
109 # in debugger so K8s doesn't restart unresponsive container
110 enabled: true
111readiness:
112 initialDelaySeconds: 10
113 periodSeconds: 10
114
Alexis de Talhouët9a6e9b52018-09-18 10:32:39 -0400115resources: {}