Skip to content

Commit

Permalink
Merge pull request cert-manager#3989 from maelvls/fix-crd-generation
Browse files Browse the repository at this point in the history
Controller-gen can now update CRDs like before
  • Loading branch information
jetstack-bot authored May 12, 2021
2 parents 2aa625e + 39c9c66 commit 3bb830c
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 30 deletions.
10 changes: 5 additions & 5 deletions deploy/crds/crd-certificaterequests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ spec:
webhook:
conversionReviewVersions: ["v1", "v1beta1"]
clientConfig:
{{- if .Values.webhook.url.host }}
# {{- if .Values.webhook.url.host }}
url: https://{{ .Values.webhook.url.host }}/convert
{{- else }}
# {{- else }}
service:
name: {{ template "webhook.fullname" . }}
namespace: {{ .Release.Namespace | quote }}
name: '{{ template "webhook.fullname" . }}'
namespace: "{{ .Release.Namespace }}"
path: /convert
{{- end }}
# {{- end }}
versions:
- name: v1alpha2
subresources:
Expand Down
10 changes: 5 additions & 5 deletions deploy/crds/crd-certificates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ spec:
webhook:
conversionReviewVersions: ["v1", "v1beta1"]
clientConfig:
{{- if .Values.webhook.url.host }}
# {{- if .Values.webhook.url.host }}
url: https://{{ .Values.webhook.url.host }}/convert
{{- else }}
# {{- else }}
service:
name: {{ template "webhook.fullname" . }}
namespace: {{ .Release.Namespace | quote }}
name: '{{ template "webhook.fullname" . }}'
namespace: "{{ .Release.Namespace }}"
path: /convert
{{- end }}
# {{- end }}
versions:
- name: v1alpha2
subresources:
Expand Down
10 changes: 5 additions & 5 deletions deploy/crds/crd-challenges.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ spec:
webhook:
conversionReviewVersions: ["v1", "v1beta1"]
clientConfig:
{{- if .Values.webhook.url.host }}
# {{- if .Values.webhook.url.host }}
url: https://{{ .Values.webhook.url.host }}/convert
{{- else }}
# {{- else }}
service:
name: {{ template "webhook.fullname" . }}
namespace: {{ .Release.Namespace | quote }}
name: '{{ template "webhook.fullname" . }}'
namespace: "{{ .Release.Namespace }}"
path: /convert
{{- end }}
# {{- end }}
versions:
- additionalPrinterColumns:
- jsonPath: .status.state
Expand Down
10 changes: 5 additions & 5 deletions deploy/crds/crd-clusterissuers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ spec:
webhook:
conversionReviewVersions: ["v1", "v1beta1"]
clientConfig:
{{- if .Values.webhook.url.host }}
# {{- if .Values.webhook.url.host }}
url: https://{{ .Values.webhook.url.host }}/convert
{{- else }}
# {{- else }}
service:
name: {{ template "webhook.fullname" . }}
namespace: {{ .Release.Namespace | quote }}
name: '{{ template "webhook.fullname" . }}'
namespace: "{{ .Release.Namespace }}"
path: /convert
{{- end }}
# {{- end }}
versions:
- name: v1alpha2
subresources:
Expand Down
10 changes: 5 additions & 5 deletions deploy/crds/crd-issuers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ spec:
webhook:
conversionReviewVersions: ["v1", "v1beta1"]
clientConfig:
{{- if .Values.webhook.url.host }}
# {{- if .Values.webhook.url.host }}
url: https://{{ .Values.webhook.url.host }}/convert
{{- else }}
# {{- else }}
service:
name: {{ template "webhook.fullname" . }}
namespace: {{ .Release.Namespace | quote }}
name: '{{ template "webhook.fullname" . }}'
namespace: "{{ .Release.Namespace }}"
path: /convert
{{- end }}
# {{- end }}
versions:
- name: v1alpha2
subresources:
Expand Down
10 changes: 5 additions & 5 deletions deploy/crds/crd-orders.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ spec:
webhook:
conversionReviewVersions: ["v1", "v1beta1"]
clientConfig:
{{- if .Values.webhook.url.host }}
# {{- if .Values.webhook.url.host }}
url: https://{{ .Values.webhook.url.host }}/convert
{{- else }}
# {{- else }}
service:
name: {{ template "webhook.fullname" . }}
namespace: {{ .Release.Namespace | quote }}
name: '{{ template "webhook.fullname" . }}'
namespace: "{{ .Release.Namespace }}"
path: /convert
{{- end }}
# {{- end }}
versions:
- name: v1alpha2
subresources:
Expand Down

0 comments on commit 3bb830c

Please sign in to comment.