mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
* [stable/verdaccio] add extraEnvVars definition Allow extra environment variables to be defined and passed to the container Signed-off-by: João Francisco <jpaisneto@gmail.com> * [stable/verdaccio] Bump Chart version Signed-off-by: João Francisco <jpaisneto@gmail.com>
155 lines
3.7 KiB
YAML
155 lines
3.7 KiB
YAML
image:
|
|
repository: verdaccio/verdaccio
|
|
tag: 3.11.6
|
|
pullPolicy: IfNotPresent
|
|
|
|
service:
|
|
annotations: {}
|
|
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: 4873
|
|
type: ClusterIP
|
|
# nodePort: 31873
|
|
|
|
## Node labels for pod assignment
|
|
## Ref: https://kubernetes.io/docs/user-guide/node-selection/
|
|
##
|
|
nodeSelector: {}
|
|
|
|
## Tolerations for nodes
|
|
tolerations: []
|
|
|
|
podAnnotations: {}
|
|
replicaCount: 1
|
|
|
|
resources: {}
|
|
# limits:
|
|
# cpu: 100m
|
|
# memory: 512Mi
|
|
# requests:
|
|
# cpu: 100m
|
|
# memory: 512Mi
|
|
|
|
ingress:
|
|
enabled: false
|
|
# hosts:
|
|
# - npm.blah.com
|
|
# annotations:
|
|
# kubernetes.io/ingress.class: nginx
|
|
# tls:
|
|
# - secretName: secret
|
|
# hosts:
|
|
# - npm.blah.com
|
|
|
|
# Extra Environment Values - allows yaml definitions
|
|
extraEnvVars:
|
|
# - name: VALUE_FROM_SECRET
|
|
# valueFrom:
|
|
# secretKeyRef:
|
|
# name: secret_name
|
|
# key: secret_key
|
|
# - name: REGULAR_VAR
|
|
# value: ABC
|
|
|
|
configMap: |
|
|
# 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/verdaccio/verdaccio/tree/master/conf
|
|
#
|
|
|
|
# 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
|
|
|
|
auth:
|
|
htpasswd:
|
|
file: /verdaccio/storage/htpasswd
|
|
# Maximum amount of users allowed to register, defaults to "+infinity".
|
|
# You can set this to -1 to disable registration.
|
|
#max_users: 1000
|
|
|
|
# a list of other known repositories we can talk to
|
|
uplinks:
|
|
npmjs:
|
|
url: https://registry.npmjs.org/
|
|
|
|
packages:
|
|
'@*/*':
|
|
# scoped packages
|
|
access: $all
|
|
publish: $authenticated
|
|
proxy: npmjs
|
|
|
|
'**':
|
|
# allow all users (including non-authenticated users) to read and
|
|
# publish all packages
|
|
#
|
|
# you can specify usernames/groupnames (depending on your auth plugin)
|
|
# and three keywords: "$all", "$anonymous", "$authenticated"
|
|
access: $all
|
|
|
|
# allow all known users to publish packages
|
|
# (anyone can register by default, remember?)
|
|
publish: $authenticated
|
|
|
|
# if package is not available locally, proxy requests to 'npmjs' registry
|
|
proxy: npmjs
|
|
|
|
# To use `npm audit` uncomment the following section
|
|
middlewares:
|
|
audit:
|
|
enabled: true
|
|
|
|
# log settings
|
|
logs:
|
|
- {type: stdout, format: pretty, level: http}
|
|
#- {type: file, path: verdaccio.log, level: info}
|
|
|
|
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
|
|
volumes:
|
|
# - name: nothing
|
|
# emptyDir: {}
|
|
mounts:
|
|
# - mountPath: /var/nothing
|
|
# name: nothing
|
|
# readOnly: true
|
|
|
|
securityContext:
|
|
enabled: true
|
|
runAsUser: 100
|
|
fsGroup: 101
|