Commit Graph

1273 Commits

Author SHA1 Message Date
William Lightning
3d09d98bd7 extract rbacClusterRoleHasAccessToResource out of certificate_rbac test to test framework util
Signed-off-by: William Lightning <wlightning@fuelmedical.com>
2018-09-19 10:19:04 -07:00
William Lightning
8dcfd76be5 certificate_rbac test: move defintion of resource up in the unit test, so we're not defining it on every it
Signed-off-by: William Lightning <wlightning@fuelmedical.com>
2018-09-19 10:04:09 -07:00
William Lightning
12713c8679 Add comprehensive tests around certificate rbac user facing roles
Signed-off-by: William Lightning <wlightning@fuelmedical.com>
2018-09-18 18:15:11 -07:00
William Lightning
d22a62d7a4 Refactor common rbac test code into function
Signed-off-by: William Lightning <wlightning@fuelmedical.com>
2018-09-18 16:51:04 -07:00
William Lightning
57bf83dea4 Add basic tests for certificate permissions
Signed-off-by: William Lightning <wlightning@fuelmedical.com>
2018-09-18 14:59:55 -07:00
William Lightning
9b6685825e Update deploy manifests with chart cert-manager-v0.6.0-dev.1
Signed-off-by: William Lightning <wlightning@fuelmedical.com>
2018-09-13 14:21:07 -07:00
William Lightning
6e66f5eedc Bump cert-manager helm chart version to v0.6.0-dev.1
Signed-off-by: William Lightning <wlightning@fuelmedical.com>
2018-09-13 13:58:38 -07:00
William Lightning
819cfcdf51 #872 Add certificates and issuers to aggregated RBAC for view, edit and admin ClusterRoles.
Signed-off-by: William Lightning <wlightning@fuelmedical.com>
2018-09-13 11:11:29 -07: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
jetstack-bot
8d6701de0b
Merge pull request #838 from Queuecumber/ca-org-days
Set Organization in Certificates
2018-09-10 17:56:17 +01:00
Max Ehrlich
10526f404a
Validate that vault certificates do not set the organization field
Signed-off-by: Max Ehrlich <max.ehr@gmail.com>
2018-09-10 10:33:53 -04:00
jetstack-bot
d55cd7ffe5
Merge pull request #664 from kiwigrid/enable-clouddns-meta-auth
enable clouddns meta auth
2018-09-10 13:49:17 +01:00