Inteon
a569e79776
cleanup test contexts
...
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-08-06 17:31:19 +02:00
jetstack-bot
25320ceaa8
Merge pull request #4252 from JoshVanL/admissionregistration-v1beta1-v1
...
Change admissionregistration.k8s.io v1beta1 to v1 in integration tests
2021-07-29 20:44:41 +01:00
joshvanl
1d926e8e50
Adds UserInfo fields to conversion webhook tests
...
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2021-07-29 17:35:13 +01:00
joshvanl
d261e2eadb
Defined AdmissionReviewVersions:[]string{"v1"} in API webhook
...
configuration integration tests
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2021-07-29 14:54:17 +01:00
jetstack-bot
d062176777
Merge pull request #4243 from inteon/improved_go_routines
...
Cleanup goroutine management
2021-07-28 15:36:41 +01:00
joshvanl
58519e442a
Change admissionregistration.k8s.io v1beta1 to v1 in integration tests
...
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2021-07-26 16:26:45 +01:00
jetstack-bot
77c5c2fb16
Merge pull request #4184 from inteon/kubectl_certmanager_install_tests
...
Add basic tests to kubectl cert-manager x install
2021-07-23 16:16:19 +01:00
Inteon
81e216eeba
wait for goroutines to end before exiting
...
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-07-23 15:30:26 +02:00
Inteon
769e057663
metrics server simplify
...
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-07-23 15:30:02 +02:00
Inteon
0ed0135930
Improvements based on reviewer's feedback
...
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-07-23 15:29:43 +02:00
Lars Lehtonen
dccda3b321
test/integration/acme: fix dropped error
...
Signed-off-by: Lars Lehtonen <lars.lehtonen@gmail.com>
2021-07-13 04:39:04 -07:00
Inteon
611bac67cf
Add basic test cases
...
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-07-08 16:28:38 +02:00
Inteon
e2ce115738
also reset ManagedFields in test
...
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-07-06 16:56:31 +02:00
Inteon
cd92bf321f
centralise testing api-server & remove custom implementation
...
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-07-06 16:13:44 +02:00
kit837
51fe108beb
Fix metrics_controller integration test.
...
Signed-off-by: kit837 <66801824+kit837@users.noreply.github.com>
2021-06-15 19:26:55 +00:00
kit837
0f97e6d19d
pass in clock.Clock for better test
...
Signed-off-by: kit837 <66801824+kit837@users.noreply.github.com>
2021-06-15 17:48:20 +00:00
irbekrm
e6b748047d
Remove the default renewBefore value
...
Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-06-11 10:03:12 +01:00
irbekrm
06f6b46f30
Implements feedback from code review
...
Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-05-19 13:20:05 +01:00
irbekrm
bbfd2294f9
Integration test for ACME Orders controller
...
Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-05-19 13:11:48 +01:00
irbekrm
d8c941da8e
Refactors creation of ACME Orders controller
...
So that it easier used with the existing test framework and also is more similar to how most other controllers are created
Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-05-19 13:11:18 +01:00
Tamal Saha
7b63788f52
Cleanup codegen script
...
Signed-off-by: Tamal Saha <tamal@appscode.com>
2021-05-17 08:11:19 -07:00
Tamal Saha
b1cb6422e4
Use controller-runtime v0.9.0-beta.0
...
Signed-off-by: Tamal Saha <tamal@appscode.com>
2021-05-17 08:11:19 -07:00
Lars Lehtonen
635dc187f5
test/integration/certificates: fix dropped error
...
Signed-off-by: Lars Lehtonen <lars.lehtonen@gmail.com>
2021-04-12 05:45:57 -07:00
joshvanl
109b3e0b28
Rename Wehook's API server host flag from --master to --api-server-host
...
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2021-03-26 17:26:28 +00:00
joshvanl
f640f64fcb
Update integration test framework to restart the API to share the
...
address with the webhook
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2021-03-26 17:26:28 +00:00
jetstack-bot
a8c75fab1a
Merge pull request #3773 from JoshVanL/certificate-revision-history-limit
...
Certificate revision history limit
2021-03-26 11:13:58 +00:00
joshvanl
d5ccbdb277
Fix test controller name of revision manager in integration test
...
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2021-03-23 15:58:35 +00:00
Maël Valais
71e707387a
trigger-controller: refactor test, inject gatherer and policychain
...
Injecting the whole Gatherer struct was not necessary for testing
since DataForCertificate is now fully unit-tested. With that, we
can mock the Gatherer.Evaluate function. Since there is no reason
to inject a full Gatherer object into the trigger controller, I chose
to inject a simple policies.Func. I named the function "shouldReissue"
since this is exactly what this function does.
I also refactored the test cases to use the same gen.Certificate
that we use in the rest of the codebase.
Signed-off-by: Maël Valais <mael@vls.dev>
2021-03-23 13:55:11 +01:00
joshvanl
2a08d8a8df
Adds integration tests for revision manager
...
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2021-03-15 14:54:34 +00:00
jetstack-bot
70c66e02a0
Merge pull request #3641 from JoshVanL/certificate-request-identity
...
CertificateRequest UserInfo fields
2021-03-15 14:26:15 +00:00
irbekrm
a89133b637
Better wording and wrap long comment lines.
...
Co-authored-by: Maël Valais <mael@vls.dev>
Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-03-15 08:48:23 +00:00
irbekrm
8d5059b13e
Updates Trigger controller integration tests
...
Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-03-15 08:47:42 +00:00
joshvanl
b3cab7e265
Updates the CRDs with the Certificate Condition observedGeneration field
...
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2021-03-04 17:04:11 +00:00
joshvanl
4300da5fa2
Adds a sanity check to the CertificateRequest validation integration
...
tests to ensure that no error happens when applying a CertificateRequest
with identities set (they get modified during admission).
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2021-02-08 19:24:32 +00:00
irbekrm
1abc7107ca
Passes a single context with cancel func to all the kubectl plugin commands
...
Signed-off-by: irbekrm <irbekrm@gmail.com>
Don't duplicate the existing ContextWithStopCh function
Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-01-27 13:06:34 +00:00
jetstack-bot
cdc53b65cb
Merge pull request #3500 from meyskens/update-copy
...
Update copyright to cert-manager project
2020-12-15 10:12:31 +00:00
Maartje Eyskens
ab0cd57dc5
Use The cert-manager Authors.
...
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-12-11 19:04:13 +01:00
jetstack-bot
2c521609de
Merge pull request #3477 from tharun208/feat/profiling
...
Added profiling for controller
2020-12-11 14:11:10 +00:00
Tharun
b4df9b3567
removed gorilla mux and used profiling util
...
Signed-off-by: Tharun <rajendrantharun@live.com>
2020-12-11 17:54:55 +05:30
Maartje Eyskens
1788a9d758
Update copyright to cert-manager project
...
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-12-08 19:04:49 +01:00
Maartje Eyskens
3a2f02f0e3
Fix old CRD reference
...
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-12-02 15:01:17 +01:00
Mateusz Gozdek
27fa2f1ec4
Fix various typos found by codespell
...
Found by running this command:
codespell -S .git,*.png,go.sum -L keypair,iam,ans,unknwon,tage,ths,creater
Signed-off-by: Mateusz Gozdek <mgozdekof@gmail.com>
2020-11-07 14:55:13 +01:00
Mateusz Gozdek
8fc98a4422
test/integration/framework: simplify to avoid word "datas"
...
As it is being treated as a typo by codespell.
Signed-off-by: Mateusz Gozdek <mgozdekof@gmail.com>
2020-11-07 14:53:55 +01:00
Haoxiang Zhou
f66da132fa
Adapt tests to new default behaviour of convert cmd
...
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
2020-08-28 15:45:36 +02:00
Haoxiang Zhou
46ab9178ed
Change order of adding versions to scheme to change priority
...
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
2020-08-28 15:44:53 +02:00
jetstack-bot
57034dc1e4
Merge pull request #3213 from hzhou97/add_more_events_output
...
Ctl command status certificate: Add Events of Issuer and Secret to output
2020-08-27 16:04:36 +01:00
jetstack-bot
647035a266
Merge pull request #3211 from meyskens/csr-extkey
...
Extended key usages into CSR
2020-08-27 15:33:37 +01:00
Maartje Eyskens
b319ff897b
Implement feedback + improve logic
...
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-08-27 14:42:20 +02:00
Maartje Eyskens
e0749ad822
Implement feedback
...
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-08-27 13:02:18 +02:00
Haoxiang Zhou
5f423a442e
Create Events for integration and unit tests
...
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
2020-08-26 16:28:28 +02:00