2021-01-17 01:09:41 +00:00
|
|
|
## If you want more than 1 replica you will have to use a ReadWriteMany volume
|
|
|
|
replicaCount: 1
|
|
|
|
|
|
|
|
image:
|
|
|
|
repository: pypiserver/pypiserver
|
2022-12-11 21:05:37 +00:00
|
|
|
tag: v1.5.1
|
2021-01-17 01:09:41 +00:00
|
|
|
pullPolicy: IfNotPresent
|
|
|
|
pullSecrets: []
|
|
|
|
|
|
|
|
pypiserver:
|
|
|
|
# for a list of options see: https://github.com/pypiserver/pypiserver
|
|
|
|
extraArgs: []
|
|
|
|
# - --disable-fallback
|
|
|
|
# - --log-conf=/path/to/file
|
|
|
|
|
|
|
|
auth:
|
|
|
|
## comma-separated list of (case-insensitive) actions to authenticate
|
|
|
|
## Use '.' or '' for empty. Requires to have set the password (option below).
|
|
|
|
## Available actions are update, download and list
|
|
|
|
actions: update
|
|
|
|
## Map of username / encoded passwords that will be put to the htpasswd file
|
|
|
|
## use `htpasswd -n -b username password` to generate them
|
|
|
|
credentials: {}
|
|
|
|
|
|
|
|
podAnnotations: {}
|
|
|
|
|
|
|
|
podLabels: {}
|
|
|
|
|
|
|
|
ingress:
|
|
|
|
enabled: false
|
2022-07-31 03:27:41 +00:00
|
|
|
className: ""
|
2021-01-17 01:09:41 +00:00
|
|
|
annotations: {}
|
2022-07-31 03:27:41 +00:00
|
|
|
hosts:
|
|
|
|
- host: chart-example.local
|
|
|
|
paths:
|
|
|
|
- path: /
|
|
|
|
pathType: ImplementationSpecific
|
2021-01-17 01:09:41 +00:00
|
|
|
tls: []
|
2022-07-31 03:27:41 +00:00
|
|
|
# - secretName: chart-example-tls
|
|
|
|
# hosts:
|
|
|
|
# - chart-example.local
|
2021-01-17 01:09:41 +00:00
|
|
|
|
|
|
|
service:
|
|
|
|
type: ClusterIP
|
|
|
|
port: 8080
|
|
|
|
annotations: {}
|
|
|
|
labels: {}
|
|
|
|
clusterIP: ""
|
|
|
|
## List of IP addresses at which the pypiserver service is available
|
|
|
|
## Ref: https://kubernetes.io/docs/user-guide/services/#external-ips
|
|
|
|
externalIPs: []
|
|
|
|
loadBalancerIP: ""
|
|
|
|
loadBalancerSourceRanges: []
|
|
|
|
# nodePort: 30000
|
|
|
|
|
|
|
|
persistence:
|
|
|
|
enabled: false
|
|
|
|
## PyPi server packages 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: "-"
|
|
|
|
##
|
|
|
|
## If you want to reuse an existing claim, you can pass the name of the PVC
|
|
|
|
## using the existingClaim variable
|
|
|
|
# existingClaim: your-claim
|
|
|
|
##
|
|
|
|
## The Access mode should be ReadWriteMany if you decide to scale up to more
|
|
|
|
## than one replica
|
|
|
|
accessMode: ReadWriteOnce
|
|
|
|
size: 5Gi
|
|
|
|
mountPropagation: None
|
|
|
|
|
|
|
|
securityContext:
|
|
|
|
enabled: true
|
|
|
|
runAsUser: 0
|
|
|
|
runAsGroup: 0
|
|
|
|
fsGroup: 1000
|
|
|
|
|
|
|
|
resources: {}
|
|
|
|
# We usually recommend not to specify default resources and to leave this as a conscious
|
|
|
|
# choice for the user. This also increases chances charts run on environments with little
|
|
|
|
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
|
|
|
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
|
|
|
# limits:
|
|
|
|
# cpu: 100m
|
|
|
|
# memory: 128Mi
|
|
|
|
# requests:
|
|
|
|
# cpu: 100m
|
|
|
|
# memory: 128Mi
|
|
|
|
|
|
|
|
nodeSelector: {}
|
|
|
|
|
|
|
|
tolerations: []
|
|
|
|
|
|
|
|
affinity: {}
|