forked from taikoxyz/taiko-helm-charts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
values.yaml
182 lines (159 loc) · 5.87 KB
/
values.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
# Default values for helm-ipfs-cluster.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
replicaCount: 1
p2pNodePort:
enabled: true
nodePort: 32000
initContainer:
image:
# -- Container image to fetch nodeport information
repository: lachlanevenson/k8s-kubectl
# -- Container tag
tag: v1.25.4
# -- Container pull policy
pullPolicy: IfNotPresent
cluster:
image:
repository: ipfs/ipfs-cluster
pullPolicy: IfNotPresent
tag: "latest"
imagePullSecrets: []
nameOverride: ""
podSecurityContext: {}
# fsGroup: 2000
# -- Additional env variables
extraEnv: []
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: {}
storage:
storageClassName: ""
volumeSize: "" # "1Gi"
service:
type: ""
ipfs:
image:
repository: ipfs/kubo
pullPolicy: IfNotPresent
tag: "latest"
imagePullSecrets: []
nameOverride: ""
podSecurityContext: {}
# fsGroup: 2000
initScripts:
# -- Scripts that will run in an init container before the ipfs node starts. This is useful to setup some configuration parameters
# @default -- See `values.yaml`
001-peers.sh: |-
#!/bin/sh
set -xe
ipfs config Peering.Peers "[ { \"ID\": \"QmcFf2FH3CEgTNHeMRGhN7HNHU1EXAxoEk6EFuSyXCsvRE\", \"Addrs\": [ \"/dnsaddr/node-1.ingress.cloudflare-ipfs.com\" ] }, { \"ID\": \"QmcFmLd5ySfk2WZuJ1mfSWLDjdmHZq7rSAua4GoeSQfs1z\", \"Addrs\": [ \"/dnsaddr/node-2.ingress.cloudflare-ipfs.com\" ] }, { \"ID\": \"QmcfFmzSDVbwexQ9Au2pt5YEXHK5xajwgaU6PpkbLWerMa\", \"Addrs\": [ \"/dnsaddr/node-3.ingress.cloudflare-ipfs.com\" ] }, { \"ID\": \"QmcfJeB3Js1FG7T8YaZATEiaHqNKVdQfybYYkbT1knUswx\", \"Addrs\": [ \"/dnsaddr/node-4.ingress.cloudflare-ipfs.com\" ] }, { \"ID\": \"QmcfVvzK4tMdFmpJjEKDUoqRgP4W9FnmJoziYX5GXJJ8eZ\", \"Addrs\": [ \"/dnsaddr/node-5.ingress.cloudflare-ipfs.com\" ] }, { \"ID\": \"QmcfZD3VKrUxyP9BbyUnZDpbqDnT7cQ4WjPP8TRLXaoE7G\", \"Addrs\": [ \"/dnsaddr/node-6.ingress.cloudflare-ipfs.com\" ] }, { \"ID\": \"QmcfZP2LuW4jxviTeG8fi28qjnZScACb8PEgHAc17ZEri3\", \"Addrs\": [ \"/dnsaddr/node-7.ingress.cloudflare-ipfs.com\" ] }, { \"ID\": \"QmcfgsJsMtx6qJb74akCw1M24X1zFwgGo11h1cuhwQjtJP\", \"Addrs\": [ \"/dnsaddr/node-8.ingress.cloudflare-ipfs.com\" ] }, { \"ID\": \"Qmcfr2FC7pFzJbTSDfYaSy1J8Uuy8ccGLeLyqJCKJvTHMi\", \"Addrs\": [ \"/dnsaddr/node-9.ingress.cloudflare-ipfs.com\" ] }, { \"ID\": \"QmcfR3V5YAtHBzxVACWCzXTt26SyEkxdwhGJ6875A8BuWx\", \"Addrs\": [ \"/dnsaddr/node-10.ingress.cloudflare-ipfs.com\" ] }, { \"ID\": \"Qmcfuo1TM9uUiJp6dTbm915Rf1aTqm3a3dnmCdDQLHgvL5\", \"Addrs\": [ \"/dnsaddr/node-11.ingress.cloudflare-ipfs.com\" ] }, { \"ID\": \"QmcfV2sg9zaq7UUHVCGuSvT2M2rnLBAPsiE79vVyK3Cuev\", \"Addrs\": [ \"/dnsaddr/node-12.ingress.cloudflare-ipfs.com\" ] } ]" --json
# 002-gc.sh: |-
# #!/bin/sh
# set -xe
# ipfs config Datastore.StorageGCWatermark 90 --json
# ipfs config Datastore.StorageMax "50GB"
# ipfs config Datastore.GCPeriod "6h"
# -- Command replacement for the container
customCommand: []
# -- Additional args for the container
extraArgs: []
# -- Additional volume mounts
extraVolumeMounts: []
# -- Additional volumes
extraVolumes: []
# -- Additional env variables
extraEnv: []
# -- Additional init containers
initContainers: []
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: {}
storage:
storageClassName: ""
volumeSize: "" # "1Gi"
service:
type: ClusterIP
fullnameOverride: ""
sharedSecret: ""
serviceAccount:
# Specifies whether a service account should be created
create: true
# Annotations to add to the service account
annotations: {}
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: ""
podAnnotations: {}
securityContext: {}
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
# `service.type` may be overridden by `cluster.service.type` and/or `ipfs.sercive.type`.
service:
type: ClusterIP
ingress:
enabled: false
className: ""
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
hosts:
- host: chart-example.local
paths:
- path: /
pathType: ImplementationSpecific
tls: []
# - secretName: chart-example-tls
# hosts:
# - chart-example.local
rbac:
# -- Specifies whether RBAC resources are to be created
create: true
# -- Required ClusterRole rules
# @default -- See `values.yaml`
clusterRules:
# Required to obtain the nodes external IP
- apiGroups: [""]
resources:
- "nodes"
verbs:
- "get"
- "list"
- "watch"
# -- Required ClusterRole rules
# @default -- See `values.yaml`
rules:
# Required to get information about the serices nodePort.
- apiGroups: [""]
resources:
- "services"
verbs:
- "get"
- "list"
- "watch"