Marc-Alexandre Choquette | 81a2df6 | 2018-07-14 13:04:33 -0400 | [diff] [blame] | 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 |
Alexis de Talhouët | 9a6e9b5 | 2018-09-18 10:32:39 -0400 | [diff] [blame] | 16 | nodePortPrefixExt: 304 |
Marc-Alexandre Choquette | 81a2df6 | 2018-07-14 13:04:33 -0400 | [diff] [blame] | 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 |
Alexis de Talhouët | 0c2d6fb | 2018-08-14 16:33:43 -0400 | [diff] [blame] | 43 | superuserEmail: admin@onap.org |
Marc-Alexandre Choquette | 81a2df6 | 2018-07-14 13:04:33 -0400 | [diff] [blame] | 44 | |
Alexis de Talhouët | 4ba6aaa | 2019-03-13 09:58:44 -0400 | [diff] [blame] | 45 | repository: netboxcommunity |
| 46 | image: netbox:v2.5.8 |
Alexis de Talhouët | 0c2d6fb | 2018-08-14 16:33:43 -0400 | [diff] [blame] | 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 | |
Marc-Alexandre Choquette | 81a2df6 | 2018-07-14 13:04:33 -0400 | [diff] [blame] | 60 | service: |
| 61 | type: ClusterIP |
| 62 | name: netbox-app |
| 63 | externalPort: 8001 |
| 64 | internalPort: 8001 |
| 65 | portName: netbox-app |
| 66 | |
Martin Ouimet | a7a1cfc | 2018-09-11 16:07:02 -0400 | [diff] [blame] | 67 | # The following subnet pool will be |
| 68 | # configured in Netbox by provisioning script. |
Alexis de Talhouët | 72d4723 | 2019-05-13 09:53:29 -0400 | [diff] [blame] | 69 | private1: 192.168.10.0/24 |
| 70 | private2: 192.168.20.0/24 |
| 71 | management: 10.0.101.0/24 |
Martin Ouimet | a7a1cfc | 2018-09-11 16:07:02 -0400 | [diff] [blame] | 72 | |
Marc-Alexandre Choquette | 81a2df6 | 2018-07-14 13:04:33 -0400 | [diff] [blame] | 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 |
Marc-Alexandre Choquette | 81a2df6 | 2018-07-14 13:04:33 -0400 | [diff] [blame] | 86 | volumeReclaimPolicy: Retain |
Marc-Alexandre Choquette | 81a2df6 | 2018-07-14 13:04:33 -0400 | [diff] [blame] | 87 | accessMode: ReadWriteMany |
| 88 | size: 100Mi |
Marc-Alexandre Choquette | 81a2df6 | 2018-07-14 13:04:33 -0400 | [diff] [blame] | 89 | |
Martin Ouimet | a7a1cfc | 2018-09-11 16:07:02 -0400 | [diff] [blame] | 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 | |
Marc-Alexandre Choquette | 81a2df6 | 2018-07-14 13:04:33 -0400 | [diff] [blame] | 96 | staticPvName: netbox-static |
| 97 | |
Martin Ouimet | a7a1cfc | 2018-09-11 16:07:02 -0400 | [diff] [blame] | 98 | # When using storage class, mountPath and mountSubPath are |
| 99 | # simply ignored. |
| 100 | |
| 101 | mountPath: /dockerdata-nfs |
| 102 | mountSubPath: netbox/app |
| 103 | |
Marc-Alexandre Choquette | 81a2df6 | 2018-07-14 13:04:33 -0400 | [diff] [blame] | 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 | |
Alexis de Talhouët | 9a6e9b5 | 2018-09-18 10:32:39 -0400 | [diff] [blame] | 115 | resources: {} |