Commit Graph

259 Commits

Author SHA1 Message Date
Chris Lu ac68889024 detect ENABLE_WEBHOOKS!=false 2020-11-03 20:24:19 -08:00
Chris Lu 561e7fcc3a add filer.toml to /etc/seaweedfs 2020-11-03 20:01:19 -08:00
Chris Lu 7399cc6e30 fix filer replica 2020-11-03 18:26:28 -08:00
Chris Lu eef877dacb 2.08 2020-11-01 13:04:12 -08:00
Chris Lu 10f6541376
Merge pull request #15 from howardlau1999/test
Add some basic tests
2020-11-01 02:29:38 -08:00
Howard Lau 647b74f909
fix wrong if
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-11-01 09:34:52 +00:00
Howard Lau 152049b5cf
fix lint
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-11-01 09:32:43 +00:00
Howard Lau 08430619b9
fix lint
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-11-01 09:28:08 +00:00
Howard Lau 89bf4e4e0e
Add tests
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-11-01 09:24:13 +00:00
Chris Lu 0a09f85cbd
Merge pull request #14 from howardlau1999/webhook
Add defaulting/validating webhook
2020-11-01 01:01:59 -08:00
Howard Lau 6437abce16
less verbose
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-11-01 08:50:31 +00:00
Howard Lau 9d134da582
Aggregate errors
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-11-01 08:21:01 +00:00
Howard Lau f0d0622b15 Add validation webhook
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-11-01 08:16:22 +00:00
Howard Lau 2d2148e96c
Merge workflows
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-11-01 07:02:22 +00:00
Howard Lau a1771c26cb
Fix workflow
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-11-01 07:00:39 +00:00
Howard Lau 275515dffc
Split test steps
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-11-01 06:59:41 +00:00
Howard Lau 7eed56f5eb Use Makefile test
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-11-01 06:55:19 +00:00
Howard Lau f9b565e70a
Merge pull request #13 from howardlau1999/fix
Use Kubernetes recommended labels
2020-11-01 14:49:30 +08:00
Howard Lau 753e8e8c00
Add managed-by
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-11-01 06:46:34 +00:00
Howard Lau eb051a3202
Use Kubernetes recommended labels
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-11-01 06:43:45 +00:00
Howard Lau af2f704fa8
Merge pull request #12 from howardlau1999/fix
Fix make install
2020-11-01 13:02:43 +08:00
Howard Lau 7ccf5efcf1 Merge branch 'master' into fix 2020-11-01 04:40:41 +00:00
Howard Lau 6ae2bba475
Increase lint timeout
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-10-30 15:59:29 +00:00
Howard Lau 034a36489d
Add golangci-lint
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-10-30 15:55:35 +00:00
Chris Lu 740ac81a57
Merge pull request #11 from howardlau1999/filerpeer
Support Filer Peers
2020-10-30 02:55:13 -07:00
Howard Lau a9ea14b399
fix port
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-10-30 09:23:54 +00:00
Howard Lau e8ba79aae6
add filer peers on filer startup
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-10-30 09:15:16 +00:00
Howard Lau cc2c614d43
fix compatibility problem
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-10-30 09:10:05 +00:00
Chris Lu ec5ccbf5c5
Merge pull request #10 from howardlau1999/peersvc
Add headless peer services for StatefulSet
2020-10-30 01:05:37 -07:00
Howard Lau cbd151aa2a
fix service
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-10-30 07:14:24 +00:00
Howard Lau ee1d99b4ab
tidy go.mod go.sum
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-10-30 07:11:27 +00:00
Howard Lau 2b486417bb
split comments
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-10-30 07:09:39 +00:00
Howard Lau 223d464e45
do not sleep
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-10-30 06:57:51 +00:00
Howard Lau 53536d56db
fix name
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-10-30 06:57:02 +00:00
Howard Lau 7b11a10862
fix master name
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-10-30 06:44:51 +00:00
Howard Lau a8c8fd65bc
add config
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-10-30 06:42:00 +00:00
Howard Lau 5bc96e22b1 Merge branch 'master' into peersvc 2020-10-30 05:15:56 +00:00
Howard Lau 0bcbcd1d0b
Add verify codegen and manifests
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-10-30 05:15:18 +00:00
Howard Lau 8c390ce083
fix float issues
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-10-30 03:09:04 +00:00
Chris Lu 7f453bdf05
Create go.yml 2020-10-29 20:00:50 -07:00
Howard Lau 95b9af71fa
ownerReference for cm
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-10-30 02:42:34 +00:00
Howard Lau e7b287bb6f Merge branch 'master' into peersvc 2020-10-30 02:40:34 +00:00
Chris Lu 4d2cd6ce12
Merge pull request #7 from howardlau1999/config
Support raw TOML config for master and filer
2020-10-29 08:52:56 -07:00
Chris Lu 9e229fc647
Merge pull request #9 from howardlau1999/owner
Set ownerReference for GC
2020-10-29 08:51:33 -07:00
Chris Lu 5341512045
Merge pull request #8 from howardlau1999/rbac
Fix RBAC problem and restore metrics
2020-10-29 08:48:58 -07:00
Howard Lau 0d53ed3402
Set ownerReference for GC
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-10-29 14:31:06 +00:00
Howard Lau a762e9c866 Merge branch 'rbac' into peersvc 2020-10-29 12:00:40 +00:00
Howard Lau c5fbce3700
Make sure the operator is runnable
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-10-29 11:56:59 +00:00
Howard Lau e8baea6ae4
fix rbac
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-10-29 11:37:49 +00:00
Howard Lau 92172f43a5
restore metrics
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-10-29 11:30:45 +00:00