Vijay Venkatesh Kumar | 8c46517 | 2021-06-03 16:51:33 -0400 | [diff] [blame^] | 1 | #============LICENSE_START======================================================== |
| 2 | #================================================================================= |
| 3 | # Copyright (c) 2021 AT&T. All rights reserved. |
| 4 | # ================================================================================ |
| 5 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | # you may not use this file except in compliance with the License. |
| 7 | # You may obtain a copy of the License at |
| 8 | # |
| 9 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | # |
| 11 | # Unless required by applicable law or agreed to in writing, software |
| 12 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | # See the License for the specific language governing permissions and |
| 15 | # limitations under the License. |
| 16 | # ============LICENSE_END========================================================= |
| 17 | |
| 18 | # Global values |
| 19 | global: |
| 20 | pullPolicy: Always |
| 21 | persistence: {} |
| 22 | githubContainerRegistry: ghcr.io |
| 23 | image: helm/chartmuseum:v0.13.1 |
| 24 | containerPort: &cont_port 8080 |
| 25 | |
| 26 | |
| 27 | # Secrets Configuration. |
| 28 | secrets: |
| 29 | - uid: registrycred |
| 30 | type: basicAuth |
| 31 | login: '{{ .Values.registryCred.username }}' |
| 32 | password: '{{ .Values.registryCred.password }}' |
| 33 | passwordPolicy: required |
| 34 | |
| 35 | |
| 36 | # service configuration |
| 37 | service: |
| 38 | type: ClusterIP |
| 39 | name: chart-museum |
| 40 | ports: |
| 41 | - port: 80 |
| 42 | internal_port: *cont_port |
| 43 | name: &port http |
| 44 | |
| 45 | chartsMap: |
| 46 | directory: "/charts/components/" |
| 47 | |
| 48 | liveness: |
| 49 | initialDelaySeconds: 30 |
| 50 | periodSeconds: 30 |
| 51 | path: /health |
| 52 | port: *port |
| 53 | enabled: true |
| 54 | |
| 55 | # Below parameter should match setting in all clients |
| 56 | # including contrib\tools\registry-initialize.sh |
| 57 | # which does preload |
| 58 | registryCred: |
| 59 | username: onapinitializer |
| 60 | password: demo123456! |
| 61 | |
| 62 | # Parameters for persistent storage |
| 63 | persistence: |
| 64 | enabled: true |
| 65 | accessMode: ReadWriteOnce |
| 66 | size: 4Gi |
| 67 | mountPath: /dockerdata-nfs |
| 68 | mountSubPath: chartmuseum/data |
| 69 | volumeReclaimPolicy: Retain |
| 70 | |
| 71 | |
| 72 | serviceAccount: |
| 73 | nameOverride: chartmuseum |
| 74 | roles: |
| 75 | - read |
| 76 | |
| 77 | securityContext: |
| 78 | user_id: 2000 |
| 79 | group_id: 3000 |
| 80 | |
| 81 | flavor: small |
| 82 | resources: |
| 83 | small: |
| 84 | limits: |
| 85 | cpu: 1 |
| 86 | memory: 1Gi |
| 87 | requests: |
| 88 | cpu: 0.5 |
| 89 | memory: 512Mi |
| 90 | large: |
| 91 | limits: |
| 92 | cpu: 2 |
| 93 | memory: 2Gi |
| 94 | requests: |
| 95 | cpu: 1 |
| 96 | memory: 1Gi |
| 97 | unlimited: {} |