mirror of
https://github.com/twuni/docker-registry.helm.git
synced 2026-05-14 21:36:59 +00:00
This commit establishes a baseline from the upstream stable/docker-registry chart
at commit b4912cc150ba284c3f593879ed04916a100d0ae6, browseable at
b4912cc150
The goal of this repo is to take over maintenance of this Helm chart and publish
it to Artifact Hub for the general public to use in lieu of the deprecated
stable/docker-registry chart.
148 lines
3.1 KiB
YAML
148 lines
3.1 KiB
YAML
# Default values for docker-registry.
|
|
# This is a YAML-formatted file.
|
|
# Declare variables to be passed into your templates.
|
|
replicaCount: 1
|
|
|
|
updateStrategy:
|
|
# type: RollingUpdate
|
|
# rollingUpdate:
|
|
# maxSurge: 1
|
|
# maxUnavailable: 0
|
|
|
|
podAnnotations: {}
|
|
podLabels: {}
|
|
|
|
image:
|
|
repository: registry
|
|
tag: 2.7.1
|
|
pullPolicy: IfNotPresent
|
|
# imagePullSecrets:
|
|
# - name: docker
|
|
service:
|
|
name: registry
|
|
type: ClusterIP
|
|
# clusterIP:
|
|
port: 5000
|
|
# nodePort:
|
|
# loadBalancerIP:
|
|
# loadBalancerSourceRanges:
|
|
annotations: {}
|
|
# foo.io/bar: "true"
|
|
ingress:
|
|
enabled: false
|
|
path: /
|
|
# Used to create an Ingress record.
|
|
hosts:
|
|
- chart-example.local
|
|
annotations: {}
|
|
# kubernetes.io/ingress.class: nginx
|
|
# kubernetes.io/tls-acme: "true"
|
|
labels: {}
|
|
tls:
|
|
# Secrets must be manually created in the namespace.
|
|
# - secretName: chart-example-tls
|
|
# hosts:
|
|
# - chart-example.local
|
|
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
|
|
persistence:
|
|
accessMode: 'ReadWriteOnce'
|
|
enabled: false
|
|
size: 10Gi
|
|
# storageClass: '-'
|
|
|
|
# set the type of filesystem to use: filesystem, s3
|
|
storage: filesystem
|
|
|
|
# Set this to name of secret for tls certs
|
|
# tlsSecretName: registry.docker.example.com
|
|
secrets:
|
|
haSharedSecret: ""
|
|
htpasswd: ""
|
|
# Secrets for Azure
|
|
# azure:
|
|
# accountName: ""
|
|
# accountKey: ""
|
|
# container: ""
|
|
# Secrets for S3 access and secret keys
|
|
# s3:
|
|
# accessKey: ""
|
|
# secretKey: ""
|
|
# Secrets for Swift username and password
|
|
# swift:
|
|
# username: ""
|
|
# password: ""
|
|
|
|
# Options for s3 storage type:
|
|
# s3:
|
|
# region: us-east-1
|
|
# regionEndpoint: s3.us-east-1.amazonaws.com
|
|
# bucket: my-bucket
|
|
# encrypt: false
|
|
# secure: true
|
|
|
|
# Options for swift storage type:
|
|
# swift:
|
|
# authurl: http://swift.example.com/
|
|
# container: my-container
|
|
|
|
configData:
|
|
version: 0.1
|
|
log:
|
|
fields:
|
|
service: registry
|
|
storage:
|
|
cache:
|
|
blobdescriptor: inmemory
|
|
http:
|
|
addr: :5000
|
|
headers:
|
|
X-Content-Type-Options: [nosniff]
|
|
health:
|
|
storagedriver:
|
|
enabled: true
|
|
interval: 10s
|
|
threshold: 3
|
|
|
|
securityContext:
|
|
enabled: true
|
|
runAsUser: 1000
|
|
fsGroup: 1000
|
|
|
|
priorityClassName: ""
|
|
|
|
podDisruptionBudget: {}
|
|
# maxUnavailable: 1
|
|
# minAvailable: 2
|
|
|
|
nodeSelector: {}
|
|
|
|
affinity: {}
|
|
|
|
tolerations: []
|
|
|
|
extraVolumeMounts: []
|
|
## Additional volumeMounts to the registry container.
|
|
# - mountPath: /secret-data
|
|
# name: cloudfront-pem-secret
|
|
# readOnly: true
|
|
|
|
extraVolumes: []
|
|
## Additional volumes to the pod.
|
|
# - name: cloudfront-pem-secret
|
|
# secret:
|
|
# secretName: cloudfront-credentials
|
|
# items:
|
|
# - key: cloudfront.pem
|
|
# path: cloudfront.pem
|
|
# mode: 511
|