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 | |
Krzysztof Opasiak | 7e601f5 | 2020-05-19 23:50:11 +0200 | [diff] [blame] | 45 | curlImage: curlimages/curl:7.69.1 |
| 46 | dockerHubRepository: docker.io |
| 47 | |
Alexis de Talhouët | 4ba6aaa | 2019-03-13 09:58:44 -0400 | [diff] [blame] | 48 | repository: netboxcommunity |
| 49 | image: netbox:v2.5.8 |
Alexis de Talhouët | 0c2d6fb | 2018-08-14 16:33:43 -0400 | [diff] [blame] | 50 | |
| 51 | # probe configuration parameters |
| 52 | liveness: |
| 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 | |
| 59 | readiness: |
| 60 | initialDelaySeconds: 30 |
| 61 | periodSeconds: 10 |
| 62 | |
Marc-Alexandre Choquette | 81a2df6 | 2018-07-14 13:04:33 -0400 | [diff] [blame] | 63 | service: |
| 64 | type: ClusterIP |
| 65 | name: netbox-app |
| 66 | externalPort: 8001 |
| 67 | internalPort: 8001 |
| 68 | portName: netbox-app |
| 69 | |
Martin Ouimet | a7a1cfc | 2018-09-11 16:07:02 -0400 | [diff] [blame] | 70 | # The following subnet pool will be |
| 71 | # configured in Netbox by provisioning script. |
Alexis de Talhouët | 72d4723 | 2019-05-13 09:53:29 -0400 | [diff] [blame] | 72 | private1: 192.168.10.0/24 |
| 73 | private2: 192.168.20.0/24 |
| 74 | management: 10.0.101.0/24 |
Martin Ouimet | a7a1cfc | 2018-09-11 16:07:02 -0400 | [diff] [blame] | 75 | |
Marc-Alexandre Choquette | 81a2df6 | 2018-07-14 13:04:33 -0400 | [diff] [blame] | 76 | ingress: |
| 77 | enabled: false |
| 78 | |
| 79 | # default number of instances |
| 80 | replicaCount: 1 |
| 81 | |
| 82 | nodeSelector: {} |
| 83 | |
| 84 | affinity: {} |
| 85 | |
| 86 | ## Persist data to a persitent volume |
| 87 | persistence: |
| 88 | enabled: true |
Marc-Alexandre Choquette | 81a2df6 | 2018-07-14 13:04:33 -0400 | [diff] [blame] | 89 | volumeReclaimPolicy: Retain |
Marc-Alexandre Choquette | 81a2df6 | 2018-07-14 13:04:33 -0400 | [diff] [blame] | 90 | accessMode: ReadWriteMany |
| 91 | size: 100Mi |
Marc-Alexandre Choquette | 81a2df6 | 2018-07-14 13:04:33 -0400 | [diff] [blame] | 92 | |
Martin Ouimet | a7a1cfc | 2018-09-11 16:07:02 -0400 | [diff] [blame] | 93 | # 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 Choquette | 81a2df6 | 2018-07-14 13:04:33 -0400 | [diff] [blame] | 99 | staticPvName: netbox-static |
| 100 | |
Martin Ouimet | a7a1cfc | 2018-09-11 16:07:02 -0400 | [diff] [blame] | 101 | # When using storage class, mountPath and mountSubPath are |
| 102 | # simply ignored. |
| 103 | |
| 104 | mountPath: /dockerdata-nfs |
| 105 | mountSubPath: netbox/app |
| 106 | |
Marc-Alexandre Choquette | 81a2df6 | 2018-07-14 13:04:33 -0400 | [diff] [blame] | 107 | # probe configuration parameters |
| 108 | liveness: |
| 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 |
| 114 | readiness: |
| 115 | initialDelaySeconds: 10 |
| 116 | periodSeconds: 10 |
| 117 | |
Alexis de Talhouët | 9a6e9b5 | 2018-09-18 10:32:39 -0400 | [diff] [blame] | 118 | resources: {} |