Commit Graph

170 Commits

Author SHA1 Message Date
Gregor Tudan
3f3f0ec17f
Allow selecting the namespace visualized by the grafana dashboard (#5591) 2024-05-13 10:16:58 -07:00
Gregor Tudan
063683786a
Replace hardcoded datasource uids in the grafana dashboard (#5590) 2024-05-13 09:56:10 -07:00
Gregor Tudan
b7d184c740
Helm-Chart: Make MySQL credentials optional (#5583) 2024-05-13 07:20:14 -07:00
chrislu
d3032d1e80 3.67 2024-05-07 08:47:30 -07:00
chrislu
3682eb929f 3.66 2024-05-05 22:23:18 -07:00
JesseBot
70551019d6
helm: Fix annotations parameters to be standard maps (#5543) 2024-04-28 09:33:46 -07:00
chrislu
0edc5aad9a 3.65 2024-04-14 20:15:46 -07:00
yudrywet
8833745fbc
chore: fix some typos in comments (#5497) 2024-04-14 07:42:40 -07:00
mergwyn
881c922972
helm chart: make s3 ingress annotations consistent (#5463)
Make s3 ingress annotations consistent
2024-04-03 09:09:34 -07:00
mergwyn
b4def8f000
Correct type for volume logs and idx values (#5462)
Correct type for volume logs and idx values (#1)

Empty values now correctly set to {}
2024-04-03 08:17:41 -07:00
Tomer Eskenazi
77fd62f6a5
Helm chart readme - clarify details about multiple filers and datastore (#5384) 2024-03-17 15:34:14 -07:00
chrislu
b74e8082ba 3.64 2024-03-16 11:46:40 -07:00
chrislu
54d7748a4a 3.63 2024-02-25 22:17:28 -08:00
Sébastien
abf1dd13d2
k8s-chart-helm: unify extraEnvironmentVars (#5327) 2024-02-22 01:57:00 -08:00
spastorclovr
3b5d8ffb70
Fix/s3 config secret (#5302) 2024-02-14 14:33:05 -08:00
cuisongliu
c5440055fd
helm using external master address (#5267)
using external master address
2024-01-30 20:55:36 -08:00
cuisongliu
9abd3a90c3
helm enable resource for template (#5268)
enable resource for template
2024-01-30 20:54:50 -08:00
cuisongliu
f8c4fb3ebd
fix helm install error for No such file or directory (#5250)
* weed/shell: Cluster check other disk types (#5245)

* week/shell: Cluster check other disk types

The `cluster.check` command only took the empty (`""`) and `hdd` disk types
into consideration, but a cluster with only `ssd` or `nvme` disk types would be
equally valid.

This commit simply checks that _any_ disk type is defined, and that some
volumes are available for it.

Signed-off-by: Benoît Knecht <bknecht@protonmail.ch>

* weed/shell: Replace loop that copies slice

Use the following construct instead of a `for` loop:

```golang
x = append(x, y...)
```

See https://staticcheck.dev/docs/checks#S1011.

Signed-off-by: Benoît Knecht <bknecht@protonmail.ch>

* weed/shell: Check disk types when filer is in use

Filer stores its metadata logs in generic (i.e. `""`) or HDD disk type volumes,
so make sure those disk types exist and have volumes associated with them when
Filer is deployed in the cluster.

Signed-off-by: Benoît Knecht <bknecht@protonmail.ch>

---------

Signed-off-by: Benoît Knecht <bknecht@protonmail.ch>

* weed/shell: Cluster check other disk types (#5245)

* week/shell: Cluster check other disk types

The `cluster.check` command only took the empty (`""`) and `hdd` disk types
into consideration, but a cluster with only `ssd` or `nvme` disk types would be
equally valid.

This commit simply checks that _any_ disk type is defined, and that some
volumes are available for it.

Signed-off-by: Benoît Knecht <bknecht@protonmail.ch>

* weed/shell: Replace loop that copies slice

Use the following construct instead of a `for` loop:

```golang
x = append(x, y...)
```

See https://staticcheck.dev/docs/checks#S1011.

Signed-off-by: Benoît Knecht <bknecht@protonmail.ch>

* weed/shell: Check disk types when filer is in use

Filer stores its metadata logs in generic (i.e. `""`) or HDD disk type volumes,
so make sure those disk types exist and have volumes associated with them when
Filer is deployed in the cluster.

Signed-off-by: Benoît Knecht <bknecht@protonmail.ch>

---------

Signed-off-by: Benoît Knecht <bknecht@protonmail.ch>

* fix helm install error for No such file or directory

---------

Signed-off-by: Benoît Knecht <bknecht@protonmail.ch>
Co-authored-by: Benoît Knecht <bknecht@protonmail.ch>
2024-01-30 20:46:22 -08:00
spastorclovr
5fa8f40fdf
Fix/bad mount path better default value (#5253) 2024-01-29 07:11:37 -08:00
spastorclovr
95787ea89d
Enable multiple disks per volume server. Also streamline the use of /logs & /idx (#5236)
* Enable multiple disks per volume server. Also streamline the use of /logs and /idx

* missing file

* add loop around volume mounts for initContainers

* remove uneeded name for idx
2024-01-24 09:25:17 -08:00
Sébastien
53be97d5be
Fix(k8s-chart-helm): helm upgrade statefulset error (#5207) 2024-01-16 07:40:21 -08:00
chrislu
59b8af99b0 3.62 2024-01-15 20:44:00 -08:00
chrislu
8ae00e47a6 3.61 2024-01-08 00:04:49 -08:00
chrislu
d4e91b6ad9 3.60 2024-01-01 19:11:23 -08:00
Sébastien
59edb84253
fix: k8s-chart-helm master metrics scraping (#5142) 2023-12-28 07:46:42 -08:00
Davidsod
3ec2a898b8
#5122 Add support for sidecar containers (#5125) 2023-12-20 15:04:44 -08:00
JesseBot
2b323a8293
Fix: helm: remove deprecated values that caused helm template error for post install hook (#5108)
* Update post-install-bucket-hook.yaml - remove deprecated volume checks

* Update Chart.yaml - update chart version to 3.60.0
2023-12-14 08:25:33 -08:00
Bálint József Jánvári
43a6b60375 Always include volumes in statefulsets 2023-12-05 22:39:01 -08:00
jessebot
666a22b980 fix defaults for serviceAccountName for each statefulset to follow exact from helm docs
helm docs: https://helm.sh/docs/chart_template_guide/functions_and_pipelines/#using-the-default-function
2023-11-26 09:26:38 -08:00
jessebot
d198fd8af7 fix when we create serviceAccount value for master and volume statefulsets to be when global.createClusterRole is set to true 2023-11-26 09:26:38 -08:00
jessebot
0709361ed2 fix duplicate service account name for filer 2023-11-26 09:26:38 -08:00
jessebot
c332832f0b prefer global.serviceAccountName when available for all statefulsets 2023-11-26 09:26:38 -08:00
jessebot
aff03c1d00 User global.serviceAccountName to populate ServiceAccount, ClusterRole, and ClusterRoleBinding 2023-11-26 09:26:38 -08:00
Max Roby
cf5703e86e existingConfigSecretshould now be consistently treated as a string in the post-install-hook 2023-11-24 06:40:19 -08:00
Max Roby
c479c05f6e revert debug changes i missed 2023-11-24 06:40:19 -08:00
Max Roby
d33de9f4db remove trailing spaces 2023-11-24 06:40:19 -08:00
Max Roby
aac2cd23c7 add a true flag to job command 2023-11-24 06:40:19 -08:00
Max Roby
e4cdfde944 add the secrets volumemount 2023-11-24 06:40:19 -08:00
Max Roby
2af6b13800 add a sercret volume mount 2023-11-24 06:40:19 -08:00
Max Roby
7a5d9d8690 bump chart version after rebase 2023-11-24 06:40:19 -08:00
Max Roby
c04284cdd7 remove user job since bucket job can now create public buckets, update values.yaml 2023-11-24 06:40:19 -08:00
Max Roby
b8bfd4411a add missing read action 2023-11-24 06:40:19 -08:00
Max Roby
f33f7c10f0 trying to get anonymous access for buckets working 2023-11-24 06:40:19 -08:00
Max Roby
ac6158818b fix issue with underscores versus dashes in secret name causing variable expansion failure 2023-11-24 06:40:19 -08:00
Max Roby
f7b98ea1fb fix uneeded quote usage 2023-11-24 06:40:19 -08:00
Max Roby
2920949def templates/post-install-user-hook.yaml 2023-11-24 06:40:19 -08:00
Max Roby
5db0064ffe update hook weight order and give descriptive names to jobs 2023-11-24 06:40:19 -08:00
Max Roby
0aea4dc1f3 add a $ to env vars so they expand in shell 2023-11-24 06:40:19 -08:00
Max Roby
6244bf7355 only template the bucket job if buckets are defined 2023-11-24 06:40:19 -08:00
Max Roby
9ff010d15b create a hook for setting up users 2023-11-24 06:40:19 -08:00
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