Commit Graph

551 Commits

Author SHA1 Message Date
Maartje Eyskens
887af1bc84 Remove the legacy release
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-12-01 16:17:07 +01:00
Richard Wall
35bfc75997 Suppress GPG signatures when getting the git last revision year
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2020-10-21 11:47:28 +01:00
jetstack-bot
cce8380f9e
Merge pull request #3357 from meyskens/timestamp-licenced-manifests
Timestamp the static manifest's licences
2020-10-16 17:34:15 +02:00
Maartje Eyskens
6f49a347b4 Use stamping and last commit year
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-10-08 16:56:07 +02:00
Maartje Eyskens
50efbc0f6c Timestamp the static manifest's licences
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-10-08 16:06:05 +02:00
Richard Wall
f3f321bbbc Update to vcert v4.11.0
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2020-10-08 15:02:50 +01:00
Maartje Eyskens
4d8a56466d Bump dependancies
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-09-25 14:27:26 +02:00
Maartje Eyskens
8b336fe1ed Update Helm to 3.3.4
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-09-23 15:12:35 +02:00
Maartje Eyskens
47266ffbbc Implement feedback from review
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-08-27 14:46:28 +02:00
Maartje Eyskens
a160ba3186 Use k8s GA
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-08-27 09:08:11 +02:00
Maartje Eyskens
3a814e878b Run bazel updates
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-08-26 14:29:06 +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
90d6a54151 Add support for alternate certs with PrefferedChain in ACME
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-08-21 17:56:26 +02:00
Richard Wall
1b9ea76057 Retain the v1 API version in legacy CRDs
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2020-08-20 14:28:06 +01:00
jetstack-bot
ceccf6a047
Merge pull request #3179 from meyskens/no-helm-labels
Remove managed by Helm labels from static manifests and CRDs
2020-08-14 18:44:32 +01:00
Maartje Eyskens
5e9e25db3f Remove spec/template/... labels
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-08-14 18:49:31 +02:00
Richard Wall
5e2c3ce722 Set up for v1 API
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2020-08-13 21:43:36 +01:00
Maartje Eyskens
1672a01e49 Remove managed by Helm labels from static manifests and CRDs
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-08-13 20:09:35 +02:00
Maartje Eyskens
454e83bb78 revert mistaken deps upgrades
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-08-12 10:59:42 +02: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
Maartje Eyskens
9dd00905e9 Update klog
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>

klog v2

Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-08-12 10:59:41 +02:00
jetstack-bot
508ac2ab31
Merge pull request #3081 from meyskens/kind-119
Update kind and add Kubernetes 1.19.0-rc.4
2020-08-11 09:35:33 +01:00
Maartje Eyskens
829ee880d4 Add a legacy version of Kind to run 1.11 clusters
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-08-10 15:28:28 +02:00
Richard Wall
b2ed0a2b92 Update to latest version of https://github.com/SSLMate/go-pkcs12
This new version includes a
[pkcs12.DecodeChain](https://godoc.org/software.sslmate.com/src/go-pkcs12#DecodeChain)
which will help in testing https://github.com/jetstack/cert-manager/pull/3146

Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2020-08-07 17:26:59 +01:00
Yann Soubeyrand
a5a565b45b Remove x-kubernetes-preserve-unknown-fields from Issuer and ClusterIssuer CRDs
Signed-off-by: Yann Soubeyrand <yann.soubeyrand@camptocamp.com>
2020-07-24 15:25:52 +02:00
Haoxiang Zhou
134aac00f7 Supply version as argument to script
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
2020-07-22 17:41:18 +01:00
Haoxiang Zhou
7283ca36ce Add set -o lines
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
2020-07-22 14:08:48 +01:00
Haoxiang Zhou
5c71380d75 Add script for computing SHA256 of tars of our kubectl plugin
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
2020-07-22 12:23:53 +01:00
Maartje Eyskens
6af8ebc15a Update kind and add Kubernetes 1.19 beta 2
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-07-20 10:59:58 +02:00
jetstack-bot
b8f7b5f2b5
Merge pull request #2788 from meyskens/openshift-ci
OpenShift 3.11 e2e tests
2020-07-16 10:54:48 +01:00
Maartje Eyskens
fc2ffdbb89 Fix multi version removal of x-kubernetes-preserve-unknown-field in legacy CRDs
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-07-10 14:05:07 +02:00
jetstack-bot
d4a743f91a
Merge pull request #3038 from munnerz/v1beta1
add v1beta1 API version
2020-07-07 09:52:37 +01:00
jetstack-bot
19b840a1a7
Merge pull request #3060 from munnerz/upgrade-cobra
Upgrade cobra dependency to v1.0.0
2020-07-03 13:12:06 +01:00
jetstack-bot
06920f193a
Merge pull request #3057 from munnerz/improve-update-deps-licenses.sh
Update update-deps-licenses.sh with latest changes from kubernetes/kubernetes
2020-07-03 12:47:06 +01:00
James Munnelly
3cb5122d06 Update filter-crd to only retain v1alpha2
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-07-02 12:02:47 +01:00
James Munnelly
2110fea173 Duplicate v1alpha3 API versions to v1beta1
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-07-02 12:02:47 +01:00
James Munnelly
7d06cc708c Upgrade cobra to 1.0.0
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-07-02 10:03:50 +01:00
James Munnelly
46bd52810f Update update-deps-licenses.sh to handle indirect transitive dependencies
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-07-02 10:03:22 +01:00
James Munnelly
21dc11c377 Update update-deps-licenses.sh with latest changes from kubernetes/kubernetes
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-07-01 23:51:30 +01:00
James Munnelly
fb73e1f99f Bump k8s.io dependencies to 0.18.5
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-07-01 22:12:55 +01:00
Maartje Eyskens
54041ab587 Add e2e run for OpenShift 3
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-06-29 15:54:14 +02:00
Maartje Eyskens
e8ad24abea Bump goacmedns to v0.0.3
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-06-29 10:01:19 +02:00
James Munnelly
d09a437c7c Add verify-staticcheck.sh script
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-06-26 12:02:55 +01:00
Maartje Eyskens
c9fbbdbde8 Update to the latest miekg/dns
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-05-27 17:42:34 +02:00
Hanfei Shen
a160e00a8b Update AWS Go SDK to v1.31.3
Signed-off-by: Hanfei Shen <qqshfox@gmail.com>
2020-05-24 00:30:11 +08:00
Yann Soubeyrand
51cd05999f Remove x-kubernetes-preserve-unknown-fields from Issuer and ClusterIssuer CRDs
Signed-off-by: Yann Soubeyrand <yann.soubeyrand@camptocamp.com>
2020-05-13 17:43:30 +02:00
Maartje Eyskens
37c33f0418 Remove UBI
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-05-01 15:24:27 +02:00
Maartje Eyskens
c72da660e1 Bump contoller-tools and controller-runtime to latest of master
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-04-17 15:56:59 +02:00
jetstack-bot
fba7b09ac8
Merge pull request #2725 from JoshVanL/ctl-version
cert-manager-ctl CLI with version
2020-04-08 12:45:15 +01:00
James Munnelly
e36c1acf1c Add '-ubi' suffix to AppVersion in UBI artifacts
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-04-01 19:34:34 +01:00
JoshVanL
8b649a393a
Updates dependencies
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2020-04-01 18:54:21 +01:00
James Munnelly
b955abed17 Fix up chart and bazel build rules
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-04-01 18:22:35 +01:00
James Munnelly
f33beefc32 Add installCRDs option to Helm chart
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-04-01 13:15:15 +01:00
jetstack-bot
b0fe0a8e4d
Merge pull request #2747 from munnerz/k8s-1.18
devel: add k8s 1.18 support
2020-03-30 13:53:00 +01:00
James Munnelly
881b886049 Update Kubernetes API client call-sites
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-03-26 12:58:50 +00:00
James Munnelly
3fb4f1597c Update dependencies to Kubernetes v1.18.0
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-03-26 12:58:50 +00:00
James Munnelly
9a8bfabbae devel: add k8s 1.18 support
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-03-25 23:36:00 +00:00
jetstack-bot
e328cfd5aa
Merge pull request #2708 from munnerz/fix-image-uid
Fix issue causing docker images to use UID 0 (root)
2020-03-17 09:51:25 +00:00
James Munnelly
0935277f3d Remove old 'image' targets and update to consistently use //build targets
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-03-17 09:47:01 +00:00
James Munnelly
4e5f9bc31d Add integration testing framework and a basic conversion test
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-03-13 15:32:50 +01:00
James Munnelly
dc6920df97 Tidy up and upgrade dependencies in deps.bzl
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-03-13 15:30:57 +01:00
James Munnelly
61cff09573 Automatically prepend license boilerplate header to release manifests
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-03-11 12:08:43 +00:00
jetstack-bot
2dcc5974cf
Merge pull request #2663 from munnerz/bump-vcert-
Bump vcert to v4.9.3
2020-03-11 09:59:32 +00:00
James Munnelly
067a228119 Bump vcert to v4.9.3
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-03-11 09:18:30 +00:00
James Munnelly
3017e87260 Bump controller-runtime to incorporate kubernetes-sigs/controller-runtime#843
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-03-09 15:18:28 +00:00
James Munnelly
393ee0cd47 Remove x-kubernetes-preserve-unknown-fields from Issuer and ClusterIssuer CRDs
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-03-06 15:32:17 +00:00
jetstack-bot
b802b59e41
Merge pull request #2656 from munnerz/go114
Upgrade to Go 1.14
2020-03-05 19:21:05 +00:00
James Munnelly
4102fe526d Upgrade to Go 1.14
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-03-05 17:31:05 +00:00
James Munnelly
cf6c21f741 Remove the verify-links.sh script
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-03-05 14:49:26 +00:00
jetstack-bot
a49c687e21 Merge pull request #2648 from meyskens/disable-conversion
Replace openshift/no-webhook manifests with legacy
2020-03-04 19:49:57 +00:00
Maartje Eyskens
e06a85770e Fail on multiple CRD versions in legacy
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-03-04 18:12:24 +01:00
James Munnelly
98bc0d52f9 Add --experimental-issue-jks flag to enable JKS bundle generation
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-03-04 15:33:22 +00:00
Maartje Eyskens
ee42b6a0d8 Try to make code more clear
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-03-04 15:06:07 +01:00
Maartje Eyskens
bd3f19a447 Introduce removeFromSlice function
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-03-04 14:58:35 +01:00
Maartje Eyskens
aaae73a45d Replace openshift/no-webhook manifests with legacy
This releases a new manifest type "legacy" to support Kubernetes <1.15 and OpenShift 3.
This version uses the webhook but disables the conversions as they are not supported.
For this reason only the v1alpha2 API is added in these manifests.
All newer APIs are filtered by the filter-crd tool.

Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-03-04 14:26:25 +01:00
Josh Soref
91c83d7dab spelling: verifying
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2020-02-24 17:21:04 -05:00
Josh Soref
2daf801b58 spelling: meaning
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2020-02-24 16:43:48 -05:00
Maartje Eyskens
7299a1e4c2 Add copyright
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-02-18 11:18:16 +01:00
Maartje Eyskens
560fe3828d Improve errors
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-02-18 11:17:20 +01:00
Maartje Eyskens
1439ca350c Write CRD filter for OpenShift
This adds a Go binary that filters certain keys from the CRDs.
This is meant to remove keys that are not compatible with OpenShift 3.11.
This then is ran on creating the deployment manifests.

Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-02-18 10:52:42 +01:00
jetstack-bot
672f7654a7
Merge pull request #2573 from meyskens/venafi-custom-fields
Add venafi.cert-manager.io/custom-fields annnotation
2020-02-17 12:24:24 +00:00
jetstack-bot
f9c23dcb8f
Merge pull request #2556 from munnerz/release-tars
Add release-tars targets to construct cert-manager release artifacts
2020-02-10 16:10:13 +00:00
James Munnelly
c3bc752566 Update controller-tools and controller-runtime
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-02-10 12:15:09 +00:00
Maartje Eyskens
292d7f1e61 Update vcert
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-02-07 09:19:24 +01:00
Maartje Eyskens
623c932f2f Update deps
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-02-04 17:57:04 +01:00
James Munnelly
dfafd10391 Remove hack/release tool
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-01-31 10:35:22 +00:00
James Munnelly
22f4f1e1f2 Add release-tars targets to construct cert-manager release artifacts
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-01-30 21:02:58 +00:00
James Munnelly
355369afa6 Create devel directory and use it for e2e tests
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-01-22 22:08:27 +00:00
srBraun
e07d50e4f9 fix: removes the need of Bazaar by updating github.com/digitalocean/godo to v1.29.0 #2432
Signed-off-by: srBraun <dev@skra.space>
2020-01-20 23:12:33 +01:00
jetstack-bot
fbab741817
Merge pull request #2513 from munnerz/add-v1alpha3
Create v1alpha3 API version
2020-01-20 16:37:31 +00:00
Periklis Tsirakidis
a1f63b953d Use vault api and sdk modules instead of tagged repo
Signed-off-by: Periklis Tsirakidis <periklis@nefeli.eu>
2020-01-20 12:27:09 +01:00
James Munnelly
b2e6c26eef Remove update-reference-docs from update-all
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-01-20 10:05:54 +00:00
James Munnelly
6879d8d1d3 Add v1alpha3 directories to update-codegen
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-01-20 10:05:54 +00:00
James Munnelly
4a8a7c97bf Fix update-codegen creating new files
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-01-17 16:54:04 +00:00
jetstack-bot
5ee9e6c7aa
Merge pull request #2452 from munnerz/kubernetes-1.17.0
Bump Kubernetes dependencies to v0.17.0
2020-01-14 14:19:57 +00:00
Nicolas Fischer
3b838758a3 support an arbitrary SecurityContext block for the main deployment
Signed-off-by: Nicolas Fischer <nicolas@emberspark.io>
2020-01-10 10:15:42 +00:00
James Munnelly
70253622cf Bump Kubernetes dependencies to v0.17.0
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-12-11 14:57:28 +00:00
James Munnelly
861e0f95c6 Use fork of x/crypto with support for EAB
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-12-11 10:37:16 +00:00
James Munnelly
641fe0da7c Switch to using upstream golang.org/x/crypto
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-12-03 16:49:31 +00:00
James Munnelly
3c46032750 Remove repo name prefix from jq target
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-11-15 12:26:11 +00:00
James Munnelly
c45aa852d0 Run fuzz tests for API schema generation
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-11-15 12:26:11 +00:00
jetstack-bot
1556add6eb
Merge pull request #2290 from munnerz/kube-1162
Bump Kubernetes dependencies to 1.16.3
2019-11-15 12:22:24 +00:00
James Munnelly
1de8920bd7 Remove old reference docs generation code
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-11-15 00:10:18 +00:00
James Munnelly
02c15341c1 Bump k8s.io dependencies to kubernetes-1.16.3
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-11-14 19:15:47 +00:00
jetstack-bot
1793e7b573
Merge pull request #2236 from munnerz/covered-images
Add Bazel image targets with coverage enabled
2019-11-14 10:54:09 +00:00
jetstack-bot
d63b12f033
Merge pull request #2001 from munnerz/conversion-webhook
webhook: add conversion handler
2019-10-28 12:36:05 +00:00
jetstack-bot
60d8ec4492
Merge pull request #2275 from munnerz/helm-2.15.1
Bump Helm and Tiller to 2.15.1
2019-10-28 12:11:06 +00:00
jetstack-bot
24883ea2b5
Merge pull request #2286 from munnerz/schemapatch-ct
Use controller-gen schemapatch to generate CRD schemas
2019-10-28 11:46:14 +00:00
James Munnelly
d0befeb71c Pin prometheus/client_golang dependency to v0.9.4
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-10-25 16:21:52 +01:00
James Munnelly
ac06d9beca Fix infinite symlink expansion errors
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-10-25 14:46:34 +01:00
James Munnelly
08d36046c5 Use latest controller-tools and controller-runtime
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-10-25 14:45:36 +01:00
James Munnelly
9d5372c93a Use schemapatch to generate openapi schemas
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-10-25 14:44:02 +01:00
James Munnelly
0209686ed7 Add v2 version to testgroup API
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-10-24 19:41:55 +01:00
James Munnelly
df30a1fc6d Bump Helm and Tiller to 2.15.1
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-10-24 12:54:24 +01:00
James Munnelly
da8bf264fd Use standard golang http server for webhook
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-10-17 12:29:34 +01:00
jetstack-bot
ece1494305
Merge pull request #2241 from munnerz/flake-attempts
Allow setting flakeAttempts when running e2e suite
2019-10-16 16:50:23 +01:00
James Munnelly
4bb0287113 Allow setting flakeAttempts when running e2e suite
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-10-16 16:14:43 +01:00
James Munnelly
5057da1b89 Add Bazel image targets with coverage enabled
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-10-16 08:59:24 +01:00
James Munnelly
241bce4858 Create multi-arch manifest lists when publish docker images
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-10-15 17:03:23 +01:00
jetstack-bot
4d316ea97f
Merge pull request #2103 from chdorb/fix/yaml_manifests
Better YAML structure
2019-10-15 09:40:19 +01:00
JoshVanL
a2263c3f10 Unset GROOT during update deps
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-10-13 18:51:10 +02:00
Pierre Dorbais
9f24be1952 comment crds yaml files concatenation
Signed-off-by: Pierre Dorbais <chdorb@gmail.com>
2019-10-11 14:57:21 +02:00
Pierre Dorbais
ed67c7fab5 fix: generate better yaml crds file
Signed-off-by: Pierre Dorbais <chdorb@gmail.com>
2019-10-11 10:58:25 +02:00
JoshVanL
345385fcfc Fix up migration output and its docs
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-10-08 17:17:54 +01:00
JoshVanL
fae39bb525 Adds CLI migration tool with docs on how to use it
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-10-08 16:09:57 +01:00
James Munnelly
534e36e362 Bump controller-tools to set x-kubernetes-preserve-unknown-fields correctly
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-10-02 19:44:14 +01:00
jetstack-bot
44abb9b26c
Merge pull request #2121 from munnerz/tidyup-makefile
Update Makefile and add update-all.sh script
2019-10-02 17:21:19 +01:00
jetstack-bot
b502d8c21f
Merge pull request #2126 from munnerz/fixup-apps-v1
Fix end-to-end test suite for Kubernetes 1.16
2019-10-02 16:01:15 +01:00
James Munnelly
655b432e32 Bump ingress-nginx to a version compatible with k8s 1.16
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-10-02 15:21:17 +01:00
James Munnelly
7f3fdb9949 Update Makefile and add update-all.sh script
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-10-02 12:50:32 +01:00
James Munnelly
5fb202fadf Disable atomicalign vet check due to panic on linux/arm
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-10-01 21:16:00 +01:00
James Munnelly
6ea5eb6993 Move print-workspace-status.sh into hack/build
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-27 12:07:08 +01:00
James Munnelly
7c54cb8dda Run govet using nogo
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-27 12:07:08 +01:00
James Munnelly
37a20c5837 Run hack/update-bazel.sh
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-27 12:07:08 +01:00
James Munnelly
ebd75342fc Remove unused scripts
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-27 12:07:08 +01:00
James Munnelly
4a0812ab09 Move .kazelcfg.json into hack/build
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-27 12:07:08 +01:00
James Munnelly
57b97d77ac Move repos.bzl into hack/build
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-27 12:07:08 +01:00
James Munnelly
a3aaeba1e6 Move crd generation macro into hack/build
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-27 12:07:08 +01:00
James Munnelly
fad13bfce1 Move image macro into hack/build
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-27 12:07:08 +01:00
James Munnelly
1d87e37e69 Fix verify-codegen with external/ dir
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-26 17:51:08 +01:00
James Munnelly
4b1a4fece8 Fix update-codegen for go 1.13
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-26 17:26:43 +01:00
James Munnelly
24f39b4b47 Prefix local WORKSPACE dependencies with @
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-26 15:26:29 +01:00
James Munnelly
9b0af7a5e6 Improve verify-links UX
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-26 15:26:29 +01:00
James Munnelly
a725d651a5 Improve verify-errexit UX
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-26 15:26:29 +01:00
James Munnelly
5c87f83a03 Improve update-gofmt UX
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-26 15:26:29 +01:00
James Munnelly
f1b942e0af Improve update-reference-docs UX
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-26 15:26:29 +01:00
James Munnelly
e44bef7f03 Update hack scripts for vendorless build and tidy up invocations
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-26 12:56:15 +01:00
James Munnelly
973f4aa424 Update codebase for external dependencies
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-26 12:52:43 +01:00
James Munnelly
f842bf3f88 Set python_version for verify-boilerplate
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-26 12:19:28 +01:00
James Munnelly
625f4dfd24 Add 'external' directory to ignored boilerplate list
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-26 12:06:11 +01:00
James Munnelly
cadefb7a61 Explicitly set encoding in verify_boilerplate.py
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-26 11:46:13 +01:00
James Munnelly
39e5acaa37 Remove shallow_since from repo-infra
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-26 11:36:22 +01:00
James Munnelly
9fcb66d744 Update update-codegen
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-23 10:07:53 +01:00
James Munnelly
76a44edc89 Fixup update-codegen with multiple APIs at once
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-20 19:25:05 +01:00
James Munnelly
7be86923f1 Add meta group to update-codegen
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-20 19:25:04 +01:00
James Munnelly
58754abf37 Refactor codebase for v1alpha2
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-20 16:22:43 +01:00
Galo Navarro
265f743e6a Update run-dev-kind instructions
The charts path was out of date.

Signed-off-by: Galo Navarro <anglorvaroa@gmail.com>
2019-09-16 13:37:42 +02:00
James Munnelly
67e9950ef1 Set GO111MODULE=off in update-codegen
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-07 13:38:45 +01:00
James Munnelly
6d0853de61 Add dedicated testgroup for webhook handler tests
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-08-21 13:11:02 +01:00
James Munnelly
7fd9f4b23e Introduce internal API version
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-08-21 13:10:31 +01:00
James Munnelly
32084c24b4 Add generate-groups-internal.sh script from code-generator
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-08-14 12:01:31 +01:00
James Munnelly
b699babf24 Update crd script to have access to GOPATH
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-07-25 14:57:51 +01:00
James Munnelly
f7882a9c59 Use controller-tools to generate CRDs
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-07-25 14:57:50 +01:00
James Munnelly
9810c37c33 Bump to latest helm/tiller version
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-07-22 20:54:15 +01:00
James Munnelly
9c55f2603f Add v1beta2 kubeadm config
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-07-22 20:46:55 +01:00
James Munnelly
a22a8458fe Bump older k8s images
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-07-22 20:46:55 +01:00
James Munnelly
46a5e90842 Use prebuilt kind binary
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-07-22 20:46:55 +01:00
James Munnelly
7a362393d9 Bump kind to 0.4.0 and default k8s version to 1.15
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-07-22 20:46:55 +01:00
James Munnelly
283a208380 Add e2e targets for 1.15 and 1.16
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-07-22 20:46:55 +01:00
James Munnelly
57641eec7b Create separate files for various Bazel dependencies
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-07-09 11:23:34 +01:00
James Munnelly
43e5880dce hack/release: add --stamp=true when running 'bazel run'
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-07-08 15:43:28 +01:00
James Munnelly
9d66cab532 Set --stamp=true when exporting images in e2e tests
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-07-05 13:48:27 +01:00
James Munnelly
cd113898ab Set --stamp=true when running a bazel release build
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-07-05 12:25:25 +01:00
James Munnelly
1d7e04cb39 Bump bazel dependencies
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-07-02 21:02:12 +01:00
James Munnelly
5a096b0b07 Fix lint failures and remove image target manual tag
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-07-02 18:26:12 +01:00
James Munnelly
de34f0410d Use binary image targets to avoid building multiple architectures all the time
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-07-02 17:29:32 +01:00
James Munnelly
fd2dd16f75 Change bazel build to only build for current --platform
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-07-02 16:10:05 +01:00
JoshVanL
1c092cf299 Adds CertificateRequest resource
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-06-25 10:03:26 +01:00
JoshVanL
2a9db9be0c Use find to like crd files to make array consistent
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-06-19 15:33:14 +01:00
James Munnelly
fbf788d41f Switch to gcr.io/distroless/static base image
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-05-10 12:01:53 +01:00
James Munnelly
368b094117 Generate openshift variant of static manifests
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-05-09 10:08:29 +01:00
James Munnelly
ae482f712b
Add cainjector to list of images to build
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-05-08 10:18:32 +01:00
James Munnelly
d9a60b565e release: read github token from file
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-05-07 13:36:55 +01:00
James Munnelly
e9dfa8084e Pass path to docker config directory instead of file
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-05-04 20:05:06 +01:00
James Munnelly
4c54ea47d0 Fix use of --config flag when calling docker
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-05-04 19:35:34 +01:00
James Munnelly
70b5eea2f1 Remove comment causing issues passing env vars
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-05-04 19:00:34 +01:00
James Munnelly
7f7c7e8274 Set flag variable on log
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-05-04 17:46:40 +01:00
James Munnelly
3ba7e49c6e Honour DOCKER_CONFIG variable for docker authentication
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-05-04 17:44:54 +01:00
James Munnelly
0267fd2348 Correctly suffix image names with architecture
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-05-04 17:32:42 +01:00
James Munnelly
7d11a58854 Add additional logging
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-05-03 15:47:31 +01:00
James Munnelly
fd36977e7d Update release script to support more options
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-05-03 15:23:24 +01:00
James Munnelly
48f5ca86a6 Switch to using upstream chart-testing docker image
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-05-03 13:28:19 +01:00
James Munnelly
d55b04df91 Update README text in manifests directory
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-05-03 12:19:24 +01:00
James Munnelly
17ce68a53f Remove old test dependency
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-05-03 11:22:35 +01:00
James Munnelly
221d858e2b Run Helm via Bazel
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-05-03 11:16:26 +01:00
James Munnelly
0a0c1ade6f Inherit release process environ when calling Bazel
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-05-03 11:16:26 +01:00
James Munnelly
81c3ca2d98 Set default appVersin to v0.0.0-experimental
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-05-03 11:16:26 +01:00
James Munnelly
29729d71d3 Set upstreamRepoURL on git fetch
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-05-03 11:16:25 +01:00
James Munnelly
7bd819f148 Chdir to repo root
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-05-03 11:16:25 +01:00
James Munnelly
465d0032a0 Add missing boilerplate headers
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-05-03 11:16:25 +01:00
James Munnelly
b3a0dbcc01 Update update-crds step
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-05-03 11:16:25 +01:00
James Munnelly
c5d9830d30 Remove deploy-gen scripts
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-05-03 11:16:25 +01:00
James Munnelly
5d21bd4796 Set values file when generate static manifests
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-05-03 11:16:25 +01:00
James Munnelly
a2ed702ab1 Update Makefile and release.sh to use new release tool
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-05-03 11:16:25 +01:00
James Munnelly
d5daff0d6a Allow overriding APP_GIT_COMMIT
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-05-03 11:16:25 +01:00
James Munnelly
c75db6304e Add new golang release tool
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-05-03 11:16:25 +01:00
James Munnelly
500d8fbeb7 Create image bundles in multiarch_image target
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-05-03 11:16:25 +01:00
James Munnelly
9939fc9bed Add sample webhook to build_images.sh script
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-04-30 15:39:12 +01:00
James Munnelly
226837ad92 Use 'kind load docker-image' command for faster image loads
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-04-30 10:36:58 +01:00
James Munnelly
9b700537ce Add integration framework binary dependencies
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-04-18 15:05:07 +01:00
James Munnelly
e04847b7cd Add ACME webhook package
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-04-18 14:02:44 +01:00
James Munnelly
455f99ce0c Generate LICENSES file automatically
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-04-16 14:41:05 +01:00
James Munnelly
f835a5a591 Update dependency management tools for go modules
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-04-14 15:51:38 +01:00
James Munnelly
51a600f44f Bump WORKSPACE dependencies
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-04-12 21:26:44 +01:00
Lennart Jern
f4dcecfa0c bazel: use update instead of + for dict
Signed-off-by: Lennart Jern <lennart.jern@gmail.com>
2019-03-29 18:12:35 +01:00
jetstack-bot
25e60f68b3
Merge pull request #1415 from munnerz/cainjector-updates
Updates to cainjector controller
2019-02-28 15:52:09 +00:00
jetstack-bot
c07bfd7181
Merge pull request #1419 from DanielMorsing/enable_httpstest
Enable https redirect test
2019-02-28 15:05:11 +00:00
Daniel Morsing
e1cee57b32 update dependencies for test
We use the latest pebble release without the strict mode flag enabled

Signed-off-by: Daniel Morsing <dmo@jetstack.io>
2019-02-28 12:24:24 +00:00
James Munnelly
2d4ae93388 Fix reference to old name
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-27 16:00:50 +00:00
James Munnelly
a5e09b3aff Add cainjector to release.sh
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-27 15:27:40 +00:00
Solly Ross
42248a91d7 CA Injector Controller
This implements a CA injector controller using controller-runtime.
It looks at admission webhooks and APIServices with a particular
annotation, and injects the CA data from certificates.

Signed-off-by: Solly Ross <sollyross@google.com>
2019-02-26 21:47:34 -08:00
jetstack-bot
91066cf146
Merge pull request #1402 from munnerz/fix-release
Run helm init -c in release.sh
2019-02-22 14:39:37 +00:00
James Munnelly
afed5b665b Run helm init -c
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-22 13:07:07 +00:00
James Munnelly
a9d8f7de8a Fixup for Kubernetes 1.13.2
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-22 11:53:19 +00:00
James Munnelly
0a4e4434fe Negate SKIP_CHART in comparison
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-21 16:11:52 +00:00
James Munnelly
fdc58778ec Publish Helm chart as part of release.sh script
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-18 16:19:05 +00:00
jetstack-bot
bfafc7354e
Merge pull request #1322 from munnerz/gen-validation-schema
Generate CRDs using controller-tools, including validation schema
2019-02-13 16:35:07 +00:00
James Munnelly
483cc65519 Update release script for arm images
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-08 15:50:48 +00:00
James Munnelly
149cbb30a7 Add arm32 and arm64 bazel image targets
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-08 15:10:45 +00:00
James Munnelly
041eb53461 Don't allow overwriting existing tags by default
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-06 22:25:01 +00:00
James Munnelly
2bf96e44c2 Add hack/release.sh script
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-06 21:51:09 +00:00
James Munnelly
77869cf936 Add scripts for generating CRDs using controller-tools
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-06 01:52:26 +00:00
James Munnelly
0da5f3349d update comment
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-04 13:09:11 +00:00
James Munnelly
a14dd8e633 Fix call to kubeVersion
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-01 10:22:39 +00:00
James Munnelly
39e5eb9901 Add v1beta1 kubeadm config for kind
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-01 10:06:49 +00:00
James Munnelly
0fa01e32c5 Use Bazel to version kind docker image
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-01 09:14:53 +00:00
James Munnelly
4c3e305112 Use Bazel to version kubectl in e2e tests
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-01 00:21:13 +00:00
James Munnelly
7431dafb3a Generate static manifest with webhook disabled
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-22 16:11:53 +00:00
Zadkiel Aharonian
9fe05cc3d2
Fix references for chart path
Signed-off-by: Zadkiel Aharonian <hello@zadkiel.fr>
2019-01-17 18:56:47 +01:00
jetstack-bot
66d9455046
Merge pull request #1189 from munnerz/pebble-via-bazel
Use pebble built by bazel & pre-pull images during e2e tests
2019-01-11 17:07:11 +00:00
James Munnelly
ec87b60c94 Use Bazel images for nginx-ingress, vault and tiller
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-11 14:03:22 +00:00
James Munnelly
c4a794d163 Include CRD and Namespace resources in static deployment manifest file
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-10 16:54:45 +00:00
James Munnelly
e9b735d1e2 Use pebble built by bazel during e2e tests
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-09 20:11:42 +00:00
James Munnelly
90ea0d2684 :this_is_unbearable:
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-07 15:28:14 +00:00
James Munnelly
0f7ceb2a30 :this_is_fine:
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-07 15:12:45 +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
Vasilis Remmas
cd14e3195b Build containers using user with id 1000
This fixes an issue where clusters with Pod Security Policy feature
enabled cannot start the containers.

Signed-off-by: Vasilis Remmas <vasremm@gmail.com>
2018-12-10 14:08:03 +01:00
James Munnelly
cdd513c6c5 Remove CRDs from Helm chart and introduce 00-crds.yaml file
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-12-04 18:11:13 +00:00
James Munnelly
4283138a81 Move deployment generation values.yaml to deploy/manifests and don't generate without-rbac variants of manifests
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-12-04 16:29:26 +00:00
James Munnelly
5a17c58c03 Rearrange Helm charts into deploy/ and test/e2e/charts directories
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-12-04 16:19:49 +00:00