Commit Graph

45 Commits

Author SHA1 Message Date
Tim Ramlot
d7a23387c3
run 'make update-crds'
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2024-02-22 13:26:29 +01:00
Tim Ramlot
815dbc9e8f
remove unused and in Helm template
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2024-02-19 14:24:57 +01:00
Tim Ramlot
d34e2c8589
add CRD keep annotation
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2024-02-15 15:28:09 +01:00
Jason Witkowski
72b627d12a
Move helm hook from labels to annotations
Signed-off-by: Jason Witkowski <jwitko1@gmail.com>
2024-02-15 10:49:35 +01:00
Jason Witkowski
a6f665353f
feat: Add option to keep CRDs when helm chart is uninstalled
Signed-off-by: Jason Witkowski <jwitko1@gmail.com>
2024-02-15 10:49:35 +01:00
irbekrm
db8c6999a8 Remove leftover cainjector annotations from our CRDs
Signed-off-by: irbekrm <irbekrm@gmail.com>
2022-05-09 17:24:30 +01:00
Richard Wall
d80c53dc16 Remove conversion webhook configurations
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2021-12-14 17:42:54 +00:00
Richard Wall
704fe73b4b Remove deprectated APIs from the CRD templates
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2021-11-30 13:33:59 +00:00
Richard Wall
c6896b2f93 Set all non-v1 CRD versions as not-served
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2021-09-29 12:17:32 +01:00
irbekrm
7d30a6452c Removes status fields from CRD definitions
Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-08-18 10:17:34 +01:00
joshvanl
6c5a4897b6 Adds note as to why v1beta1 is still an accepted
`conversionReviewVersion`

Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2021-07-28 15:49:50 +01:00
joshvanl
b3ece6708a Adds v1beta1 as a conversionReviewVersion but don't actually support
it

Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2021-07-28 15:36:58 +01:00
joshvanl
5680bfd4b3 Change all CRDs to no longer accept v1beta1 conversionReviewVersions
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2021-07-26 17:05:58 +01:00
Inteon
0683738458
fix bug & add comment & cleanup
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-07-13 13:41:37 +02:00
Inteon
043bbd283e
remove helm-specific labels & add version label
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-07-11 17:42:32 +02:00
Maël Valais
39c9c662f7 controller-gen can now update CRDs like before
The controller-gen tool is quite rude and won't tell you when one of the
CRD manifests cannot be parsed when the option schemapatch is used. As
an example, the following:

  sed -i 's/RFC8555/RFC8556/g' pkg/apis/certmanager/v1/types_issuer.go
  controller-gen schemapatch:manifests=./deploy/crds output:dir=./deploy/crds paths=./pkg/apis/...

should trigger a change in the crd-clusterissuers.yaml:

  @@ -3184,7 +3184,7 @@ spec:
                 type: object
                 properties:
                   acme:
  -                  description: ACME [...] communicate with a RFC8555
  +                  description: ACME [...] communicate with a RFC8556
                     type: object

Unfortunately, controller-gen v0.2.9-0.20200414181213-645d44dca7c0
silently skips faulty CRD manifests. In our case, the CRD had become a
non-YAML file (we need to use some if statements):

  {{- if .Values.webhook.url.host }}
  url: https://{{ .Values.webhook.url.host }}/convert
  {{- else }}
  service:
    name: {{ template "webhook.fullname" . }}
    namespace: {{ .Release.Namespace | quote }}
    path: /convert
  {{- end }}

Two issues can be found (we can use a YAML parser like yq for that):

1. The pipe "|" used in ".Release.Namespace | quote" makes it an invalid
   YAML file. We could rewrite that to

     {{ quote .Release.Namespace }}

  but I decided to go with actual quotes like with the rest of the
  file.

2. The {{ if }}, {{ else }} and {{ end }} are also invalid YAML syntax,
   and one easy workaround is to comment them.

So many workarounds... but it now works!

Signed-off-by: Maël Valais <mael@vls.dev>
2021-05-11 17:29:06 +02:00
Anton Johansson
96a0859ac7
Add support to allow CRD conversion webhooks from outside of the cluster
Related to #3876

Signed-off-by: Anton Johansson <hello@anton-johansson.com>
2021-04-28 12:49:10 +02:00
Maartje Eyskens
494fcaf480 Remove all and rename acme to cert-manager-acme
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2021-01-20 15:21:42 +01:00
Maartje Eyskens
cab840e876 Add CRD catagories
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2021-01-18 14:09:38 +01:00
Maartje Eyskens
9559a71301 Update CRDs
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-11-20 09:46:49 +01:00
Maartje Eyskens
04d88479e4 Pass duration on until ACME order creation
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-11-20 09:46:49 +01:00
Maartje Eyskens
7b6573aa35 Add duration into ACME
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-11-20 09:45:32 +01:00
Maartje Eyskens
542b329914 Implement feedback
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-10-08 15:24:56 +02:00
Maartje Eyskens
ed9c2e4f45 Fix description
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-10-08 15:24:56 +02:00
Maartje Eyskens
58b462eef9 Fix nil in spec
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-10-08 15:24:56 +02:00
Maartje Eyskens
39de7f3b99 Fix IP type
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-10-08 15:24:56 +02:00
Maartje Eyskens
b3e25815a5 Add support for IPs in ACME
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-10-08 15:24:56 +02:00
Richard Wall
4c8d12badf Update storage version
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2020-08-20 14:28:06 +01:00
Maartje Eyskens
f2aad8b6ff run update all
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-08-14 20:06:48 +02:00
Maartje Eyskens
19cc376f79 support v1 conversion webhooks
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-08-14 20:04:19 +02:00
Maartje Eyskens
58151d2998 re-add v1
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-08-14 19:37:02 +02:00
Maartje Eyskens
82784ac070 Add apiextensions.k8s.io/v1 CRDs
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>

Run update

Signed-off-by: Maartje Eyskens <maartje@eyskens.me>

Add back helm things

Signed-off-by: Maartje Eyskens <maartje@eyskens.me>

Let bazel handle the both types

Signed-off-by: Maartje Eyskens <maartje@eyskens.me>

Add back additionalPrinterColumns

Signed-off-by: Maartje Eyskens <maartje@eyskens.me>

Add subresources: status: {}

Signed-off-by: Maartje Eyskens <maartje@eyskens.me>

re-add short names

Signed-off-by: Maartje Eyskens <maartje@eyskens.me>

Update conversion

Signed-off-by: Maartje Eyskens <maartje@eyskens.me>

fix deploy

Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-08-14 19:25:10 +02:00
Richard Wall
c31cb51246 Update CRDs
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2020-08-13 21:43:36 +01: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
James Munnelly
c963eb1a61 regenerate files
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-07-06 16:39:31 +01:00
James Munnelly
136f5ad64a Add TLS-SNI and TLS-ALPN challenge types
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-07-06 12:45:06 +01:00
James Munnelly
9c3ef45d9b update generated files
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-07-06 11:22:54 +01:00
James Munnelly
f8fc0f0db7 Regenerate files
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-07-06 10:25:33 +01:00
James Munnelly
15ac87ea8d update CRDs
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-07-02 12:02:47 +01:00
James Munnelly
565210f0df generated files
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-06-26 14:49:18 +01:00
James Munnelly
a818975c36 Update generated files
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-06-26 14:47:27 +01:00
James Munnelly
3e8649abc2 Handle ACME orders with already valid authorizations upon first fetch through new 'initialState' field
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-05-01 12:33:14 +01:00
James Munnelly
ff9a6b84a0 Address review feedback
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-04-07 10:15:05 +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