Commit Graph
673 Commits
Author SHA1 Message Date
avihuly 8ebbb476b2 Added logs on startup & get ns opration 2023-01-05 12:54:08 +02:00
avihuly 9263b812eb Added namespace get verb to reloder clusterrole 2023-01-05 12:51:41 +02:00
Avi Huli e7cfafd6d6 Handle empty selector & ns label key not exists 2022-12-27 18:49:23 +02:00
Avi Huli 15d7263c95 Handle empty selector & ns label key not exists 2022-12-27 18:44:59 +02:00
Avi Huli de21a400ab Readme namespace selector 2022-12-22 14:28:15 +02:00
Avi Huly e702610dc6 Readme 2022-12-19 14:35:28 +02:00
Avi HulyandGitHub 481eeeffc4 Merge pull request #2 from stakater/master
Updates from master
2022-12-18 15:23:24 +02:00
stakater-user 5c44c1e8f5 [skip-ci] Update artifacts v0.0.126 2022-12-07 15:46:37 +00:00
TehreemandGitHub 0ef6dcb510 Merge pull request #365 from stakater/make-namespace-configurable
Enable ability to override Release.Namespace for target namespace
2022-12-07 20:40:04 +05:00
Callum MacDonald 0ef5e75673 fix indentation 2022-12-07 09:18:15 +01:00
Callum MacDonald e5f85ae37b Enable ability to override Release.Namespace for target namespace 2022-12-07 09:11:46 +01:00
stakater-user 5d0e9ca70b [skip-ci] Update artifacts v0.0.125 2022-12-01 06:34:43 +00:00
Faizan AhmadandGitHub 297baa08d5 Update helm version in pipeline (#364) 2022-12-01 07:15:22 +01:00
Faizan AhmadandGitHub dd1433a7a9 Merge pull request #363 from stakater/update-log-level
Update log level
2022-12-01 00:08:09 +01:00
faizanahmad055 9875c416df Update log level to error and debug
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com>
2022-11-30 22:43:06 +01:00
faizanahmad055 b414e3b350 Update log level
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com>
2022-11-30 22:37:50 +01:00
faizanahmad055 e417e8bc12 Add error log
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com>
2022-11-30 22:35:39 +01:00
faizanahmad055 aafe3365eb Update log level
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com>
2022-11-30 22:34:02 +01:00
Faizan AhmadandGitHub 694baf715c Merge pull request #361 from AgustinRamiroDiaz/update-okteto-yaml
Upgrade okteto yaml manifest to v2
2022-11-30 22:31:15 +01:00
Faizan AhmadandGitHub 48b188d7b4 Merge pull request #362 from stakater/bump-go-version
Update go version and dependencies
2022-11-30 22:12:34 +01:00
faizanahmad055 d1cb53b65a Update go version and dependencies
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com>
2022-11-30 21:31:59 +01:00
Agustin Ramiro Diaz cefd633176 upgrade okteto yaml to v2
Signed-off-by: Agustin Ramiro Diaz <agustin.ramiro.diaz@gmail.com>
2022-11-25 09:36:27 -03:00
Avi Huly 08e6f81a15 Lint fix 2022-11-15 16:23:24 +02:00
Avi Huly edbad45637 namespaceSelector chart value 2022-11-15 11:22:23 +02:00
Avi Huly 363fbd3b77 Test for namespace selector 2022-11-15 11:11:11 +02:00
Avi Huly 82ee3ef3d1 Added namespace-selector to helm chart deployment 2022-11-13 16:38:54 +02:00
Avi Huly 21502e2bb4 Added namespace selector functionality
Changes:
	modified:   internal/pkg/cmd/reloader.go
	modified:   internal/pkg/controller/controller.go
	modified:   internal/pkg/util/util.go
2022-11-12 23:00:56 +02:00
stakater-user 5662919f72 [skip-ci] Update artifacts v0.0.124 2022-10-10 10:56:58 +00:00
Faizan AhmadandGitHub 445d0f870e Merge pull request #345 from avestuk/podDisruptionBudget
Add pod disruption budget
2022-10-10 12:50:26 +02:00
stakater-user 81e74fe830 [skip-ci] Update artifacts v0.0.123 2022-10-10 09:03:48 +00:00
Faizan AhmadandGitHub 50791ad51a Merge pull request #341 from avestuk/leadership-election
Leadership election
2022-10-10 10:57:25 +02:00
Alex Vest 6a65657e27 Add pod disruption budget 2022-10-06 11:51:28 +01:00
Alex Vest 1c7190884a Merge branch 'master' into leadership-election 2022-10-06 11:17:35 +01:00
stakater-user e0fcc3bfa6 [skip-ci] Update artifacts v0.0.122 2022-10-04 18:37:34 +00:00
Faizan AhmadandGitHub 504b5a8eb0 Merge pull request #343 from junnplus/record-event
support record event
2022-10-04 20:30:45 +02:00
Alex Vest 488eaa9bef Run leadership election as non blocking
Liveness probe endpoint will always be blocking on the main thread
2022-10-04 16:41:34 +01:00
Alex Vest 676c3703aa Set replicas = 1 by default, override if HA is enabled 2022-10-04 16:41:34 +01:00
Alex Vest deec4df125 Fix pod antiaffinity 2022-10-04 16:41:34 +01:00
Alex Vest eedc8e81d0 Set enableHA and reloadOnCreate to false 2022-10-04 16:41:34 +01:00
Alex Vest 28456ffafe Add PodAntiAffinity if HA is enabled 2022-10-04 16:41:34 +01:00
Alex Vest a7c3ae37aa Expand documentation about reloadOnCreate 2022-10-04 16:41:34 +01:00
Alex Vest d043bcf7be Fix roles 2022-10-04 16:41:34 +01:00
Alex Vest 72a1c59cac Err check response writer 2022-10-04 16:41:34 +01:00
Alex Vest 6299b1d8e9 Update helm chart with new liveness probe 2022-10-04 16:41:34 +01:00
Alex Vest 11ae057b0a Add tests for leadership election
Pull liveness into leadership to ease testing, logically the liveness
probe is directly affected by leadership so it makes sense here.

Moved some of the components of the controller tests into the testutil
package for reuse in my own tests.
2022-10-04 16:41:34 +01:00
Alex Vest d34c99baf4 Add liveness probe 2022-10-04 16:41:34 +01:00
Alex Vest b7e83b74d8 Move leadership to its own package 2022-10-04 16:41:34 +01:00
Alex Vest 919f75bb62 Shutdown on leader election loss 2022-10-04 16:41:34 +01:00
Alex Vest 16079bd1d4 Update helm chart for HA in global mode 2022-10-04 16:41:34 +01:00
Alex Vest 401d4227d1 Move consts to const pkg
Should move leadership bits to own pkg?
2022-10-04 16:41:34 +01:00