-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvalues.yaml
248 lines (211 loc) · 6.79 KB
/
values.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
image:
repository: verdaccio/verdaccio
tag: 5.27.0
pullPolicy: IfNotPresent
pullSecrets: []
# - dockerhub-secret
nameOverride: ""
fullnameOverride: ""
service:
type: ClusterIP
annotations:
cloud.google.com/neg: '{"ingress": true}'
clusterIP: ""
## List of IP addresses at which the service is available
## Ref: https://kubernetes.io/docs/user-guide/services/#external-ips
externalIPs: []
loadBalancerIP: ""
loadBalancerSourceRanges: []
port: 80
targetPort: 4873
## Overrides for the readiness probe, do not override the `httpGet` field as it is already configured
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
readinessProbe:
initialDelaySeconds: 5
timeoutSeconds: 1
periodSeconds: 10
failureThreshold: 3
successThreshold: 1
## Overrides for the liveness probe, do not override the `httpGet` field as it is already configured
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
livenessProbe:
initialDelaySeconds: 5
timeoutSeconds: 1
periodSeconds: 10
failureThreshold: 3
successThreshold: 1
## Node labels for pod assignment
## Ref: https://kubernetes.io/docs/user-guide/node-selection/
nodeSelector: {}
## Affinity for pod assignment
## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
affinity: {}
## Tolerations for nodes
tolerations: []
## Topology spread constraints for pods, only available in k8s 1.19 or higher.
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
topologySpreadConstraints: []
## Additional pod labels
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
podLabels: {}
## Additional pod annotations
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
podAnnotations: {}
## Only used when `autoscaler.enabled != true`
replicaCount: 1
## HorizontalPodAutoscaler configuration
## Ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/
autoscaler:
enabled: false
minReplicas: 1
maxReplicas: 1
metrics: []
resources: {}
# requests:
# cpu: 100m
# memory: 512Mi
# limits:
# cpu: 100m
# memory: 512Mi
ingress:
enabled: false
className: ""
defaultBackend: null
paths:
- /*
# Use this to define, ALB ingress's actions annotation based routing. Ex: for ssl-redirect
# Ref: https://kubernetes-sigs.github.io/aws-load-balancer-controller/latest/guide/tasks/ssl_redirect/
extraPaths: []
# hosts:
# - npm.blah.com
annotations:
# kubernetes.io/ingress.global-static-ip-name: your-registry-static-ip-name
# networking.gke.io/managed-certificates: your-managed-certificate-name
# Use gce for container-native load balancing, or use other ingress controllers like nginx or contour.
kubernetes.io/ingress.class: "gce"
# tls:
# - secretName: secret
# hosts:
# - npm.blah.com
## Service account
serviceAccount:
# Specifies whether a service account should be created
create: false
# Annotations to add to the service account
annotations: {}
# The name of the service account to use.
# If not set and create is true, a name is generated using the Chart's fullname template
name: ""
# Extra Environment Values - allows yaml definitions
extraEnvVars:
- name: NODE_ENV
value: production
# - name: VALUE_FROM_SECRET
# valueFrom:
# secretKeyRef:
# name: secret_name
# key: secret_key
# Extra Init Containers - allows yaml definitions
extraInitContainers: []
configMap: |
config.yaml: |-
# This is the config file used for the docker images.
# It allows all users to do anything, so don't use it on production systems.
#
# Do not configure host and port under `listen` in this file
# as it will be ignored when using docker.
# see https://github.com/verdaccio/verdaccio/blob/master/docs/docker.md#docker-and-custom-port-configuration
#
# Look here for more config file examples:
# https://github.com/papezt/verdaccio-examples/
#
# path to a directory with all packages
storage: /verdaccio/storage/data
web:
# WebUI is enabled as default, if you want disable it, just uncomment this line
#enable: false
title: Verdaccio
gravatar: true
darkMode: true
auth:
htpasswd:
file: /verdaccio/conf/htpasswd
# Maximum amount of users allowed to register, defaults to "+infinity".
# You can set this to -1 to disable registration.
#max_users: 1000
security:
api:
legacy: false
jwt:
sign: {}
verify: {}
# a list of other known repositories we can talk to
uplinks:
npmjs:
url: https://registry.npmjs.org/
agent_options:
keepAlive: true
maxSockets: 40
maxFreeSockets: 10
packages:
'@*/*':
# scoped packages
access: $authenticated
publish: $authenticated
proxy: npmjs
'**':
# Only allow authenticated users to read and publish packages.
#
# you can specify usernames/groupnames (depending on your auth plugin)
# and three keywords: "$all", "$anonymous", "$authenticated"
access: $authenticated
publish: $authenticated
# if package is not available locally, proxy requests to 'npmjs' registry
proxy: npmjs
# enables the `npm audit` command
middlewares:
audit:
enabled: true
# log settings
logs: {type: stdout, format: json, level: http}
# prettier, but can slow down production performance
# logs: {type: stdout, format: pretty, level: http}
# logs: {type: file, path: verdaccio.log, level: info}
#htpasswd: |-
# username:$apr1$1yx4o9cm$mrXuql165iMOqzOj0rK0O1
persistence:
enabled: true
## A manually managed Persistent Volume and Claim
## Requires Persistence.Enabled: true
## If defined, PVC must be created manually before volume will be bound
# existingClaim:
## Verdaccio data Persistent Volume Storage Class
## If defined, storageClassName: <storageClass>
## If set to "-", storageClassName: "", which disables dynamic provisioning
## If undefined (the default) or set to null, no storageClassName spec is
## set, choosing the default provisioner. (gp2 on AWS, standard on
## GKE, AWS & OpenStack)
##
# storageClass: "-"
accessMode: ReadWriteOnce
size: 8Gi
## selector can be used to match an existing PersistentVolume
## selector:
## matchLabels:
## app: my-app
selector: {}
volumes:
# - name: nothing
# emptyDir: {}
mounts:
# - mountPath: /var/nothing
# name: nothing
# readOnly: true
podSecurityContext:
fsGroup: 101
securityContext:
runAsUser: 10001
priorityClass:
enabled: false
# name: ""
existingConfigMap: false