1# Default values for docker-registry.
2# This is a YAML-formatted file.
3# Declare variables to be passed into your templates.
18 repository: cgr.dev/chainguard-private/distribution
19 tag: latest@sha256:60f056d1b36cc12f5fd674a9fb33c6e19cec4cf9cdc35e66aaa6bc4797377506
20 pullPolicy: IfNotPresent
28 # sessionAffinity: None
29 # sessionAffinityConfig: {}
34 # loadBalancerSourceRanges:
43 # Used to create an Ingress record.
47 # kubernetes.io/ingress.class: nginx
48 # kubernetes.io/tls-acme: "true"
51 # Secrets must be manually created in the namespace.
52 # - secretName: chart-example-tls
54 # - chart-example.local
56# We usually recommend not to specify default resources and to leave this as a conscious
57# choice for the user. This also increases chances charts run on environments with little
58# resources, such as Minikube. If you do want to specify resources, uncomment the following
59# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
67 accessMode: 'ReadWriteOnce'
71# set the type of filesystem to use: filesystem, s3
73# Set this to name of secret for tls certs
74# tlsSecretName: registry.docker.example.com
83# Secrets for S3 access and secret keys
84# Use a secretRef with keys (accessKey, secretKey) for secrets stored outside the chart
89# Secrets for Swift username and password
94# Options for s3 storage type:
97# regionEndpoint: https://s3.us-east-1.amazonaws.com
99# rootdirectory: /object/prefix
102# forcepathstyle: true
105# Options for swift storage type:
107# authurl: http://swift.example.com/
108# container: my-container
110# https://docs.docker.com/registry/recipes/mirror/
113 remoteurl: https://registry-1.docker.io
116 # the ref for a secret stored outside of this chart
117 # Keys: proxyUsername, proxyPassword
122 # Create a prometheus-operator servicemonitor
126 # prometheus-operator PrometheusRule defining alerting rules for a Prometheus instance
131configPath: /etc/distribution
139 blobdescriptor: inmemory
143 X-Content-Type-Options: [nosniff]
154containerSecurityContext:
157 allowPrivilegeEscalation: false
162 readOnlyRootFilesystem: true
170 fsGroupChangePolicy: Always
172 supplementalGroups: []
176podDisruptionBudget: {}
184 targetCPUUtilizationPercentage: 60
185 targetMemoryUtilizationPercentage: 60 # available only on Kubernetes ≥1.23 [required "autoscaling/v2"]
186 behavior: {} # available only on Kubernetes ≥1.23 [required "autoscaling/v2"]
188# stabilizationWindowSeconds: 300
194# stabilizationWindowSeconds: 0
208## Additional volumeMounts to the registry container.
209# - mountPath: /secret-data
210# name: cloudfront-pem-secret
214## Additional volumes to the pod.
215# - name: cloudfront-pem-secret
217# secretName: cloudfront-credentials
219# - key: cloudfront.pem
220# path: cloudfront.pem
224## Additional ENV variables to set
225# - name: REGISTRY_STORAGE_FILESYSTEM_ROOTDIRECTORY
226# value: "/var/lib/example"
229## Init containers to add to the Deployment
237 schedule: "0 1 * * *"
241 # We usually recommend not to specify default resources and to leave this as a conscious
242 # choice for the user. This also increases chances charts run on environments with little
243 # resources, such as Minikube. If you do want to specify resources, uncomment the following
244 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.