Commit Graph

1276 Commits

Author SHA1 Message Date
Max Ehrlich
48653e07f9
Return CA for vault certs, this uses the issuing_ca field from the vault api response, see (https://www.vaultproject.io/api/secret/pki/index.html#sign-certificate) for details
Signed-off-by: Max Ehrlich <max.ehr@gmail.com>
2018-09-13 18:47:44 -04:00
Max Ehrlich
2b5bcf3a35
Fix e2e tests to not fail if the ca key is set
Signed-off-by: Max Ehrlich <max.ehr@gmail.com>
2018-09-13 18:25:18 -04:00
Max Ehrlich
25e86d5588
For now, the vault issuer will also not store it's CA certificate
Signed-off-by: Max Ehrlich <max.ehr@gmail.com>
2018-09-13 17:07:15 -04:00
Max Ehrlich
ab450c7463
Set the CA field if a non-nil ca cert is passed
Signed-off-by: Max Ehrlich <max.ehr@gmail.com>
2018-09-13 17:07:15 -04:00
Max Ehrlich
213d5ec6b5
Self-signed issuers return a copy of the same certificate that was issued as the CA
Signed-off-by: Max Ehrlich <max.ehr@gmail.com>
2018-09-13 17:07:14 -04:00
Max Ehrlich
511650ca82
ACME issuers currently will not support getting the CA certificate
Signed-off-by: Max Ehrlich <max.ehr@gmail.com>
2018-09-13 17:07:14 -04:00
Max Ehrlich
58efbc068c
Update CA issuer to return the CA cert pem
Signed-off-by: Max Ehrlich <max.ehr@gmail.com>
2018-09-13 17:07:14 -04:00
Max Ehrlich
280382e6ce
Issue and renew should now return the bytes of the CA certificate that was used to issue the certs. This should be set to nil if not applicable
Signed-off-by: Max Ehrlich <max.ehr@gmail.com>
2018-09-13 17:07:14 -04:00
Max Ehrlich
41c7def791
Helper function to get PEM encoded bytes of x509 certs
Signed-off-by: Max Ehrlich <max.ehr@gmail.com>
2018-09-13 17:07:14 -04:00
Max Ehrlich
e347572541
Change key name constant to better match its function
Signed-off-by: Max Ehrlich <max.ehr@gmail.com>
2018-09-13 17:07:14 -04:00
Max Ehrlich
2524335f3a
Set the "ca.crt" field for certificates issued with isCA so that nginx can properly identify them for client authentication
Signed-off-by: Max Ehrlich <max.ehr@gmail.com>
2018-09-13 17:07:13 -04:00
jetstack-bot
fe9643340f
Merge pull request #888 from munnerz/bazel-2
Switch project to use Bazel for builds, tests and code generation
2018-09-13 11:52:31 +01:00
James Munnelly
aecbb5008f Update .gitlab-ci.yml to use Bazel
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-09-13 11:25:04 +01:00
James Munnelly
1ae1935e94 Use bazel for Makefile targets
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-09-13 11:25:04 +01:00
James Munnelly
48ecee9cfb run //hack:update-gofmt
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-09-13 11:25:04 +01:00
James Munnelly
9db19465ba Add //hack:{update,verify}-gofmt targets
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-09-13 11:25:04 +01:00
James Munnelly
c48018c1a1 run //hack:update-reference-docs
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-09-13 11:25:04 +01:00
James Munnelly
5e16dd47ab Run brodocs using bazel
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-09-13 11:25:03 +01:00
James Munnelly
38078cf5cd Commit openapi_generated.go
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-09-13 11:25:02 +01:00
James Munnelly
e7677f3656 Update update-codegen to run openapi-gen
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-09-13 11:24:53 +01:00
James Munnelly
9a7082ea86 Use bazel to run deploy-gen scripts
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-09-13 11:24:53 +01:00
James Munnelly
0bfb26d932 Update webhook to listen on port 6443
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-09-13 11:24:53 +01:00
James Munnelly
fe5d730118 Add e2e test binary target
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-09-13 11:24:53 +01:00
James Munnelly
64f02f6004 Add docker image building rules
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-09-13 11:24:52 +01:00
James Munnelly
b1f145625e Set up Bazel workspace with git status and pass ldflags
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-09-13 11:24:52 +01:00
James Munnelly
c4e11e110f run //hack:update-codegen
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-09-13 11:24:52 +01:00
James Munnelly
6ceaa5173f Add Kubernetes codegen Bazel rules
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-09-13 11:24:51 +01:00
James Munnelly
8ea0417883 run //hack:update-deps
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-09-13 11:24:51 +01:00
James Munnelly
41fd345e18 Add update-deps bazel targets
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-09-13 11:24:50 +01:00
James Munnelly
db65d6a170 run //hack:update-bazel
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-09-13 11:24:48 +01:00
James Munnelly
f4fd0acd31 Add update-bazel.sh rule to run gazelle and kazel
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-09-13 11:21:42 +01:00
James Munnelly
a87e7cdccc Use mktemp in verify-errexit and verify-links
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-09-13 11:21:42 +01:00
James Munnelly
77c63bdc2d Add root Bazel build files
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-09-13 11:21:42 +01:00
jetstack-bot
7924346bd8
Merge pull request #887 from munnerz/release-process
Add release process docs
2018-09-12 10:24:48 +01:00
jetstack-bot
140f9e7a4c
Merge pull request #891 from munnerz/metaauth-validation
Relax resource validation for CloudDNS service account credentials
2018-09-12 09:34:48 +01:00
jetstack-bot
feb589feb5
Merge pull request #661 from splashx/master
[ACME] Add RFC2136 DNS Provider (2nd attempt)
2018-09-12 09:11:48 +01:00
jetstack-bot
b88c4ad72a
Merge pull request #856 from ankyra/master
Documentation fix for `hostedZoneID` field
2018-09-12 08:45:48 +01:00
James Munnelly
01ab38e5ff Relax resource validation for CloudDNS service account credentials
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-09-12 08:44:06 +01:00
jetstack-bot
3cdcf21701
Merge pull request #889 from evankanderson/fix-err
Add an error check for AzureDNS failure to create a solver.
2018-09-11 12:59:51 +01:00
Bart Spaans
6b20e47378 Documentation fix for hostedZoneID field
Signed-off-by: Bart Spaans <bart.spaans@ankyra.io>
2018-09-11 11:12:21 +01:00
Evan Anderson
265c9610ff Add an error check for AzureDNS failure to create a solver.
Add documentation comments for public methods (caught by 'go lint').

Signed-off-by: Evan Anderson <evan.k.anderson@gmail.com>
2018-09-11 01:20:44 -07:00
splashx
3761c6c3a4
fix panic, wrong logic
Signed-off-by: splashx <splash@gmail.com>
2018-09-10 21:40:40 +02:00
splashx
51a8a57221
add tests for nameserver, tsigsecret and tsigname
Signed-off-by: splashx <splash@gmail.com>
2018-09-10 20:03:32 +02:00
James Munnelly
f218fbb8e3 Add release process docs
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-09-10 18:52:24 +01:00
jetstack-bot
c60f3de038
Merge pull request #886 from munnerz/ff-chart
Chart updates based on helm/charts feedback
2018-09-10 18:42:17 +01:00
James Munnelly
fee70b242a Run hack/update-deploy-gen.sh
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-09-10 18:19:35 +01:00
James Munnelly
011d5beabb Use fixed image tag for ca-helper and add description
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-09-10 18:15:06 +01:00
James Munnelly
8bbc529154 Run hack/update-deploy-gen.sh
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-09-10 18:13:56 +01:00
James Munnelly
6bdd2c99b1 Add requirements.lock file
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-09-10 18:13:52 +01:00
James Munnelly
7ae13376e3 Update version numbers for v0.5.0
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-09-10 18:13:47 +01:00