Commit Graph

286 Commits

Author SHA1 Message Date
James Munnelly
4e4167a00c Reword setup-ca
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-31 10:23:28 +00:00
James Munnelly
1412295c3a Re-order tasks page contents
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-30 20:41:41 +00:00
James Munnelly
2de3904007 Add start of issuing acme certificates guide
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-30 16:59:25 +00:00
James Munnelly
bce9622dcc Add 'Issuing Certificates' document
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-30 16:01:51 +00:00
James Munnelly
3da80d4531 Fix inline code
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-30 15:44:13 +00:00
James Munnelly
c6eb69bb7b Move ingress-shim guide under tasks
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-30 15:44:03 +00:00
James Munnelly
753e45eb26 Add short sentence for each issuer type
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-30 15:06:32 +00:00
James Munnelly
3f3bff835c Adding 'Setting up ACME Issuers' doc
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-30 15:04:42 +00:00
James Munnelly
1eea864323 Fix typo
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-30 14:38:53 +00:00
James Munnelly
c9d82de262 Update 'configuring your first issuer' section of install guide
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-30 14:37:32 +00:00
James Munnelly
bca22f097e Rewrite webhook doc intro
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-30 14:35:00 +00:00
James Munnelly
54e35e4684 First-round review comments
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-30 14:28:36 +00:00
James Munnelly
1bc09ddbf3 Fix lint warnings and line highlighting
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-30 14:13:25 +00:00
James Munnelly
8a6c488e84 Add link to Tillerless Helm v2
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-30 13:35:31 +00:00
James Munnelly
4fb204da63 Add disabling webhook component guide
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-30 13:32:31 +00:00
James Munnelly
c01c63120c Add backing up and restoring guide
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-30 13:29:24 +00:00
James Munnelly
8c38e2e4c8 Configure redirects for moved pages
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-29 23:25:33 +00:00
James Munnelly
337e4f090e Rearrange documentation and add new content
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-29 23:24:11 +00:00
Kévin Dunglas
d9c0d8e1b4
docs: fix a bash snippet in 2-installing.rst
Signed-off-by: Kévin Dunglas <dunglas@gmail.com>
2019-01-24 12:31:44 +01:00
James Munnelly
0db04b988c Add note on verifying your installation
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-22 12:09:21 +00:00
jetstack-bot
af81d3245a
Merge pull request #1187 from munnerz/update-quickstart
Update nginx acme quickstart guide with details on Orders and Challenges
2019-01-17 15:36:02 +00:00
jetstack-bot
9bec321c7d
Merge pull request #1223 from munnerz/upgrade-notes
Add upgrade notes for v0.6
2019-01-17 14:47:02 +00:00
James Munnelly
02502246bc Address @heckj review feedback
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-17 13:42:33 +00:00
James Munnelly
0991f8e412 Add notes on --validate=false to upgrading and installing guide
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-16 19:20:42 +00:00
James Munnelly
2333e8a195 Add upgrade notes for v0.6
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-16 15:38:14 +00:00
James Munnelly
4371dcfa65 Update reference docs index and spellcheck
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-16 15:37:42 +00:00
James Munnelly
170771f9be Add reference docs for Order and Challenge resources
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-15 16:40:38 +00:00
James Munnelly
97f29b4593 Update installation guide with new all-in-one install method
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-10 16:56:52 +00:00
James Munnelly
5ba04e4889 Address review feedback
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-09 14:28:35 +00:00
James Munnelly
e1d294ce41 Update nginx acme quickstart guide with details on Order and Challenge resources
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-09 14:12:03 +00:00
James Munnelly
3464f4363a Bump versions for 0.6.0-alpha.0
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-08 16:45:06 +00:00
James Munnelly
0fcc0c666c Update copyright header year
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-07 15:07:55 +00:00
James Munnelly
bf17ac809f
Merge pull request #1131 from davegrix/patch-1
Update index.rst
2018-12-14 09:09:24 -08:00
davegrix
a72b935a96 Update index.rst
Updated to fix error

Signed-off-by: Dave Grix <herghostuk@gmail.com>
2018-12-05 09:10:23 +00:00
James Munnelly
bb7d2f5f4e Remove the Namespace resource from Helm chart
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-12-04 19:08:35 +00:00
James Munnelly
c0fc03c6a4 Update upgrading docs
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-12-04 18:32:35 +00:00
James Munnelly
779cc0ae1f Update getting started guide
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-12-04 18:26:49 +00:00
James Munnelly
77796efb3b Update reference docs
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-12-04 13:57:27 +00:00
James Munnelly
34c3590052 Store a copy of the signed certificate on the Order resource after Finalize
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-11-29 12:11:42 +00:00
Joe Heck
51aa3d7f4e fix numbering of steps in quickstart
Signed-off-by: Joe Heck <heckj@mac.com>
2018-11-26 07:50:55 -08:00
Joe Heck
5930a0b8d5 a few last updates missed earlier
Signed-off-by: Joe Heck <heckj@mac.com>
2018-11-21 08:19:01 -08:00
Joe Heck
71aaad9063 remaining updates from feedback
Signed-off-by: Joe Heck <heckj@mac.com>
2018-11-19 11:23:30 -08:00
Matt Turner
15d5e6b637 Adding quick-start guide w/ nginx ingress controller
Signed-off-by: Joe Heck <heckj@mac.com>
2018-11-19 11:23:30 -08:00
jetstack-bot
9975ff4a8a
Merge pull request #1075 from gparvin/adding-not-after-to-certificate-status
changes to add a NotAfter field to the cert status
2018-11-16 10:11:01 +00:00
jetstack-bot
9a64cfa027
Merge pull request #1008 from munnerz/ref-docs-cleanup
Move reference-docs generation tools into docs/ subdir
2018-11-15 11:35:00 +00:00
Max Ehrlich
bbd9249198 Configurable issuer duration and renewBefore Take 2 (#893)
* Configurable issuer duration and renewBefore [1/3]

This is part one of (probably) three parts manually moving the changes from commit 723015174a167d746323f506ab3575cfb243d8bd to the new master. This commit moves the basic functionality of configurable duration while skipping e2e tests and docs. It does not include new work.

Signed-off-by: Max Ehrlich <max.ehr@gmail.com>

* Configurable issuer duration and renewBefore [2/3]

This commit moves over most of the e2e testing updates, some things are intentionally left out as they may be obsolete

Signed-off-by: Max Ehrlich <max.ehr@gmail.com>

* Configurable issuer duration and renewBefore [3/3]

This commit moves the documentation changes, completely the migration of the original code to the latest master

Signed-off-by: Max Ehrlich <max.ehr@gmail.com>

* Rerunning all hack scripts with since the massive bazel update

Signed-off-by: Max Ehrlich <max.ehr@gmail.com>

* Add missing boilerplate headers

Signed-off-by: Max Ehrlich <max.ehr@gmail.com>

* Rerun codegen hack

Signed-off-by: Max Ehrlich <max.ehr@gmail.com>

* Rerunning update-docs hack

Signed-off-by: Max Ehrlich <max.ehr@gmail.com>

* Fix failing unit tests

Signed-off-by: Max Ehrlich <max.ehr@gmail.com>

* Fix build errors in e2e tests

Signed-off-by: Max Ehrlich <max.ehr@gmail.com>

* Rerun update-deps

Signed-off-by: Max Ehrlich <max.ehr@gmail.com>

* Don't recreate the CA issuer, it already exists

Signed-off-by: Max Ehrlich <max.ehr@gmail.com>

* Need to create new issuers for the duration and renew time tests because those fields are set in the issuer, so make sure they are named uniquely

Signed-off-by: Max Ehrlich <max.ehr@gmail.com>

* Add duration e2e tests for self-signed issuer

Signed-off-by: Max Ehrlich <max.ehr@gmail.com>

* Add duration e2e tests for vault w/ custom mount path

Signed-off-by: Max Ehrlich <max.ehr@gmail.com>

* Add validation to disallow acme certificates with duration and renewBefore set and update unit tests to verify

Signed-off-by: Max Ehrlich <max.ehr@gmail.com>

* Update docs to mention duration/renew for self-signed issuer and fix potential parsing errors with rst formatting

Signed-off-by: Max Ehrlich <max.ehr@gmail.com>

* Self-signed issuer was missing duration validation

Signed-off-by: Max Ehrlich <max.ehr@gmail.com>

* Fix a bug causing certificates with a short enough renew-before w.r.t their duration to be renewed instantly and forever

Signed-off-by: Max Ehrlich <max.ehr@gmail.com>

* Print the exact time until renewal

Signed-off-by: Max Ehrlich <max.ehr@gmail.com>

* Move duration and renwal validation to the issuer validation

Signed-off-by: Max Ehrlich <max.ehr@gmail.com>

* Update e2e tests to work with new validation

Signed-off-by: Max Ehrlich <max.ehr@gmail.com>

* Add e2e test for the self-signed issuer

Signed-off-by: Max Ehrlich <max.ehr@gmail.com>

* Redo cert duration and renew before to appear as part of the CSR and not the issuer

Signed-off-by: Max Ehrlich <max.ehr@gmail.com>

* Updating tests to match new duration/renewbefore format

Signed-off-by: Max Ehrlich <max.ehr@gmail.com>

* Update e2e tests to match new format

Signed-off-by: Max Ehrlich <max.ehr@gmail.com>

* Update docs to reflect changing the field from issuers to certificates

Signed-off-by: Max Ehrlich <max.ehr@gmail.com>

* Remove event firing and replace with a TODO as of discussion on PR

Signed-off-by: Max Ehrlich <max.ehr@gmail.com>

* Run hack scripts

Signed-off-by: Max Ehrlich <max.ehr@gmail.com>

* Remove the sync unit test since without events there is no way to catch the warnings that it was testing

Signed-off-by: Max Ehrlich <max.ehr@gmail.com>

* Use IssuerOptions RenewBeforeExpiryDuration if certificates dont set a renewBefore value for immediate renewal checks

Signed-off-by: Max Ehrlich <max.ehr@gmail.com>

* Delete check on certificate data length in e2e test for certificate duration as there is no reason it should be there

Signed-off-by: Max Ehrlich <max.ehr@gmail.com>

* Update e2e tests since certificate creation will never generate an event

Signed-off-by: Max Ehrlich <max.ehr@gmail.com>

* Rerunning hack scripts after big rebase

Signed-off-by: Max Ehrlich <max.ehr@gmail.com>

* Fix a few problems that slipped through during the rebase

Signed-off-by: Max Ehrlich <max.ehr@gmail.com>

* Fix an e2e error that resulted from the rebase

Signed-off-by: Max Ehrlich <max.ehr@gmail.com>

* Add unit test for the calculateTimeBeforeExpiry function

Signed-off-by: Max Ehrlich <max.ehr@gmail.com>

* Adding back in a bunch of missing error checks

Signed-off-by: Max Ehrlich <max.ehr@gmail.com>

* Remove unused function

Signed-off-by: Max Ehrlich <max.ehr@gmail.com>

* Add missing boilerplate

Signed-off-by: Max Ehrlich <max.ehr@gmail.com>

* Remove unused constant

Signed-off-by: Max Ehrlich <max.ehr@gmail.com>

* Move log constants to function body

Signed-off-by: Max Ehrlich <max.ehr@gmail.com>

* Rerun hack scripts

Signed-off-by: Max Ehrlich <max.ehr@gmail.com>

* Remove mistakenly commited file

Signed-off-by: Max Ehrlich <max.ehr@gmail.com>

* Remove double-import of util package

Signed-off-by: Max Ehrlich <max.ehr@gmail.com>

* Fix bad function call in e2e vault issuer

Signed-off-by: Max Ehrlich <max.ehr@gmail.com>

* Change duration and renewBefore to be pointer fields as they are optional

Signed-off-by: Max Ehrlich <max.ehr@gmail.com>

* Remove wrong vault issuer test that got passed the rebase somehow

Signed-off-by: Max Ehrlich <max.ehr@gmail.com>

* Change e2e to use pointer format

Signed-off-by: Max Ehrlich <max.ehr@gmail.com>

* Move e2e cert tests out of issuer test file

Signed-off-by: Max Ehrlich <max.ehr@gmail.com>

* Move e2e self-signed issuer test to new location

Signed-off-by: Max Ehrlich <max.ehr@gmail.com>

* Make sure to check for nil in GenerateTemplate

Signed-off-by: Max Ehrlich <max.ehr@gmail.com>

* Add more empty checks to be safe

Signed-off-by: Max Ehrlich <max.ehr@gmail.com>

* Rerunning hacks after rebase

Signed-off-by: Max Ehrlich <max.ehr@gmail.com>

* Fix bad function call in new e2e test

Signed-off-by: Max Ehrlich <max.ehr@gmail.com>

* Try not setting duration and renewbefore on acme e2e tests

Signed-off-by: Max Ehrlich <max.ehr@gmail.com>

* Zero checks should really just be replaced by nil tests, zero should be caught as any other too-small value

Signed-off-by: Max Ehrlich <max.ehr@gmail.com>

* Fixed a missing nil check that got away

Signed-off-by: Max Ehrlich <max.ehr@gmail.com>

* Change e2e duration test format to use pointer times to better simulate API calls

Signed-off-by: Max Ehrlich <max.ehr@gmail.com>

* Fix sync unit test to match e2e test format

Signed-off-by: Max Ehrlich <max.ehr@gmail.com>

* Fix vault e2e test

Signed-off-by: Max Ehrlich <max.ehr@gmail.com>

* Revert changes to Certificate sync function

Signed-off-by: James Munnelly <james@munnelly.eu>

* Remove selfsigned e2e issuer.go

Signed-off-by: James Munnelly <james@munnelly.eu>

* Don't use ACME issuer in duration example and tidy up line endings

Signed-off-by: James Munnelly <james@munnelly.eu>

* Allow renewBefore to be set on ACME certificates

Signed-off-by: James Munnelly <james@munnelly.eu>

* Update renewBefore ACME docs. Remove unused fields.

Signed-off-by: James Munnelly <james@munnelly.eu>

* Rename calculateTimeBeforeExpiry to calculateDurationUntilRenew

Signed-off-by: James Munnelly <james@munnelly.eu>
2018-11-14 22:30:00 +00:00
Gus Parvin
ff1a8534fa remove changes in issuers that seems to not be needed
Signed-off-by: Gus Parvin <gparvin@us.ibm.com>
2018-11-14 15:11:56 +00:00
James Munnelly
b71944b5a4 Move reference-docs generation tools into docs/ subdir
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-11-14 00:48:06 +00:00
Gus Parvin
7e33256b68 changes to add a NotAfter field to the cert status
Signed-off-by: Gus Parvin <gparvin@us.ibm.com>
2018-11-13 16:16:29 +00:00
jetstack-bot
3ce276d5e8
Merge pull request #1066 from heckj/files-for-quickstart
adding files for quickstart
2018-11-13 11:21:59 +00:00