-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvalues.yaml
233 lines (211 loc) · 8.29 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
# Default values for linkwarden.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
# This is to override the chart name.
nameOverride: ""
fullnameOverride: ""
# This will set the replicaset count more information can be found here: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/
replicaCount: 1
# This sets the container image more information can be found here: https://kubernetes.io/docs/concepts/containers/images/
image:
repository: ghcr.io/linkwarden/linkwarden
# This sets the pull policy for images.
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: ""
# This is for the secretes for pulling an image from a private repository more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
imagePullSecrets: []
#This section builds out the service account more information can be found here: https://kubernetes.io/docs/concepts/security/service-accounts/
serviceAccount:
# Specifies whether a service account should be created
create: true
# Automatically mount a ServiceAccount's API credentials?
automount: 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: ""
# This is for setting up a service more information can be found here: https://kubernetes.io/docs/concepts/services-networking/service/
service:
# This sets the service type more information can be found here: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types
type: ClusterIP
# This sets the ports more information can be found here: https://kubernetes.io/docs/concepts/services-networking/service/#field-spec-ports
port: 3000
# This is to setup the liveness and readiness probes more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/
livenessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 30
periodSeconds: 30
readinessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 30
periodSeconds: 30
# Linkwarden Configuration
linkwarden:
# -- Existing secret with environment variables required by Linkwarden
# -- If set, secrets in values will be ignored
existingSecret: ""
# -- Linkwarden application configuration
# -- NextAuth URL
nextAuthUrl : "http://localhost:3000/api/v1/auth"
# -- NextAuth secret (Generate a random string using `openssl rand -base64 32`)
nextAuthSecret: ""
# -- If set to true, registration will be disabled.
disableRegistration: false
# -- If set to true, users will be able to login with username and password.
credentialsEnabled: true
# -- If set to true, new users will not be able to login with SSO.
disableNewSSOUsers: false
# -- The numbers of Links to fetch every time you reach the bottom of the webpage
paginationTakeCount: 50
# -- Max number of playwright workers
maxWorkers: 5
# -- Adjusts how often a user can trigger a new archive for each link (in minutes).
reArchiveLimit: 5
# -- The amount of time to wait for the website to be archived (in seconds).
autoScrollTimeout: 30
# -- Browser timeout for archiving
browserTimeout: 30000
# -- Ignore certificate verification while fetching links
ignoreUnauthorizedCA: false
# -- Ignore HTTPS errors in browser
ignoreHttpsErrors: false
# -- Disable archiving links
disablePreservation: false
# -- The variables you need to configure to enable password recovery without the admin interfering, email verification, etc.
# -- If set to true, email will be enabled. Requires emailFrom and emailServer to be set.
emailProvider: ""
# -- Email from address, (ignored if existingSecret is set)
emailFrom: ""
# -- Email server (That sensitive string that starts with smtp://...)
emailServer: ""
# -- Base URL to put in email links
emailBaseUrl: ""
# -- Additional environment variables for Linkwarden
environment: {}
# -- Storage configuration
storage:
# -- Storage type: 's3' or 'filesystem'
type: filesystem
# -- Storage folder for data (required if using filesystem storage)
storageFolder: /data/data
# -- Persistent volume claim settings for filesystem storage
pvc:
# -- Enable persistent volume claim for filesystem storage
enabled: true
# -- Existing persistent volume claim for filesystem storage
existingClaim: ""
# -- Storage class for filesystem storage
storageClass: ""
# -- Access modes for filesystem storage
accessModes:
- ReadWriteOnce
# -- Size of the persistent volume claim for filesystem storage
size: 5Gi
# -- S3 storage settings
s3:
# -- AWS S3 access key
accessKey: ""
# -- AWS S3 secret key
secretKey: ""
# -- AWS S3 endpoint
endpoint: ""
# -- AWS S3 bucket name
bucketName: ""
# -- AWS S3 region
region: ""
# -- AWS S3 force path style (for minio)
forcePathStyle: false
# -- Database
# -- External postgres URL, required if using external database
externalDatabaseUrl: ""
# -- SSO settings
sso:
# -- name of existing secret with environment variables required by the enabled sso providers
existingSecret: ""
# -- SSO providers list
providers:
# -- This is an example of how to add a new SSO provider
# -- Refer to NextAuth.js documentation for more information about required environment variables for providers
google:
# -- whether the provider is enabled
enabled: false
# -- custom name of the provider
customName: "Google"
# -- environment variables required by the provider (ignored if existingSecret is set)
secrets:
GOOGLE_CLIENT_ID: ""
GOOGLE_CLIENT_SECRET: ""
# -- CNPG PostgreSQL database configuration
postgresql:
# -- Enable the integrated PostgreSQL database (using the CNPG Cluster Helm chart)
enabled: true
# -- PostgreSQL cluster name
cluster:
# -- Number of PostgreSQL instances
instances: 1
# -- Storage configuration for PostgreSQL
storage:
# -- Size of the persistent volume claim for PostgreSQL
size: 2Gi
# -- Storage class for PostgreSQL
storageClass: ""
# Additional configs
# For more information, see official documentation at https://github.com/cloudnative-pg/charts/tree/main/charts/cluster
# This block is for setting up the ingress for more information can be found here: https://kubernetes.io/docs/concepts/services-networking/ingress/
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
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
# This is for setting Kubernetes Annotations to a Pod.
# For more information checkout: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
podAnnotations: {}
# This is for setting Kubernetes Labels to a Pod.
# For more information checkout: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
podLabels: {}
#This section is for setting up autoscaling more information can be found here: https://kubernetes.io/docs/concepts/workloads/autoscaling/
autoscaling:
enabled: false
minReplicas: 1
maxReplicas: 100
targetCPUUtilizationPercentage: 80
# targetMemoryUtilizationPercentage: 80
podSecurityContext: {}
# fsGroup: 2000
containerSecurityContext: {}
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
nodeSelector: {}
tolerations: []
affinity: {}