apiVersion: cert-manager.io/v1 kind: Certificate metadata: labels: app.kubernetes.io/name: opentelemetry-operator name: opentelemetry-operator-serving-cert namespace: obs-operator spec: dnsNames: - opentelemetry-operator-webhook-service.obs-operator.svc - opentelemetry-operator-webhook-service.obs-operator.svc.cluster.local issuerRef: kind: Issuer name: opentelemetry-operator-selfsigned-issuer secretName: opentelemetry-operator-controller-manager-service-cert subject: organizationalUnits: - opentelemetry-operator --- apiVersion: cert-manager.io/v1 kind: Issuer metadata: labels: app.kubernetes.io/name: opentelemetry-operator name: opentelemetry-operator-selfsigned-issuer namespace: middleware spec: selfSigned: {} --- apiVersion: admissionregistration.k8s.io/v1 kind: MutatingWebhookConfiguration metadata: annotations: cert-manager.io/inject-ca-from: obs-operator/opentelemetry-operator-serving-cert labels: app.kubernetes.io/name: opentelemetry-operator name: opentelemetry-operator-mutating-webhook-configuration webhooks: - admissionReviewVersions: - v1 clientConfig: service: name: opentelemetry-operator-webhook-service namespace: obs-operator path: /mutate-opentelemetry-io-v1beta1-opentelemetrycollector failurePolicy: Fail name: mopentelemetrycollectorbeta.kb.io rules: - apiGroups: - opentelemetry.io apiVersions: - v1beta1 operations: - CREATE - UPDATE resources: - opentelemetrycollectors sideEffects: None - admissionReviewVersions: - v1 clientConfig: service: name: opentelemetry-operator-webhook-service namespace: obs-operator path: /mutate-opentelemetry-io-v1alpha1-instrumentation failurePolicy: Fail name: minstrumentation.kb.io rules: - apiGroups: - opentelemetry.io apiVersions: - v1alpha1 operations: - CREATE - UPDATE resources: - instrumentations sideEffects: None - admissionReviewVersions: - v1 clientConfig: service: name: opentelemetry-operator-webhook-service namespace: obs-operator path: /mutate-opentelemetry-io-v1alpha1-opampbridge failurePolicy: Fail name: mopampbridge.kb.io rules: - apiGroups: - opentelemetry.io apiVersions: - v1alpha1 operations: - CREATE - UPDATE resources: - opampbridges sideEffects: None - admissionReviewVersions: - v1 clientConfig: service: name: opentelemetry-operator-webhook-service namespace: obs-operator path: /mutate-v1-pod failurePolicy: Ignore name: mpod.kb.io rules: - apiGroups: - "" apiVersions: - v1 operations: - CREATE resources: - pods sideEffects: None --- apiVersion: admissionregistration.k8s.io/v1 kind: ValidatingWebhookConfiguration metadata: annotations: cert-manager.io/inject-ca-from: obs-operator/opentelemetry-operator-serving-cert labels: app.kubernetes.io/name: opentelemetry-operator name: opentelemetry-operator-validating-webhook-configuration webhooks: - admissionReviewVersions: - v1 clientConfig: service: name: opentelemetry-operator-webhook-service namespace: obs-operator path: /validate-opentelemetry-io-v1beta1-opentelemetrycollector failurePolicy: Fail name: vopentelemetrycollectorcreateupdatebeta.kb.io rules: - apiGroups: - opentelemetry.io apiVersions: - v1beta1 operations: - CREATE - UPDATE resources: - opentelemetrycollectors sideEffects: None - admissionReviewVersions: - v1 clientConfig: service: name: opentelemetry-operator-webhook-service namespace: obs-operator path: /validate-opentelemetry-io-v1beta1-opentelemetrycollector failurePolicy: Ignore name: vopentelemetrycollectordeletebeta.kb.io rules: - apiGroups: - opentelemetry.io apiVersions: - v1beta1 operations: - DELETE resources: - opentelemetrycollectors sideEffects: None - admissionReviewVersions: - v1 clientConfig: service: name: opentelemetry-operator-webhook-service namespace: obs-operator path: /validate-opentelemetry-io-v1alpha1-instrumentation failurePolicy: Fail name: vinstrumentationcreateupdate.kb.io rules: - apiGroups: - opentelemetry.io apiVersions: - v1alpha1 operations: - CREATE - UPDATE resources: - instrumentations sideEffects: None - admissionReviewVersions: - v1 clientConfig: service: name: opentelemetry-operator-webhook-service namespace: obs-operator path: /validate-opentelemetry-io-v1alpha1-instrumentation failurePolicy: Ignore name: vinstrumentationdelete.kb.io rules: - apiGroups: - opentelemetry.io apiVersions: - v1alpha1 operations: - DELETE resources: - instrumentations sideEffects: None - admissionReviewVersions: - v1 clientConfig: service: name: opentelemetry-operator-webhook-service namespace: obs-operator path: /validate-opentelemetry-io-v1alpha1-opampbridge failurePolicy: Fail name: vopampbridgecreateupdate.kb.io rules: - apiGroups: - opentelemetry.io apiVersions: - v1alpha1 operations: - CREATE - UPDATE resources: - opampbridges sideEffects: None - admissionReviewVersions: - v1 clientConfig: service: name: opentelemetry-operator-webhook-service namespace: obs-operator path: /validate-opentelemetry-io-v1alpha1-opampbridge failurePolicy: Ignore name: vopampbridgedelete.kb.io rules: - apiGroups: - opentelemetry.io apiVersions: - v1alpha1 operations: - DELETE resources: - opampbridges sideEffects: None