Commit Graph
282 Commits
Author SHA1 Message Date
James Munnelly fa7386fa93 Fix inline code
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-31 14:05:58 +00:00
James Munnelly e65f70ed7a Move ingress-shim guide under tasks
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-31 14:05:58 +00:00
James Munnelly e8438c9024 Add short sentence for each issuer type
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-31 14:05:58 +00:00
James Munnelly 7ca06840a6 Adding 'Setting up ACME Issuers' doc
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-31 14:05:58 +00:00
James Munnelly 982b174a29 Fix typo
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-31 14:05:58 +00:00
James Munnelly 519136bdef Update 'configuring your first issuer' section of install guide
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-31 14:05:58 +00:00
James Munnelly 27bce696b3 Rewrite webhook doc intro
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-31 14:05:58 +00:00
James Munnelly 6a3b91ba57 First-round review comments
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-31 14:05:58 +00:00
James Munnelly 2a7e8e5d1d Fix lint warnings and line highlighting
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-31 14:05:58 +00:00
James Munnelly 689b9664a4 Add link to Tillerless Helm v2
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-31 14:05:58 +00:00
James Munnelly 00cb0e0531 Add disabling webhook component guide
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-31 14:05:58 +00:00
James Munnelly 01cf1b890e Add backing up and restoring guide
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-31 14:05:58 +00:00
James Munnelly 8edf3a1cdc Configure redirects for moved pages
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-31 14:05:58 +00:00
James Munnelly f21ca09b51 Rearrange documentation and add new content
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-31 14:05:58 +00:00
Kévin DunglasandJames Munnelly e5aefe6881 docs: fix a bash snippet in 2-installing.rst
Signed-off-by: Kévin Dunglas <dunglas@gmail.com>
2019-01-24 11:38:12 +00: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-botandGitHub 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-botandGitHub 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 MunnellyandGitHub bf17ac809f Merge pull request #1131 from davegrix/patch-1
Update index.rst
2018-12-14 09:09:24 -08:00
davegrixandDave Grix 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 TurnerandJoe Heck 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-botandGitHub 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-botandGitHub 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 Ehrlichandjetstack-bot 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-botandGitHub 3ce276d5e8 Merge pull request #1066 from heckj/files-for-quickstart
adding files for quickstart
2018-11-13 11:21:59 +00:00
Joe Heck c18449afb4 adding files for quickstart
- I'm going to reference them, but the testing for this repo does
  link validation up front, so the files need to exist in their final
  locations before the other PR can pass it's testing/validation.

Signed-off-by: Joe Heck <heckj@mac.com>
2018-11-10 12:58:50 -08:00
Joe Heck 7e3ee68879 minor grammar improvement
Signed-off-by: Joe Heck <heckj@mac.com>
2018-11-10 09:48:54 -08:00
Joe Heck facf1e9fb4 clean up sphinx warnings
- fixed missing blank line in ref docs code block
- updated references to sphinx docs
- included documentation notes into the docs index

Signed-off-by: Joe Heck <heckj@mac.com>
2018-11-10 09:48:54 -08:00
James Munnelly efe2129c69 Run //hack:update-reference-docs
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-11-06 12:32:05 +00:00