forked from Deuxfleurs/garage
Updates values.yml with some opinionated and untested defaults
This commit is contained in:
parent
6dba7dadf4
commit
db0c8b3980
2 changed files with 54 additions and 35 deletions
|
@ -21,4 +21,4 @@ version: 0.1.0
|
||||||
# incremented each time you make changes to the application. Versions are not expected to
|
# incremented each time you make changes to the application. Versions are not expected to
|
||||||
# follow Semantic Versioning. They should reflect the version the application is using.
|
# follow Semantic Versioning. They should reflect the version the application is using.
|
||||||
# It is recommended to use it with quotes.
|
# It is recommended to use it with quotes.
|
||||||
appVersion: "v0.7.2"
|
appVersion: "v0.7.2.1"
|
||||||
|
|
|
@ -6,10 +6,13 @@
|
||||||
garage:
|
garage:
|
||||||
metadataDir: "/mnt/meta"
|
metadataDir: "/mnt/meta"
|
||||||
dataDir: "/mnt/data"
|
dataDir: "/mnt/data"
|
||||||
|
# Default to 3 replicas, see the replication_mode section at
|
||||||
|
# https://garagehq.deuxfleurs.fr/documentation/reference-manual/configuration/
|
||||||
replicationMode: "3"
|
replicationMode: "3"
|
||||||
rpcBindAddr: "[::]:3901"
|
rpcBindAddr: "[::]:3901"
|
||||||
# If not given, a random secret will be generated
|
# If not given, a random secret will be generated and stored in a Secret object
|
||||||
rpcSecret: ""
|
rpcSecret: ""
|
||||||
|
# This is not required if you use the integrated kubernetes discovery
|
||||||
bootstrapPeers: []
|
bootstrapPeers: []
|
||||||
kubernetesSkipCrd: false
|
kubernetesSkipCrd: false
|
||||||
s3:
|
s3:
|
||||||
|
@ -24,17 +27,19 @@ garage:
|
||||||
persistence:
|
persistence:
|
||||||
enabled: true
|
enabled: true
|
||||||
meta:
|
meta:
|
||||||
# storageClass: ""
|
# storageClass: "fast-storage-class"
|
||||||
size: 100Mi
|
size: 100Mi
|
||||||
data:
|
data:
|
||||||
# storageClass: ""
|
# storageClass: "slow-storage-class"
|
||||||
size: 100Mi
|
size: 100Mi
|
||||||
|
|
||||||
# Number of StatefulSet replicas to start
|
# Number of StatefulSet replicas/garage nodes to start
|
||||||
replicaCount: 3
|
replicaCount: 3
|
||||||
|
|
||||||
image:
|
image:
|
||||||
repository: dxflrs/amd64_garage
|
repository: dxflrs/amd64_garage
|
||||||
|
# please prefer using the chart version and not this tag
|
||||||
|
tag: ""
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
imagePullSecrets: []
|
imagePullSecrets: []
|
||||||
|
@ -55,66 +60,80 @@ podAnnotations: {}
|
||||||
podSecurityContext: {}
|
podSecurityContext: {}
|
||||||
# fsGroup: 2000
|
# fsGroup: 2000
|
||||||
|
|
||||||
securityContext: {}
|
securityContext:
|
||||||
# capabilities:
|
# The default security context is heavily restricted
|
||||||
# drop:
|
# feel free to tune it to your requirements
|
||||||
# - ALL
|
capabilities:
|
||||||
# readOnlyRootFilesystem: true
|
drop:
|
||||||
# runAsNonRoot: true
|
- ALL
|
||||||
# runAsUser: 1000
|
readOnlyRootFilesystem: true
|
||||||
|
runAsNonRoot: true
|
||||||
|
runAsUser: 1000
|
||||||
|
|
||||||
service:
|
service:
|
||||||
|
# You can rely on any service to expose your cluster
|
||||||
|
# - ClusterIP (+ Ingress)
|
||||||
|
# - NodePort (+ Ingress)
|
||||||
|
# - LoadBalancer
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
s3:
|
s3:
|
||||||
api:
|
api:
|
||||||
port: 3900
|
port: 3900
|
||||||
web:
|
web:
|
||||||
port: 3902
|
port: 3902
|
||||||
|
# NOTE: the admin API is excluded for now as it is not consistent across nodes
|
||||||
ingress:
|
ingress:
|
||||||
s3:
|
s3:
|
||||||
api:
|
api:
|
||||||
enabled: false
|
enabled: true
|
||||||
className: ""
|
# Rely either on the className or the annotation below but not both
|
||||||
annotations: {}
|
# replace "nginx" by an Ingress controller
|
||||||
# kubernetes.io/ingress.class: nginx
|
# you can find examples here https://kubernetes.io/docs/concepts/services-networking/ingress-controllers
|
||||||
|
className: "nginx"
|
||||||
|
annotations:
|
||||||
|
# kubernetes.io/ingress.class: "nginx"
|
||||||
# kubernetes.io/tls-acme: "true"
|
# kubernetes.io/tls-acme: "true"
|
||||||
hosts:
|
hosts:
|
||||||
- host: chart-example.local
|
- host: "s3.garage.tld" # garage S3 API endpoint
|
||||||
paths:
|
paths:
|
||||||
- path: /
|
- path: /
|
||||||
pathType: ImplementationSpecific
|
pathType: Prefix
|
||||||
|
- host: "*.s3.garage.tld" # garage S3 API endpoint, DNS style bucket access
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
tls: []
|
tls: []
|
||||||
# - secretName: chart-example-tls
|
# - secretName: my-garage-cluster-tls
|
||||||
# hosts:
|
# hosts:
|
||||||
# - chart-example.local
|
# - kubernetes.docker.internal
|
||||||
web:
|
web:
|
||||||
enabled: false
|
enabled: true
|
||||||
className: ""
|
className: "nginx"
|
||||||
annotations: {}
|
annotations: {}
|
||||||
# kubernetes.io/ingress.class: nginx
|
# kubernetes.io/ingress.class: nginx
|
||||||
# kubernetes.io/tls-acme: "true"
|
# kubernetes.io/tls-acme: "true"
|
||||||
hosts:
|
hosts:
|
||||||
- host: chart-example.local
|
- host: "*.web.garage.tld" # wildcard website access with bucket name prefix
|
||||||
paths:
|
paths:
|
||||||
- path: /
|
- path: /
|
||||||
pathType: ImplementationSpecific
|
pathType: Prefix
|
||||||
|
- host: "mywebpage.example.com" # specific bucket access with FQDN bucket
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
tls: []
|
tls: []
|
||||||
# - secretName: chart-example-tls
|
# - secretName: my-garage-cluster-tls
|
||||||
# hosts:
|
# hosts:
|
||||||
# - chart-example.local
|
# - kubernetes.docker.internal
|
||||||
|
|
||||||
resources: {}
|
resources: {}
|
||||||
# We usually recommend not to specify default resources and to leave this as a conscious
|
# The following are indicative for a small-size deployement, for anything serious double them.
|
||||||
# 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:
|
# limits:
|
||||||
# cpu: 100m
|
# cpu: 100m
|
||||||
# memory: 128Mi
|
# memory: 1024Mi
|
||||||
# requests:
|
# requests:
|
||||||
# cpu: 100m
|
# cpu: 100m
|
||||||
# memory: 128Mi
|
# memory: 512Mi
|
||||||
|
|
||||||
nodeSelector: {}
|
nodeSelector: {}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue