2021-01-09 17:54:42 +00:00
|
|
|
pypiserver_enabled: true
|
|
|
|
pypiserver_publish: false
|
2021-01-25 18:04:57 +00:00
|
|
|
pypiserver_short_name: "pip"
|
2021-01-09 17:54:42 +00:00
|
|
|
pypiserver_default_values:
|
|
|
|
## If you want more than 1 replica you will have to use a ReadWriteMany volume
|
|
|
|
replicaCount: 1
|
|
|
|
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:
|
|
|
|
pypiserver_admin: "{{ pypiserver_admin_htpasswd_hash }}"
|
|
|
|
ingress:
|
|
|
|
enabled: true
|
2022-07-31 03:28:07 +00:00
|
|
|
className: "{{ external_ingress_class if pypiserver_publish else internal_ingress_class }}"
|
|
|
|
annotations:
|
2021-01-09 17:54:42 +00:00
|
|
|
cert-manager.io/cluster-issuer: "letsencrypt-prod"
|
2022-07-31 03:28:07 +00:00
|
|
|
kubernetes.io/tls-acme: "true"
|
2021-01-09 17:54:42 +00:00
|
|
|
nginx.ingress.kubernetes.io/proxy-body-size: "0"
|
|
|
|
nginx.ingress.kubernetes.io/proxy-read-timeout: "600"
|
|
|
|
nginx.ingress.kubernetes.io/proxy-send-timeout: "600"
|
2022-07-31 03:28:07 +00:00
|
|
|
hosts:
|
|
|
|
- host: "{{ pypiserver_short_name }}.{{ domain }}"
|
|
|
|
paths:
|
|
|
|
- path: /
|
|
|
|
pathType: ImplementationSpecific
|
|
|
|
tls:
|
|
|
|
- secretName: "{{ pypiserver_short_name }}.{{ domain }}-tls"
|
|
|
|
hosts:
|
|
|
|
- "{{ pypiserver_short_name }}.{{ domain }}"
|
2021-01-09 17:54:42 +00:00
|
|
|
persistence:
|
|
|
|
enabled: true
|
|
|
|
storageClass: "{{ pypiserver_storage | default('nfs-hdd') }}"
|
|
|
|
size: "{{ pypiserver_size | default('20Gi') }}"
|
|
|
|
accessMode: "{{ pypiserver_storage_mode | default('ReadWriteMany') }}"
|
|
|
|
mountPropagation: None
|