Commit Graph

120 Commits

Author SHA1 Message Date
Chris Lu eccad4af1e unused functions 2020-11-08 16:46:16 -08:00
Chris Lu 771312ddfb add steps to develop inside k8s 2020-11-08 16:23:17 -08:00
Chris Lu b0f01a5e1a add namespace to master peers list 2020-11-08 16:12:31 -08:00
Chris Lu 3ecd205e8e add a seaweed admin
related to https://github.com/seaweedfs/seaweedfs-operator/issues/23
2020-11-08 00:55:56 -08:00
Chris Lu 291b479395 filer, volume stateful set detect changes 2020-11-04 19:01:19 -08:00
Chris Lu 95dc4a247d master statefulset ensure consistent style
fix https://github.com/seaweedfs/seaweedfs-operator/issues/19
2020-11-04 19:00:34 -08:00
Chris Lu 46806156b6 add filer and s3 ingress 2020-11-04 14:30:15 -08:00
Chris Lu 31c843cae4 set volumeSizeLimitMB to 1024 2020-11-03 23:15:57 -08:00
Chris Lu 9b29d3a377 add sample filer stor setting 2020-11-03 21:29:14 -08:00
Chris Lu 255a6487c7 fix filer configmap 2020-11-03 20:47:45 -08:00
Chris Lu db16a4b2cb minor 2020-11-03 20:26:15 -08:00
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