-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvalues.yaml
402 lines (355 loc) · 13 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
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
## Tapir configuration
## Ref: https://github.com/PacoVK/tapir
##
# -- Provide a name in place of `tapir`
nameOverride: ""
# -- String to fully override `"tapir.fullname`
fullnameOverride: ""
# -- Create roles for cluster-wide installation
createClusterRoles: true
## Deployment
deployment:
# -- Default image used by `tapir` deployment
image:
# -- Repository to use for tapir
repository: "pacovk/tapir"
# -- Tag to use for tapir
tag: ""
# -- Image pull policy for tapi
imagePullPolicy: Always
# -- Annotations to be added to `tapir` deployment
annotations: {}
# -- Labels to be added to `tapir` deployment
labels: {}
# -- Deployment strategy for the deployment
strategy: {}
# type: RollingUpdate
# rollingUpdate:
# maxSurge: 25%
# maxUnavailable: 25%
# -- The number of application pods to run
## Doesn't apply if autoscaling.enabled is set to true
replicas: 1
# -- Number of old deployment ReplicaSets to retain. The rest will be garbage collected.
revisionHistoryLimit: 3
# -- Secrets with credentials to pull images from a private registry
imagePullSecrets: []
# -- Annotations to be added to all deployed pods
podAnnotations: {}
# -- Labels to be added to all deployed pods
podLabels: {}
# -- Additional entries that will be injected in the pod's /etc/hosts file
hostAliases: []
# -- Pod level security context
securityContext: {}
# runAsNonRoot: true
# runAsUser: 185
# -- Priority class for the tapir pods
priorityClassName: ""
# -- terminationGracePeriodSeconds for container lifecycle hook
terminationGracePeriodSeconds: 30
# -- Environment variables to pass to the `tapir` pods, other than ones defined in deployment.configuration object
extraEnv: {}
# -- envFrom to pass to the `tapir` pods
envFrom: {}
# -- Tapir container port
containerPort: 8080
# -- Readiness and liveness probes for `tapir`
## Ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/
livenessProbe: {}
readinessProbe: {}
# -- Resource limits and requests for the `tapir`` pods
resources: {}
# limits:
# cpu: 500m
# memory: 1Gi
# requests:
# cpu: 500m
# memory: 1Gi
# -- Container level security context
containerSecurityContext: {}
# runAsNonRoot: true
# readOnlyRootFilesystem: true
# allowPrivilegeEscalation: false
# capabilities:
# drop:
# - ALL
# -- Specify postStart and preStop lifecycle hooks for your `tapir` container
lifecycle: {}
# -- Assign custom affinity rules to the deployment
## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
affinity: {}
# -- [Node selector]
nodeSelector: {}
# -- [Tolerations]
tolerations: []
# -- Assign custom topologySpreadConstraints rules to the `tapir` pods
## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/
topologySpreadConstraints: []
# -- Host network for `tapir` pods
hostNetwork: false
# -- [DNS configuration]
dnsConfig: {}
# -- Alternative DNS policy
dnsPolicy: "ClusterFirst"
# -- Deployment's configuration, populates all the required environmental variables
## Ref: https://github.com/PacoVK/tapir/blob/main/docs/configuration.md
configuration:
# -- Database backend configuration
backend:
# -- One of: elasticsearch,dynamodb,cosmosdb
type: "dynamodb"
# -- Elasticsearch backend configuration
## Applies if backend.type is equal to "elasticsearch"
elasticsearch:
# -- Elasticsearch host
host: ""
# -- Elasticsearch username (optional)
user: ""
# -- Elasticsearch password (optional)
password: ""
# -- CosmosDB backend configuration
## Applies if backend.type is equal to "cosmosdb"
cosmosDB:
# -- CosmosDB endpoint
endpoint: ""
# -- CosmosDB master key
masterKey: ""
# -- Storage configuration
storage:
# -- One of: "s3,azureBlob,local"
type: "s3"
# -- Amount of minutes the signed download url is valid
storageAccessDuration: 5
# -- S3 storage configuration
## Applies if storage.type is equal to "s3"
s3:
# -- S3 bucket name
bucketName: "tf-registry"
# -- S3 bucket region
bucketRegion: "eu-central-1"
# -- Azure Blob storage configuration
## Applies if storage.type is equal to "azureBlob"
azureBlob:
# -- Azure Blob bucket name
bucketName: "tf-registry"
# -- Azure Blob connection string
connectionString: ""
# -- Tapir's local storage configuration
## Applies if storage.type is equal to "local"
localRegistry:
# -- Tapir's DNS record
hostname: localhost
# -- Tapir's external port
port: 443
# -- The maximum payload size for module/providers to be uploaded
apiMaxBodySize: 100M
# -- GPG configuration
gpg:
# -- GPG key ID of the key to be used (eg. D17C807B4156558133A1FB843C7461473EB779BD)
keyID: ""
# -- Ascii armored and bas64 encoded GPG public key (only RSA/DSA supported)
keyArmor: ""
# -- OpenID Connect (OIDC) configuration
auth:
# -- The base URL of the OIDC server
endpoint: ""
# -- Client ID
clientID: ""
# -- Client secret if required by client
clientSecret: ""
# -- Relative path or absolute URL of the OIDC token endpoint which issues access and refresh tokens
tokenPath: ""
# -- Relative path or absolute URL of the OIDC authorization endpoint
path: ""
# -- The source of the role claim in the access token
roleSource: "accesstoken"
# -- OIDC attribute names
attribute:
# -- The attribute name in the token where the email is placed in
email: "email"
# -- The attribute name in the token where the given name is placed in
givenName: "given_name"
# -- The attribute name in the token where the family name is placed in
familyName: "family_name"
# -- The attribute name in the token where the preferred username is placed in
prefUsername: "preferred_username"
# -- IDP end session path, which will be used to logout
endSessionPath: "/protocol/openid-connect/logout"
## Persistence configuration for `local` storage
## If `local` storage is configured and persistence is not enabled
## then emptyDir is used as a volume to enable readOnlyFilesystem security context
persistence:
# -- Create a persistent volume claim for `tapir` deployment
enabled: false
# -- Use existing persistent volume claim instead of creating a new one
existingClaim: ""
# -- Resource policy annotation, if set to keep it adds annotation `helm.sh/resource-policy: keep`
resourcePolicy: ""
# -- Set access mode for the persistent volume claim
## Ref: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#access-modes
accessMode: "ReadWriteOnce"
# -- Set requests.storage value
size: "5Gi"
# Specify the `storageClass` used to provision the volume.
# If not specified the default StorageClass will be used.
# Set to "-" to disable dynamic provisioning
storageClass: ""
# -- Annotations applied to created persistent volume claim
annotations: {}
# -- Labels applied to created persistent volume claim
labels: {}
## Service Account
serviceAccount:
# -- Create a service account for `tapir` deployment
create: true
# -- Service account name
name: "tapir"
# -- Annotations applied to created service account
annotations: {}
# -- Labels applied to created service account
labels: {}
# -- Automount API credentials for the service account
automountServiceAccountToken: false
## Horizontal Pod Autoscaler
autoscaling:
# -- Enable Horizontal Pod Autoscaler ([HPA]) for the `tapir` deployment
enabled: false
# -- Minimum number of replicas for the `tapir` deployment [HPA]
minReplicas: 1
# -- Maximum number of replicas for the `tapir` deployment [HPA]
maxReplicas: 1
# -- Average CPU utilization percentage for the `tapir` deployment [HPA]
targetCPUUtilizationPercentage: ""
# -- Average memory utilization percentage for the `tapir` deployment [HPA]
targetMemoryUtilizationPercentage: ""
# -- Configures scaling behavior of the target in both Up and Down directions
behavior: {}
# scaleDown:
# stabilizationWindowSeconds: 300
# policies:
# - type: Pods
# value: 1
# periodSeconds: 180
# scaleUp:
# stabilizationWindowSeconds: 300
# policies:
# - type: Pods
# value: 2
# periodSeconds: 60
# -- Configures custom HPA metrics for the `tapir` deployment
# Ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/
metrics: {}
## Service configuration
service:
# -- Service annotations
annotations: {}
# -- Service labels
labels: {}
# -- Service type
type: ClusterIP
# -- Service https port
portHttps: 443
# -- Service https port for NodePort service type (only if `service.type` is set to "NodePort")
nodePortHttps: 30443
# -- LoadBalancer will be created with the IP specified in this field
loadBalancerIP: ""
# -- Source IP ranges to allow access to service from
loadBalancerSourceRanges: []
# -- Service external IPs
externalIPs: []
# -- Denotes if the service desires to route external traffic to node-local or cluster-wide endpoints
externalTrafficPolicy: ""
# -- Used to maintain session affinity. Supports `ClientIP` and `None`
sessionAffinity: ""
## Ingress configuration
ingress:
# -- Enable an ingress resource for the `tapir` registry
enabled: false
# -- Additional ingress annotations
annotations: {}
# -- Additional ingress labels
labels: {}
# -- Defines which ingress controller will implement the resource
ingressClassName: ""
# -- List of ingress hosts
## Hostnames must be enabled if Ingress is enabled
## TLS secrets must be manually created in the namespace or created using Certificate resource
hosts: []
# -- tapir.example.com
# -- List of ingress paths
paths:
- /*
# -- Ingress path type. One of `Exact`, `Prefix` or `ImplementationSpecific`
pathType: ImplementationSpecific
# -- Additional ingress paths
extraPaths: []
# - path: /additional-endpoint
# pathType: Prefix
# backend:
# service:
# name: additional-service
# port:
# name: use-annotation
# -- Ingress TLS configuration
tls: []
# - secretName: tapir-tls
# hosts:
# - tapir.example.com
## TLS certificate configuration via cert-manager
## Ref: https://cert-manager.io/docs/usage/certificate/
certificate:
# -- Deploy a Certificate resource (requires cert-manager)
enabled: false
# -- The name of the Secret that will be created and managed by this Certificate resource
secretName: "tapir-tls"
# -- Certificate primary domain (CommonName)
domain: "tapir.example.com"
# -- Certificate Subject Alternate Names (SANs)
additionalHosts: []
# -- The requested 'duration' (i.e. lifetime) of the certificate.
# @default -- `""` (defaults to 2160h = 90d if not specified)
## Ref: https://cert-manager.io/docs/usage/certificate/#renewal
duration: ""
# -- How long before the expiry a certificate should be renewed.
# @default -- `""` (defaults to 360h = 15d if not specified)
## Ref: https://cert-manager.io/docs/usage/certificate/#renewal
renewBefore: ""
## Ref: https://cert-manager.io/docs/concepts/issuer
issuer:
# -- Certificate issuer group. Set if using an external issuer.
group: ""
# -- Certificate issuer kind. Either `Issuer` or `ClusterIssuer`
kind: ""
# -- Certificate issuer name. Eg. `letsencrypt`
name: ""
# -- Private key of the certificate
privateKey:
# -- Rotation policy of private key when certificate is re-issued. Either: `Never` or `Always`
rotationPolicy: Never
# -- The private key cryptography standards (PKCS) encoding for private key. Either: `PCKS1` or `PKCS8`
encoding: PKCS1
# -- Algorithm used to generate certificate private key. One of: `RSA`, `Ed25519` or `ECDSA`
algorithm: RSA
# -- Key bit size of the private key. If algorithm is set to `Ed25519`, size is ignored.
size: 2048
# -- Annotations to be applied to the `tapir` Certificate
annotations: {}
# -- Usages for the certificate
### Ref: https://cert-manager.io/docs/reference/api-docs/#cert-manager.io/v1.KeyUsage
usages: []
## Pod Distruption Budget
## Ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb/
pdb:
# -- Deploy a [PodDistruptionBudget] for the `tapir` deployment
enabled: false
# - Labels to be added to `tapir` pdb
labels: {}
# -- Annotations to be added to `tapir` pdb
annotations: {}
# -- Number of pods that are available after eviction as number or percentage (eg.: 50%)
# @default -- `""` (defaults to 0 if not specified)
minAvailable: ""
# -- Number of pods that are unavailable after eviction as number or percentage (eg.: 50%).
## Has higher precedence over `repoServer.pdb.minAvailable`
maxUnavailable: ""