Commit Graph

14 Commits

Author SHA1 Message Date
Maartje Eyskens
5e9e25db3f Remove spec/template/... labels
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-08-14 18:49:31 +02: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
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
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
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
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
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
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
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
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