Commit Graph
633 Commits
Author SHA1 Message Date
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-botandGitHub 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-botandGitHub 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
Haoxiang Zhou a1ce1cefb5 Add Events of Issuer and Secret to output
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
2020-08-26 15:31:53 +02:00
Maartje Eyskens 35583353b4 Remove a lost comment
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-08-26 14:40:13 +02:00
Maartje Eyskens 37fac6f6d8 Remove unused constants
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-08-26 14:38:48 +02:00
Maartje Eyskens 93855b79a4 Fix mismerge
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-08-26 14:24:30 +02:00
Maartje Eyskens 0f6bc5eb68 Move NS creation to individual tests
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-08-26 14:18:26 +02:00
Maartje Eyskens 14ea7c3f65 Update k8s toolchain to 0.19.0-rc.3
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-08-26 14:15:54 +02:00
Maartje Eyskens 1cd5c381b9 Fix boilerplate
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-08-25 14:56:08 +02:00
Maartje Eyskens 627b57fed5 Add validation for CR creation only to match Key usages with the CSR if both are set
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-08-25 14:38:57 +02:00
JoshVanL d3e27905eb Remove bad error text output
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2020-08-21 10:48:21 +01:00
JoshVanL 096962e204 Adds integration tests for ctl convert over a list
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2020-08-21 10:41:49 +01:00
JoshVanL 55566c2e01 Move all input and output ctl convert integration test data into file
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2020-08-21 10:23:32 +01:00
Richard Wall 12bb9aa58f Fix nil pointer panic in e2e test suite
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2020-08-20 14:28:06 +01:00
Richard Wall 3fb3db27ff Fix ACME challenge type in unit tests
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2020-08-20 14:28:06 +01:00
Richard Wall 9a640542c2 Fix nil pointer exceptions in the e2e test framework
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2020-08-20 14:28:06 +01:00
Richard Wall b638954b03 Fix ./cmd/ctl and tests
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2020-08-20 14:28:06 +01:00
Richard Wall 01b5d0fa88 Fix tests in ./pkg/controller/certificates/...
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2020-08-20 14:28:06 +01:00
Richard Wall 81eb53f597 ./hack/update-all.sh
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2020-08-20 14:28:06 +01:00
Richard Wall a70298180a Run a script to update v1alpha2 usage to v1
Script is available at https://github.com/jetstack/cert-manager/pull/3201

Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2020-08-20 14:26:51 +01:00
Haoxiang Zhou 6c26e0d821 Add Challenge output and update tests
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
2020-08-17 16:15:28 +02:00
jetstack-botandGitHub 1cdc5277c2 Merge pull request #3171 from hzhou97/refactor_run
Ctl command status certificate: Refactor Run method
2020-08-17 13:49:22 +01:00
Maartje Eyskens 501940c468 update deps
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-08-14 19:25:15 +02:00
Maartje Eyskens 614d8496ad Update int test server
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-08-14 19:25:15 +02:00
Richard Wall 8beeac1187 Rename Certificate.Spec.URISANs to URIs and EmailSANs to EmailAddresses
For consistency with DNSNames and IPAddresses
And for consistency with https://golang.org/pkg/crypto/x509/#Certificate

Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2020-08-14 17:02:53 +01:00
Richard Wall 887bd5b730 Update integration tests
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2020-08-14 11:15:21 +01:00
Haoxiang Zhou 62700fceef Add unit tests testing building CertificateStatus struct from gathered Data
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
2020-08-14 09:35:09 +02:00
Maartje Eyskens 5049c1a4ab Improve integration tests with OpenAPI + webhook validation
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-08-13 15:01:50 +02:00
jetstack-botandGitHub e1791b0b0e Merge pull request #3154 from hzhou97/add_order_output
Ctl command `status certificate`: Add order output
2020-08-12 14:13:59 +01:00
Maartje Eyskens fecd0b3518 Set all log levels for info
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-08-12 10:59:41 +02:00
Lars Lehtonen d165431c92 test/e2e/suite/issuers/acme: fix dropped error
Signed-off-by: Lars Lehtonen <lars.lehtonen@gmail.com>
2020-08-09 18:26:37 -07:00
Haoxiang Zhou 43a83e71d7 Use line anchors for exact regex matching instead of string comparison
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
2020-08-06 16:37:18 +01:00
Haoxiang Zhou 196959a05f No output about Orders if non-ACME Issuer
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
2020-08-06 14:37:54 +01:00
jetstack-botandGitHub 497e64de4b Merge pull request #3151 from JoshVanL/fix-external-issuer
Adds Issuer Group to Secret annotation
2020-08-06 13:58:32 +01:00
JoshVanL 30ff597f15 Refactor issuer controller integration test to ensure Secret is updated
in single update

Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2020-08-06 13:30:15 +01:00
Haoxiang Zhou fc8b123593 Update tests and compare strings directly as well if regex matches
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
2020-08-06 12:03:36 +01:00
JoshVanL 49ee468161 Adds integration test for issuer controller secret annotations, and
fixes GenerateTempalate func

Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2020-08-06 11:08:13 +01:00
Haoxiang Zhou 57770b1f58 User order as variable name in gen/order.go
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
2020-08-05 13:59:12 +01:00
Haoxiang Zhou 6afc1d6cfa Change status cert to use structs
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
2020-08-03 11:19:13 +01:00
Haoxiang Zhou 11b6d91722 Use go-diff to report error
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
2020-07-30 18:04:08 +01:00
Haoxiang Zhou ef95d15642 Updated tests with output for secret
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
2020-07-30 17:54:57 +01:00
jetstack-botandGitHub ec6d2bb3e5 Merge pull request #3120 from hzhou97/add_issuer_output
Ctl status certificate command: Add issuer output and creation time
2020-07-29 12:13:20 +01:00
jetstack-botandGitHub 8434c6a941 Merge pull request #3094 from hzhou97/create_cr_new_test
Create cr command: change and add integration tests
2020-07-27 15:56:14 +01:00
Haoxiang Zhou 0d449ea76d Add tests for non-existing issuer; Review implementation
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
2020-07-27 14:20:49 +01:00
Haoxiang Zhou 3b6b725c5d Added Certificate creation time to output
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
2020-07-24 16:03:29 +01:00