Commit Graph

136 Commits

Author SHA1 Message Date
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
Howard Lau 6c601549f9
rbac
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-10-29 11:24:38 +00:00
Howard Lau 2c0d8fac02
fix
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-10-29 09:03:30 +00:00
Howard Lau f8e325e446
create peer svc for sts
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-10-29 08:57:16 +00:00
Howard Lau 3722dcdc0e
fix mountpath
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-10-28 11:33:16 +00:00
Howard Lau a4b872fbbc
format
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-10-28 11:31:02 +00:00
Howard Lau 6ee14a018f
Reconcile ConfigMap
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-10-28 11:29:11 +00:00
Howard Lau 09d121bcb5
Support raw TOML config for master and filer
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-10-28 11:19:17 +00:00
Chris Lu c06204b5b6
Merge pull request #5 from howardlau1999/refactor
Use accessor to merge config and extract magic numbers
2020-10-28 00:40:24 -07:00
Howard Lau d6e3cf7be9
use accessor to merge config and extract magic numbers
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-10-28 07:06:37 +00:00
Chris Lu 1d54f9b9e3
Merge pull request #4 from howardlau1999/refactor
Refactor the CRD to allow users to configure each component separately
2020-10-27 22:16:19 -07:00
Howard Lau ef177093c7
remove unused field
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-10-28 05:09:01 +00:00
Howard Lau 4f59aa4ada
refactor to multiple specs
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-10-28 05:06:25 +00:00
Chris Lu 7e57102a24
Update README.md 2020-10-27 00:58:58 -07:00
Chris Lu 32b17068ca
Update README.md 2020-10-27 00:56:59 -07:00
Chris Lu 38c4d034d3
Update README.md 2020-10-27 00:54:25 -07:00
Chris Lu e557a193f5
Update README.md 2020-10-27 00:37:07 -07:00
Chris Lu 9df02c313d 2.07 2020-10-25 22:39:05 -07:00
Chris Lu 937ea45c04 add volume server disks 2020-10-20 00:17:14 -07:00
Chris Lu 80ba5abbae probe volume, filer. 2020-10-18 22:56:12 -07:00
Chris Lu 1a443616b6 master probe 2020-10-18 22:49:11 -07:00
Chris Lu 4b67dd3791 simplify 2020-10-18 01:59:38 -07:00
Chris Lu fb816896d7 disable metrics 2020-10-18 00:58:15 -07:00
Chris Lu 8ad7ee2d50 create ingress, simplify ensure filer statefulset 2020-10-18 00:12:33 -07:00