Stefan Prodan
36584826bb
Merge pull request #1022 from menglingwei/main
...
Fix tyops in code comments
2021-10-26 12:52:29 +03:00
xiaobing.meng
fb621ec465
fix comments
...
Signed-off-by: xiaobing.meng <xiaobing.meng@alibaba-inc.com >
2021-09-26 15:14:47 +08:00
Somtochi Onyekwere
00e993c686
Add test for fieldIsMandatory
...
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com >
2021-09-20 23:17:27 +01:00
kyanagimoto
873b74561c
fix: 🐛 trigger unexpected canary deployment.
...
https://github.com/fluxcd/flagger/issues/989
Signed-off-by: kyanagimoto <koichiyanagimoto@gmail.com >
2021-09-01 19:17:17 +09:00
Stefan Prodan
e6b5ee2042
Merge pull request #958 from GregoryVds/fix-typo
...
pkg:canary: fix typos in logs
2021-07-26 18:37:20 +03:00
Mike Ball
4cc2ada2a2
correct spelling of 'Secrets' in code comments
...
Signed-off-by: Mike Ball <mike.ball@warnermedia.com >
2021-07-23 06:54:26 -04:00
Gregory Vander Schueren
a5d3e4f6a6
pkg:canary: fix typos in logs
...
Signed-off-by: Gregory Vander Schueren <gregory.vanderschueren@sortlist.com >
2021-07-21 15:44:56 +02:00
Stefan Prodan
c36a13ccff
Remove the GitOps Toolkit metadata from generated objects
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2021-06-17 17:49:22 +03:00
Stefan Prodan
cc673159d7
Remove Flux GC markers from generated objects
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2021-06-15 17:45:33 +03:00
kazukousen
b26b49fac2
add unit tests
...
Signed-off-by: kazukousen <mmchari.0228@gmail.com >
2021-05-25 23:21:34 +09:00
kazukousen
17557dc206
fixed ConfigTracker to be able to scan envFrom in init-containers
...
Signed-off-by: kazukousen <mmchari.0228@gmail.com >
2021-05-24 14:09:04 +09:00
Olivier Michaelis
d7b878f980
style: rename CanaryWaitingPromotion to CanaryPhaseWaitingPromotion
...
Renames the CanaryPhase to be more consistent with the existing phases.
Signed-off-by: Olivier Michaelis <38879457+oliviermichaelis@users.noreply.github.com >
2021-05-01 00:21:13 +02:00
Jason Blackburn
f0bf5219d4
added WaitingPromotion phase and only generate one alert when transitioning into the phase
...
Signed-off-by: Jason Blackburn <jason.blackburn@outlook.com >
2021-03-19 08:04:18 -05:00
Marcus Rodan
8cb147920b
Adds suffix for spread constraints
...
Added unit test assertions
Changed comment
Signed-off-by: Marcus Rodan <marcus.rodan@sinch.com >
2021-02-08 19:47:58 +01:00
Stefan Prodan
5cb343d89f
Merge pull request #799 from Nerja/main
...
Check if mandatory secrets/configmaps exist
2021-02-04 18:32:26 +02:00
Marcus Rodan
349d781085
Fixed antiaffinity suffixing
...
Signed-off-by: Marcus Rodan <marcus.rodan@sinch.com >
2021-02-04 17:02:40 +01:00
Marcus Rodan
565b99e210
Added check for optional
...
Signed-off-by: Marcus Rodan <marcus.rodan@sinch.com >
2021-02-02 09:56:14 +01:00
Marcus Rodan
56c77085bf
Added checks for API server errors
...
Signed-off-by: Marcus Rodan <marcus.rodan@sinch.com >
2021-02-01 17:36:47 +01:00
Marcus Rodan
f2beab1fdc
Moved implementation
...
Signed-off-by: Marcus Rodan <marcus.rodan@sinch.com >
2021-01-26 19:27:50 +01:00
Marcus Rodan
85af1abb26
Added suffix -primary to antiaffinity values
...
Signed-off-by: Marcus Rodan <marcus.rodan@sinch.com >
2021-01-26 19:27:50 +01:00
Stefan Prodan
cd75c5fa25
Copyright Flux authors
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2020-12-21 19:44:52 +02:00
Stefan Prodan
90abb7ba5b
Rename imports to fluxcd/flagger
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2020-12-21 19:02:23 +02:00
Aurel Canciu
08be31f022
Apply label prefix rules for cm and secrets
...
Copying of Configmaps and Secrets managed through Flagger should now
follow the same label prefix filtering rules as for the workloads.
Extends: #709
Signed-off-by: Aurel Canciu <aurelcanciu@gmail.com >
2020-12-08 12:55:45 +02:00
Fernando Teixeira
afc063ae9a
update tests to use autoscaling/v2beta2
2020-12-06 15:23:08 -05:00
Fernando Teixeira
83dae63989
add support to hpa behaviors on canaries
2020-12-06 00:51:20 -05:00
Daniel Albuquerque
fbece964e0
Copy annotations to deployment and daemonset
2020-10-21 14:20:09 +01:00
Daniel Albuquerque
bd536b689f
Fix filtering of labels
2020-10-14 15:20:15 +01:00
Daniel Albuquerque
6ec377181a
Change from exclude labels to include labels
2020-10-13 21:58:47 +01:00
Daniel Albuquerque
23e59168af
Exclude controller labels by prefix
2020-10-11 14:10:16 +01:00
Forrest Thomas
621150cce6
add e2e istio tests for inconsistent naming between service name and selector
2020-09-02 12:46:02 -07:00
Forrest Thomas
ef57dcf75d
add a small test for verifying the label selector is named as expected for daemonsets
2020-09-02 12:46:02 -07:00
Forrest Thomas
1bd7ce4eed
add a small test for verifying the label selector is named as expected for deployments
2020-09-02 12:46:02 -07:00
Forrest Thomas
364fd0db65
setup daemonset tests to allow configurable name, label and selector
2020-09-02 12:46:02 -07:00
Forrest Thomas
b378b3eb5d
setup deployment tests to allow configurable name, label and selector
2020-09-02 12:46:02 -07:00
Forrest Thomas
0db82b64f7
correct formatting
2020-09-02 12:46:02 -07:00
Forrest Thomas
c9dc5c5936
fix incorrect primary label value during promotion
2020-09-02 12:46:02 -07:00
Forrest Thomas
6f372d787d
fix the incorrect primary label value
2020-09-02 12:46:02 -07:00
Forrest Thomas
f70f43bb3d
use the existing labelSelector value instead of using the service name as the value
2020-09-02 12:46:02 -07:00
mathetake
87c090ad8c
pkg/canary: add unit test of configIsDisabled and its optimization
2020-08-20 21:15:27 +09:00
leigh capili
dad70a6876
Support per-config configTracker disable via ConfigMap/Secret annotation
...
This allows a user to annotate a specific ConfigMap or Secret to be disabled/ignored via the
configTracking logic that tracks config changes makes configuration copies for the primary Deploy
Closes #435
2020-08-17 16:24:56 -06:00
leigh capili
1242825c42
Fix O(log n) bug over network in GetTargetConfigs() when using --enable-config-tracking
...
Read for more details:
https://github.com/weaveworks/flagger/issues/658#issuecomment-669389203
2020-08-05 13:16:50 -06:00
Sebastien Le Digabel
8c55bb222d
Rephrasing Canary Progressing message
...
Fixes #606 .
Also fixed the alert message to keep it consistent with the message,
along with the documentation.
2020-06-02 14:35:55 +01:00
sayboras
c0515fc6ff
Upgrade to kube 1.18
2020-04-04 23:46:38 +11:00
mathetake
bbdac24ed3
pkg/canary: add unit test of isDeploymentReady
2020-04-04 10:48:29 +09:00
stefanprodan
f6baba271a
pkg/canary: fix status retry
2020-04-01 13:39:32 +03:00
stefanprodan
686de4bf06
logs: trim down log prefix
2020-03-31 15:31:07 +03:00
mathetake
ef8b6fe9b8
finalizer: refactoring
2020-03-29 17:07:18 +09:00
mathetake
65d4b28b58
pkg/{canary,controller}: remove unused skipLivenessChecks
2020-03-28 18:13:00 +09:00
mathetake
4242bf0f07
pkg/canary/daemonset: fix ready condition according to kubectl
2020-03-27 19:31:12 +09:00
mathetake
6a16dc0c7c
fix typos in error messages
2020-03-27 00:03:43 +09:00