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 | # Default values for mariadb. |
| 16 | # This is a YAML-formatted file. |
| 17 | # Declare variables to be passed into your templates. |
| 18 | |
| 19 | global: # global defaults |
Alexis de Talhouët | 9a6e9b5 | 2018-09-18 10:32:39 -0400 | [diff] [blame] | 20 | nodePortPrefixExt: 304 |
Marc-Alexandre Choquette | 81a2df6 | 2018-07-14 13:04:33 -0400 | [diff] [blame] | 21 | persistence: {} |
| 22 | pullPolicy: Always |
| 23 | |
| 24 | # application image |
| 25 | repository: docker.io |
Alexis de Talhouët | 4ba6aaa | 2019-03-13 09:58:44 -0400 | [diff] [blame] | 26 | image: nginx:1.15-alpine |
Marc-Alexandre Choquette | 81a2df6 | 2018-07-14 13:04:33 -0400 | [diff] [blame] | 27 | pullPolicy: Always |
| 28 | |
| 29 | ingress: |
| 30 | enabled: false |
| 31 | |
| 32 | # default number of instances |
| 33 | replicaCount: 1 |
| 34 | |
| 35 | nodeSelector: {} |
| 36 | |
| 37 | affinity: {} |
| 38 | |
| 39 | # probe configuration parameters |
| 40 | liveness: |
| 41 | initialDelaySeconds: 10 |
| 42 | periodSeconds: 10 |
| 43 | # necessary to disable liveness probe when setting breakpoints |
| 44 | # in debugger so K8s doesn't restart unresponsive container |
| 45 | enabled: true |
| 46 | |
| 47 | readiness: |
| 48 | initialDelaySeconds: 10 |
| 49 | periodSeconds: 10 |
| 50 | |
| 51 | ## Persist data to a persitent volume |
| 52 | persistence: |
| 53 | enabled: true |
| 54 | |
| 55 | ## A manually managed Persistent Volume and Claim |
| 56 | ## Requires persistence.enabled: true |
| 57 | ## If defined, PVC must be created manually before volume will be bound |
| 58 | # existingClaim: |
| 59 | volumeReclaimPolicy: Retain |
| 60 | |
| 61 | ## database data Persistent Volume Storage Class |
| 62 | ## If defined, storageClassName: <storageClass> |
| 63 | ## If set to "-", storageClassName: "", which disables dynamic provisioning |
| 64 | ## If undefined (the default) or set to null, no storageClassName spec is |
| 65 | ## set, choosing the default provisioner. (gp2 on AWS, standard on |
| 66 | ## GKE, AWS & OpenStack) |
| 67 | ## |
| 68 | # storageClass: "-" |
| 69 | accessMode: ReadWriteMany |
| 70 | size: 1Gi |
| 71 | mountPath: /dockerdata-nfs |
| 72 | mountSubPath: netbox/nginx/data |
| 73 | |
| 74 | # Names used for shared pv/pvcs across App & Nginx containers |
| 75 | staticPvName: netbox-static |
| 76 | |
| 77 | service: |
Sylvain Desbureaux | 825fffc | 2020-09-23 09:28:10 +0200 | [diff] [blame] | 78 | type: ClusterIP |
Marc-Alexandre Choquette | 81a2df6 | 2018-07-14 13:04:33 -0400 | [diff] [blame] | 79 | name: netbox-nginx |
| 80 | portName: netbox-nginx |
| 81 | internalPort: 8080 |
Alexis de Talhouët | 497a5f9 | 2018-09-18 08:40:07 -0400 | [diff] [blame] | 82 | nodePort: 20 |
Marc-Alexandre Choquette | 81a2df6 | 2018-07-14 13:04:33 -0400 | [diff] [blame] | 83 | |
Alexis de Talhouët | 9a6e9b5 | 2018-09-18 10:32:39 -0400 | [diff] [blame] | 84 | resources: {} |