Skip to content

Commit

Permalink
make crds
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerHelmuth committed Nov 1, 2024
1 parent 4e61840 commit 9a22ba7
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{{- if .Values.crds.create }}
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
cert-manager.io/inject-ca-from: opentelemetry-operator-system/opentelemetry-operator-serving-cert
cert-manager.io/inject-ca-from: {{ include "opentelemetry-operator.webhookCertAnnotation" . }}
controller-gen.kubebuilder.io/version: v0.16.1
creationTimestamp: null
labels:
Expand All @@ -14,9 +15,11 @@ spec:
webhook:
clientConfig:
service:
name: opentelemetry-operator-webhook-service
namespace: opentelemetry-operator-system
name: {{ template "opentelemetry-operator.fullname" . }}-webhook
namespace: {{ .Release.Namespace }}
path: /convert
port: {{ .Values.admissionWebhooks.servicePort }}
{{ if .caBundle }}{{ cat "caBundle:" .caBundle | indent 8 }}{{ end }}
conversionReviewVersions:
- v1alpha1
- v1beta1
Expand Down Expand Up @@ -9234,3 +9237,4 @@ status:
plural: ""
conditions: null
storedVersions: null
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,19 @@ spec:
properties:
endpoint:
type: string
tls:
properties:
ca_file:
type: string
cert_file:
type: string
configMapName:
type: string
key_file:
type: string
secretName:
type: string
type: object
type: object
go:
properties:
Expand Down

0 comments on commit 9a22ba7

Please sign in to comment.