blob: 05a8b1537b1b3959d4ef745ec0c5be7243523c92 [file] [log] [blame]
Vijay Venkatesh Kumar8c465172021-06-03 16:51:33 -04001#============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
19global:
20 pullPolicy: Always
21 persistence: {}
22 githubContainerRegistry: ghcr.io
23image: helm/chartmuseum:v0.13.1
24containerPort: &cont_port 8080
25
26
27# Secrets Configuration.
28secrets:
29 - uid: registrycred
30 type: basicAuth
31 login: '{{ .Values.registryCred.username }}'
32 password: '{{ .Values.registryCred.password }}'
33 passwordPolicy: required
34
35
36# service configuration
37service:
38 type: ClusterIP
39 name: chart-museum
40 ports:
41 - port: 80
42 internal_port: *cont_port
43 name: &port http
44
45chartsMap:
46 directory: "/charts/components/"
47
48liveness:
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
58registryCred:
59 username: onapinitializer
60 password: demo123456!
61
62# Parameters for persistent storage
63persistence:
64 enabled: true
65 accessMode: ReadWriteOnce
66 size: 4Gi
67 mountPath: /dockerdata-nfs
68 mountSubPath: chartmuseum/data
69 volumeReclaimPolicy: Retain
70
71
72serviceAccount:
73 nameOverride: chartmuseum
74 roles:
75 - read
76
77securityContext:
78 user_id: 2000
79 group_id: 3000
80
81flavor: small
82resources:
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: {}