a60bbb4f7acf7f9bea808fc0083522afe2db72b9
[oom.git] / kubernetes / contrib / charts / netbox / charts / netbox-app / values.yaml
1 # 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
15 global: # global defaults
16   nodePortPrefixExt: 304
17   persistence: {}
18
19 config:
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
43   superuserEmail: admin@onap.org
44
45 repository: docker.io
46 image: ninech/netbox:v2.3.5
47
48 # probe configuration parameters
49 liveness:
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
56 readiness:
57   initialDelaySeconds: 30
58   periodSeconds: 10
59
60 service:
61   type: ClusterIP
62   name: netbox-app
63   externalPort: 8001
64   internalPort: 8001
65   portName: netbox-app
66
67   # The following subnet pool will be
68   # configured in Netbox by provisioning script.
69   vfw_protected_pool: 192.168.20.0/24
70   vfw_unprotected_pool: 192.168.10.0/24
71   vfw_mgmt_pool: 10.0.101.0/24
72
73 ingress:
74   enabled: false
75
76 # default number of instances
77 replicaCount: 1
78
79 nodeSelector: {}
80
81 affinity: {}
82
83 ## Persist data to a persitent volume
84 persistence:
85   enabled: true
86   volumeReclaimPolicy: Retain
87   accessMode: ReadWriteMany
88   size: 100Mi
89
90   # 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
96   staticPvName: netbox-static
97
98   # When using storage class, mountPath and mountSubPath are
99   # simply ignored.
100
101   mountPath: /dockerdata-nfs
102   mountSubPath: netbox/app
103
104 # probe configuration parameters
105 liveness:
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
111 readiness:
112   initialDelaySeconds: 10
113   periodSeconds: 10
114
115 resources: {}