Commit Graph

436 Commits

Author SHA1 Message Date
Max Roby
d9e06d8481 update refs form beta.kubernetes to kubernetes 2023-11-24 06:40:19 -08:00
Max Roby
869c2ff4f4 fix loop logic in bucket hook and fix bucket name sin values file 2023-11-24 06:40:19 -08:00
Max Roby
e4f77b283c fix service name generation in post-install hook 2023-11-24 06:40:19 -08:00
Max Roby
c44149a88f add a post-install hook for creating buckets 2023-11-24 06:40:19 -08:00
fibbanachi
69013af0f3 added default tls secret value for master ingress 2023-11-21 14:02:38 -08:00
fibbanachi
9b79a4124d support tls in master-ingress 2023-11-21 14:02:38 -08:00
jessebot
f4cafc1dbc fix yamllint errors 2023-11-21 08:20:45 -08:00
jessebot
c50b6387f6 fix chart bump to be only one minor patch version from the current chart version 2023-11-21 08:20:45 -08:00
jessebot
c219a0c553 specify the filer.s3.existingConfigSecret for the filer statefulset
clean up volumeMounts so name is first in the object list item
2023-11-21 08:20:45 -08:00
jessebot
4297601f4b rename seaweedfs-s3-secret.yaml to s3-secret.yaml to match other s3 files
also make sure we check filer.s3.existingConfigSecret
2023-11-21 08:20:45 -08:00
jessebot
0510682908 adding ability to use an existing Secret for s3 2023-11-21 08:20:45 -08:00
Max Roby
322e783525 remove trailing spaces 2023-11-20 13:52:04 -08:00
Max Roby
4278e9879f fix issue where filer PVC created even if using existingClaim 2023-11-20 13:52:04 -08:00
Max Roby
8ba2bffdba add ability to pass annotations to the volumeClaimtemplate, enables k8up usage 2023-11-20 13:52:04 -08:00
Max Roby
08812f8f5d fix incorrect name of volumes 2023-11-20 13:52:04 -08:00
Max Roby
676bcf08d6 add option for existingClaim usage to master-statefulset, fix naming in volume-statefulset 2023-11-20 13:52:04 -08:00
Max Roby
47095efead enable existing claim on filer 2023-11-20 13:52:04 -08:00
Max Roby
f46f28fcf9 add support for using an existing claim for volume server 2023-11-20 13:52:04 -08:00
Max Roby
ad9fef7a52 fix issue where is always interpreted as true 2023-11-20 13:52:04 -08:00
jessebot
06434f5227 fix annotations templating for s3.ingress.annotations and document it and s3.ingress.tls in values.yaml 2023-11-18 05:20:26 -08:00
dongyue
0bf67a4822 fix: use metricsPort correctly 2023-11-14 04:40:51 -08:00
chrislu
27b34f3793 3.59 2023-11-12 22:12:08 -08:00
Łukasz Maksymczuk
d401e374f7
Add podLabels & podAnnotations to all pods (#4959)
The pods of all statefulsets/deployments can now have customizable
labels and annotations
2023-10-31 23:42:55 -07:00
chrislu
d1e83a3b4d 3.58 2023-10-29 23:04:20 -07:00
fibbanachi
8dfb66880e
Remove hardcoded podManagmentPolicy value in a helm chart (#4941) 2023-10-24 07:34:55 -07:00
Yuval Yacoby
c6991dfd5f
Helm use external certificates (#4913) 2023-10-15 09:14:24 -07:00
Yuval Yacoby
659133fb68
Helm chart jwt signing configuration (#4894)
* add helm chart config to customize jwt signing

* restore values

---------

Co-authored-by: Yuval Yacoby <yyacoby@paloaltonetworks.com>
2023-10-05 07:46:28 -07:00
fibbanachi
763d1946f9
add ingress for seaweedfs s3 (#4887) 2023-10-03 07:35:52 -07:00
aronneagu
abe599ee4a
Allow override internalTrafficPolicy (#4877) 2023-09-28 06:18:54 -07:00
chrislu
0f8168c0c9 3.57 2023-09-24 21:29:31 -07:00
chrislu
440ebd7b6d update chart.yaml version 2023-09-19 14:14:35 -07:00
Armand LEOPOLD
6eededee10
Wrong default value for volume.ressource (#4855)
* Update values.yaml

* Update Chart.yaml
2023-09-19 14:13:59 -07:00
chrislu
5407b86766 3.56 2023-09-10 22:05:41 -07:00
fibbanachi
7374ceecda
improve k8s probes templating in helm chart (#4805) 2023-09-02 13:26:27 -07:00
ginn13
f139a56cb9
Add master servers to grafana dashboard (#4801) 2023-08-31 06:42:07 -07:00
Dmitriy Pavlov
de1dcf3b2f
[heml] fix default affinity and allow owerride ingress annotations (#4799) 2023-08-29 08:43:11 -07:00
Alexandre Viau
271c51f273
helm: allow setting master.toml config (#4797) 2023-08-28 20:44:09 -07:00
Alexandre Viau
db5d23defe
k8s: allow configuring serviceAccountName (#4790) 2023-08-28 09:06:06 -07:00
Dmitriy Pavlov
56aef67912
[heml] complete redesign of labels (#4788) 2023-08-28 07:37:05 -07:00
Dmitriy Pavlov
3d45ecd326
[helm] fix log to stderr and default host for ingress (#4787) 2023-08-27 13:53:28 -07:00
tikhon-opsfleet
5251b4d50e
[helm] add possibility to use array for imagePullSecrets (#4782)
add possibility to use array for imagePullSecrets
2023-08-23 01:01:41 -07:00
gfhe
d7937f9738
fix bugs: seaweedfs master ingress host configuration do not work (#4781)
fix bugs: seaweedfs hem charts ignore the master ingress configuration
2023-08-22 20:11:11 -07:00
Junhao Zou
2af4cab3d0
fix: replace volume.pvc_exists with master.pvc_exists (#4762) 2023-08-17 00:57:07 -07:00
chrislu
7eafa3420b 3.55 2023-07-23 23:11:37 -07:00
Armand LEOPOLD
7ab8c6976e
Add variabilisation of RBAC (#4692)
* Add variabilisation of RBAC

* fix also filer reference
2023-07-18 21:44:19 -07:00
chrislu
358b3a4894 3.54 2023-07-16 22:47:57 -07:00
chrislu
2c4c2f0994 3.53 2023-06-25 22:51:14 -07:00
Konstantin Lebedev
0515014149
chart with optional https port for s3 (#4507)
https://github.com/seaweedfs/seaweedfs/pull/4482

Co-authored-by: Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.co>
2023-06-20 09:43:20 -07:00
Andrew Garrett
abef448c51
Fix Helm chart enableSecurity flag (#4537)
Fix Helm chart enableSecurity flag:

- Add parameter for whether to use v1alpha cert-manager CRDs, default off.
- Use self-signed Issuer only for the initial CA certificates, create a new
  Issuer that uses the generated CA certificate and use that for all the others
2023-06-05 12:38:49 -07:00
Andrew Garrett
65b4dc6448
Add secret support for filer environment variables. (#4538)
Instead of providing a literal value as a string, you can provide the contents of valueFrom as a map.
2023-06-05 12:37:54 -07:00
Andrew Garrett
19fd0f7d5b
Helm chart fixes: (#4539)
- Allow TLS and Host name to be specified in values.yaml
2023-06-05 12:37:27 -07:00
chrislu
fb4b61036c 3.52 2023-06-04 22:34:26 -07:00
chrislu
4310e1fac4 3.51 2023-05-21 23:43:39 -07:00
SmsS4
17e91d2917
Use filerGroup for s3 buckets collection prefix (#4465)
* Use filerGroup for s3 buckets collection prefix

* Fix templates

* Remove flags

* Remove s3CollectionPrefix
2023-05-16 09:39:43 -07:00
chrislu
9204ee2d2d 3.50 2023-05-11 08:03:11 -07:00
chrislu
59f55c1a66 3.49 2023-05-07 14:00:19 -07:00
chrislu
42766bccc8 3.48 2023-04-30 22:20:18 -07:00
chrislu
18686b7375 3.47 2023-04-23 22:45:41 -07:00
chrislu
8ecdf958ab 3.46 2023-04-16 21:57:43 -07:00
samcday
e60a7af644
fix(chart): use filer data PVC correctly (#4398) 2023-04-12 09:48:44 -07:00
Kyle Petryszak
ccc030b245
Fixing a service deployment bug (#4392) 2023-04-11 20:05:09 -07:00
samcday
adf80dc3f6
fix(chart): use hostpath filer persistence when deprecated enablePVC is unset (#4384) 2023-04-10 06:32:31 -07:00
chrislu
b9ab65dba5 3.45 2023-04-02 22:52:58 -07:00
Matt
5c783c16a1
Update artifacthub-repo-stable.yml (#4330)
fix to get official status on artifact hub
https://artifacthub.io/docs/topics/repositories/#official-status
2023-03-20 10:49:35 -07:00
chrislu
5b43c4bb98 3.44 2023-03-19 20:27:55 -07:00
Matt
889ecf5c9d
added secret envs to filer (#4284) 2023-03-07 13:18:41 -08:00
Matt
6cf43f9f58
Official Artifact Hub Metadata Resources (#4257)
* compatibility patch for csi driver

* added namespace to all component parameters

* added namespace to all component parameters

* dereference in range

* added namespace to values.yml defaults

* added namespace to s3 component

* added helm chart to github pages

* added helm chart to github pages

* added helm chart to github pages

* added helm chart to github pages

* added helm chart to github pages

* push on all tags

* push on all tags

* push on all tags

* push on all tags

* push on all tags

* changed helm directory structure

* update charts location

* fixed dereference

* updated permissions

* updated permissions

* match current action schema

* added helm chart liniting CI

* modified chart list changed

* fixed nodejs warning

* standardized a few defaults

* added chart dirs

* lowerd period seconds for volume startup to test chart lint changes

* lowerd period seconds for volume startup to test chart lint changes

* test

* changed back

* adjustment

* debug ls statment

* removed change detection

* remvoed change detection

* always lint the charts

* added missing )

* fixed typo

* added spaces in front of all comments

* pdated values.yaml

* pdated values.yaml

* don't validate maintainers for now

* update helm_ci.yml

* update helm_ci.yml

* update helm_ci.yml

* update helm_ci.yml

* update helm_ci.yml

* - adds helm chart lint on changes
- adds test helm chart install on k8s

* updated helm chart readme.md

* added artifact hub

* added artifact hub
2023-02-27 18:58:40 -08:00
Matt
f457956948
Helm Chart Documentation and CI Updates (#4243) 2023-02-22 09:31:13 -08:00
chrislu
3227e4175e 3.43 2023-02-20 16:56:05 -08:00
Matt
00fda86880
Added helm chart publish github actions to github pages on tagging (#4219)
* compatibility patch for csi driver

* added namespace to all component parameters

* added namespace to all component parameters

* dereference in range

* added namespace to values.yml defaults

* added namespace to s3 component

* added helm chart to github pages

* added helm chart to github pages

* added helm chart to github pages

* added helm chart to github pages

* added helm chart to github pages

* push on all tags

* push on all tags

* push on all tags

* push on all tags

* push on all tags

* changed helm directory structure

* update charts location

* fixed dereference

* updated permissions

* updated permissions

* match current action schema
2023-02-17 22:25:50 -08:00
Matt
3f22a9db18
fix missing dereference (#4217)
fix missing dereference

fixes dereference in master statefulset
missed one, sorry
@chrislusf 

I'm working on a helm chart publish action for you that will catch these with helm lint and publish the chart to github pages.
2023-02-17 21:00:50 -08:00
Matt
ca102a0b0b
compatibility patch for csi driver (#4208)
* compatibility patch for csi driver

* added namespace to all component parameters

* added namespace to all component parameters

* dereference in range

* added namespace to values.yml defaults

* added namespace to s3 component
2023-02-17 17:04:43 -08:00
chrislu
8821d6b161 3.42 2023-02-05 21:28:02 -08:00
chrislu
4d71af87f3 3.41 2023-01-29 22:56:01 -08:00
Cristian Chiru
b048659749
Use semver 2 in Chart.yaml (#4142) 2023-01-17 05:34:42 -08:00
chrislu
c87a3ffce3 avoid hard coded versions 2023-01-03 12:13:52 -08:00
chrislu
48f2edc065 3.38 2023-01-02 23:23:02 -08:00
CommanderRoot
c7c9d22f37
filer.store.mysql: Use utf8mb4 instead of 3 byte UTF8 (#4094) 2023-01-01 05:07:53 -08:00
fibbanachi
3901f2da4d
Add logtostderr option in helm chart (#4080) 2022-12-23 07:36:15 -08:00
Naden
27d187eed9
Fixes 4074: S3 Gateway fails to start when installed via Helm (#4075)
Fixes #4074: S3 Gateway fails to start when installed via Helm

Co-authored-by: Naden <naden@harana.com>
2022-12-20 17:24:54 -08:00
Naden
3b90eb1911
Fixes: 4076: Host path prefix should be configurable (#4077)
Co-authored-by: Naden <naden@harana.com>
2022-12-20 17:24:12 -08:00
chrislu
438146249f 3.37 2022-12-11 21:08:06 -08:00
chrislu
fad7e1f7cb 3.36 2022-12-04 23:34:29 -08:00
chrislu
b1d7963e57 3.35 2022-11-14 00:21:00 -08:00
chrislu
47db75a695 3.34 2022-11-06 23:06:22 -08:00
chrislu
bd459db5fb Revert "put v in front of appVersion that is used as image tag (#3925)"
This reverts commit ee7bf69c03.
2022-10-31 11:00:11 -07:00
Cristian Chiru
ee7bf69c03
put v in front of appVersion that is used as image tag (#3925) 2022-10-31 01:26:12 -07:00
chrislu
0f360862bf 3.33 2022-10-30 20:40:18 -07:00
Matt Ward
e90ad660ff
fix volume statefulset helm chart's tolerations (#3911) 2022-10-25 23:30:37 -07:00
chrislu
758d70bdc0 3.32 2022-10-16 20:43:37 -07:00
chrislu
0711870f43 3.31 2022-10-10 00:15:30 -07:00
chrislu
29632d5a34 3.30 2022-10-02 18:13:44 -07:00
chrislu
1ffb1e696e 3.29 2022-09-25 19:20:45 -07:00
chrislu
901e8157de 3.28 2022-09-18 17:46:04 -07:00
chrislu
d8ca7d34fe 3.27 2022-09-11 19:47:53 -07:00
chrislu
c07ab9c060 3.26 2022-09-06 08:26:20 -07:00
chrislu
5b38f22e6e 3.25 2022-09-04 22:45:55 -07:00
chrislu
b7a887fea1 3.24 2022-08-28 21:53:13 -07:00
chrislu
c4e862e908 3.23 2022-08-21 19:13:26 -07:00
chrislu
fa4d0093e1 3.22 2022-08-15 16:48:23 -07:00
chrislu
7c029b2183 3.21 2022-08-15 00:32:15 -07:00
chrislu
0854171d22 3.20 2022-08-07 14:42:28 -07:00
ginn13
28a1f42962
Helm chart monitoring improvements (#3406) 2022-08-04 09:08:40 -07:00
Kaiwalya Joshi
6e9d39ac72
feat: Add support for initContainers 2022-08-03 12:21:36 -07:00
chrislu
03c6f978f4 3.19 2022-07-31 17:16:51 -07:00
C2D
1c2c7a3a65 Added details on database requirements 2022-08-01 00:11:40 +00:00
Kaiwalya Joshi
f6e66f4a19
fix: Remove unused values. 2022-07-26 03:34:26 -07:00
Kaiwalya Joshi
1f99bb4e4e
feat: Add PVC Storage option for Master data and logs. 2022-07-26 03:27:41 -07:00
Kaiwalya Joshi
53e3536975
feat: Add PVC Storage option to Filer Logs. 2022-07-26 02:53:48 -07:00
chrislu
475185fb72 3.18 2022-07-25 22:41:38 -07:00
chrislu
dbe4849ffd 3.17 2022-07-24 18:46:50 -07:00
chrislu
56ec89625a 3.16 2022-07-18 00:53:05 -07:00
chrislu
93ccc6e05f 3.15 2022-07-11 00:50:07 -07:00
liubaojiang
106dd13306 fix the spelling error 2022-07-08 16:36:45 +08:00
chrislu
3c79c77056 3.14 2022-07-04 13:15:49 -07:00
chrislu
40a9634c3d 3.13 2022-06-26 20:13:52 -07:00
chrislu
4dc27e1ed5 3.12 2022-06-20 19:07:00 -07:00
chrislu
d4ef06cdcf 3.11 2022-06-14 12:14:52 -07:00
chrislu
e437ec5a68 3.10 2022-06-12 19:30:27 -07:00
chrislu
4a046e4de7 3.09 2022-06-05 19:00:24 -07:00
chrislu
8a49240d64 3.08 2022-05-31 11:57:41 -07:00
chrislu
fbd99d53c1 3.07 2022-05-31 00:36:24 -07:00
chrislu
2f846777bb 3.06 2022-05-23 01:21:48 -07:00
chrislu
acc318e12b 3.05 2022-05-22 21:43:59 -07:00
Kaiwalya Joshi
bee482d49e
fix: Remove invalid serviceName from s3-deployments template.
Remove `deployments.spec.serviceName` from the s3 deployment template.

`serviceName` isn't a valid field and causes issues when deploying the
chart.

This is the full output for `kubectl explain deployments.spec`
```
KIND:     Deployment
VERSION:  apps/v1

RESOURCE: spec <Object>

DESCRIPTION:
     Specification of the desired behavior of the Deployment.

     DeploymentSpec is the specification of the desired behavior of the
     Deployment.

FIELDS:
   minReadySeconds      <integer>
     Minimum number of seconds for which a newly created pod should be ready
     without any of its container crashing, for it to be considered available.
     Defaults to 0 (pod will be considered available as soon as it is ready)

   paused       <boolean>
     Indicates that the deployment is paused.

   progressDeadlineSeconds      <integer>
     The maximum time in seconds for a deployment to make progress before it is
     considered to be failed. The deployment controller will continue to process
     failed deployments and a condition with a ProgressDeadlineExceeded reason
     will be surfaced in the deployment status. Note that progress will not be
     estimated during the time a deployment is paused. Defaults to 600s.

   replicas     <integer>
     Number of desired pods. This is a pointer to distinguish between explicit
     zero and not specified. Defaults to 1.

   revisionHistoryLimit <integer>
     The number of old ReplicaSets to retain to allow rollback. This is a
     pointer to distinguish between explicit zero and not specified. Defaults to
     10.

   selector     <Object> -required-
     Label selector for pods. Existing ReplicaSets whose pods are selected by
     this will be the ones affected by this deployment. It must match the pod
     template's labels.

   strategy     <Object>
     The deployment strategy to use to replace existing pods with new ones.

   template     <Object> -required-
     Template describes the pods that will be created.
```
2022-05-19 15:01:27 -07:00
chrislu
9ff0d99002 3.04 2022-05-15 21:32:21 -07:00
chrislu
cd2d10118c 3.03 2022-05-15 18:17:07 -07:00
chrislu
a4ca3ed1f0 3.02 2022-05-08 22:28:32 -07:00
vincent
da2fe78ac2 fix filer helm pvc configuration 2022-05-07 14:47:13 +08:00
chrislu
73961e24d8 3.01 2022-05-01 23:33:45 -07:00
chrislu
2aef5b8b32 3.00 2022-04-24 21:46:03 -07:00
vincent
1093e8e6d7 fix filer using leveldb2 may lose data 2022-04-18 18:31:45 +08:00
chrislu
9ae66f55fc 2.99 2022-04-17 23:01:42 -07:00
chrislu
c6ec5269f4 2.98 2022-04-10 18:56:40 -07:00
chrislu
a9b4f0df04 default volumeSizeLimitMB to 1000
change it to 1GB, to be consistent with docker images. On k8s and docker, the initial disk spaces usually are not large enough, causing many new users asking about the "no free volume" question.
2022-04-10 13:23:55 -07:00
chrislu
71e837d6f1 remove old comment 2022-04-09 09:47:20 -07:00
chrislu
bc74b57a0b reduce volume size to increase volume count 2022-04-09 09:45:33 -07:00
chrislu
77a7d7253f 2.97 2022-04-03 19:08:01 -07:00
chrislu
0490ee87ef 2.96 2022-03-27 16:11:17 -07:00
chrislu
8f0410af2c 2.95 2022-03-21 01:47:03 -07:00
chrislu
2eda3a686f 2.94 2022-03-14 00:55:01 -07:00
chrislu
0ba4e4cd23 2.93 2022-03-06 18:54:12 -08:00
chrislu
ba14307319 2.92 2022-02-28 15:22:19 -08:00
dave-b-code
6a698713fa
Fix liveness and readiness probe endpoint
Uses endpoint from #2245
2022-02-27 15:01:18 +00:00
chrislu
09cd00f356 2.91 2022-02-27 04:03:39 -08:00
chrislu
497ebbbd45 2.90 2022-02-20 22:00:13 -08:00
chrislu
6a40fd1c65 2.89 2022-02-14 01:52:16 -08:00
Konstantin Lebedev
22a3ef56f2 graceful stop cluster http server default timeout 60 sec
https://github.com/chrislusf/seaweedfs/issues/2630
2022-02-08 13:07:28 +05:00
chrislu
7270067289 2.88 2022-01-30 20:25:26 -08:00
chrislu
e185d90d24 2.87 2022-01-23 16:18:55 -08:00