opentelemetry-operator_cert.yaml 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244
  1. apiVersion: cert-manager.io/v1
  2. kind: Certificate
  3. metadata:
  4. labels:
  5. app.kubernetes.io/name: opentelemetry-operator
  6. name: opentelemetry-operator-serving-cert
  7. namespace: obs-operator
  8. spec:
  9. dnsNames:
  10. - opentelemetry-operator-webhook-service.obs-operator.svc
  11. - opentelemetry-operator-webhook-service.obs-operator.svc.cluster.local
  12. issuerRef:
  13. kind: Issuer
  14. name: opentelemetry-operator-selfsigned-issuer
  15. secretName: opentelemetry-operator-controller-manager-service-cert
  16. subject:
  17. organizationalUnits:
  18. - opentelemetry-operator
  19. ---
  20. apiVersion: cert-manager.io/v1
  21. kind: Issuer
  22. metadata:
  23. labels:
  24. app.kubernetes.io/name: opentelemetry-operator
  25. name: opentelemetry-operator-selfsigned-issuer
  26. namespace: middleware
  27. spec:
  28. selfSigned: {}
  29. ---
  30. apiVersion: admissionregistration.k8s.io/v1
  31. kind: MutatingWebhookConfiguration
  32. metadata:
  33. annotations:
  34. cert-manager.io/inject-ca-from: obs-operator/opentelemetry-operator-serving-cert
  35. labels:
  36. app.kubernetes.io/name: opentelemetry-operator
  37. name: opentelemetry-operator-mutating-webhook-configuration
  38. webhooks:
  39. - admissionReviewVersions:
  40. - v1
  41. clientConfig:
  42. service:
  43. name: opentelemetry-operator-webhook-service
  44. namespace: obs-operator
  45. path: /mutate-opentelemetry-io-v1beta1-opentelemetrycollector
  46. failurePolicy: Fail
  47. name: mopentelemetrycollectorbeta.kb.io
  48. rules:
  49. - apiGroups:
  50. - opentelemetry.io
  51. apiVersions:
  52. - v1beta1
  53. operations:
  54. - CREATE
  55. - UPDATE
  56. resources:
  57. - opentelemetrycollectors
  58. sideEffects: None
  59. - admissionReviewVersions:
  60. - v1
  61. clientConfig:
  62. service:
  63. name: opentelemetry-operator-webhook-service
  64. namespace: obs-operator
  65. path: /mutate-opentelemetry-io-v1alpha1-instrumentation
  66. failurePolicy: Fail
  67. name: minstrumentation.kb.io
  68. rules:
  69. - apiGroups:
  70. - opentelemetry.io
  71. apiVersions:
  72. - v1alpha1
  73. operations:
  74. - CREATE
  75. - UPDATE
  76. resources:
  77. - instrumentations
  78. sideEffects: None
  79. - admissionReviewVersions:
  80. - v1
  81. clientConfig:
  82. service:
  83. name: opentelemetry-operator-webhook-service
  84. namespace: obs-operator
  85. path: /mutate-opentelemetry-io-v1alpha1-opampbridge
  86. failurePolicy: Fail
  87. name: mopampbridge.kb.io
  88. rules:
  89. - apiGroups:
  90. - opentelemetry.io
  91. apiVersions:
  92. - v1alpha1
  93. operations:
  94. - CREATE
  95. - UPDATE
  96. resources:
  97. - opampbridges
  98. sideEffects: None
  99. - admissionReviewVersions:
  100. - v1
  101. clientConfig:
  102. service:
  103. name: opentelemetry-operator-webhook-service
  104. namespace: obs-operator
  105. path: /mutate-v1-pod
  106. failurePolicy: Ignore
  107. name: mpod.kb.io
  108. rules:
  109. - apiGroups:
  110. - ""
  111. apiVersions:
  112. - v1
  113. operations:
  114. - CREATE
  115. resources:
  116. - pods
  117. sideEffects: None
  118. ---
  119. apiVersion: admissionregistration.k8s.io/v1
  120. kind: ValidatingWebhookConfiguration
  121. metadata:
  122. annotations:
  123. cert-manager.io/inject-ca-from: obs-operator/opentelemetry-operator-serving-cert
  124. labels:
  125. app.kubernetes.io/name: opentelemetry-operator
  126. name: opentelemetry-operator-validating-webhook-configuration
  127. webhooks:
  128. - admissionReviewVersions:
  129. - v1
  130. clientConfig:
  131. service:
  132. name: opentelemetry-operator-webhook-service
  133. namespace: obs-operator
  134. path: /validate-opentelemetry-io-v1beta1-opentelemetrycollector
  135. failurePolicy: Fail
  136. name: vopentelemetrycollectorcreateupdatebeta.kb.io
  137. rules:
  138. - apiGroups:
  139. - opentelemetry.io
  140. apiVersions:
  141. - v1beta1
  142. operations:
  143. - CREATE
  144. - UPDATE
  145. resources:
  146. - opentelemetrycollectors
  147. sideEffects: None
  148. - admissionReviewVersions:
  149. - v1
  150. clientConfig:
  151. service:
  152. name: opentelemetry-operator-webhook-service
  153. namespace: obs-operator
  154. path: /validate-opentelemetry-io-v1beta1-opentelemetrycollector
  155. failurePolicy: Ignore
  156. name: vopentelemetrycollectordeletebeta.kb.io
  157. rules:
  158. - apiGroups:
  159. - opentelemetry.io
  160. apiVersions:
  161. - v1beta1
  162. operations:
  163. - DELETE
  164. resources:
  165. - opentelemetrycollectors
  166. sideEffects: None
  167. - admissionReviewVersions:
  168. - v1
  169. clientConfig:
  170. service:
  171. name: opentelemetry-operator-webhook-service
  172. namespace: obs-operator
  173. path: /validate-opentelemetry-io-v1alpha1-instrumentation
  174. failurePolicy: Fail
  175. name: vinstrumentationcreateupdate.kb.io
  176. rules:
  177. - apiGroups:
  178. - opentelemetry.io
  179. apiVersions:
  180. - v1alpha1
  181. operations:
  182. - CREATE
  183. - UPDATE
  184. resources:
  185. - instrumentations
  186. sideEffects: None
  187. - admissionReviewVersions:
  188. - v1
  189. clientConfig:
  190. service:
  191. name: opentelemetry-operator-webhook-service
  192. namespace: obs-operator
  193. path: /validate-opentelemetry-io-v1alpha1-instrumentation
  194. failurePolicy: Ignore
  195. name: vinstrumentationdelete.kb.io
  196. rules:
  197. - apiGroups:
  198. - opentelemetry.io
  199. apiVersions:
  200. - v1alpha1
  201. operations:
  202. - DELETE
  203. resources:
  204. - instrumentations
  205. sideEffects: None
  206. - admissionReviewVersions:
  207. - v1
  208. clientConfig:
  209. service:
  210. name: opentelemetry-operator-webhook-service
  211. namespace: obs-operator
  212. path: /validate-opentelemetry-io-v1alpha1-opampbridge
  213. failurePolicy: Fail
  214. name: vopampbridgecreateupdate.kb.io
  215. rules:
  216. - apiGroups:
  217. - opentelemetry.io
  218. apiVersions:
  219. - v1alpha1
  220. operations:
  221. - CREATE
  222. - UPDATE
  223. resources:
  224. - opampbridges
  225. sideEffects: None
  226. - admissionReviewVersions:
  227. - v1
  228. clientConfig:
  229. service:
  230. name: opentelemetry-operator-webhook-service
  231. namespace: obs-operator
  232. path: /validate-opentelemetry-io-v1alpha1-opampbridge
  233. failurePolicy: Ignore
  234. name: vopampbridgedelete.kb.io
  235. rules:
  236. - apiGroups:
  237. - opentelemetry.io
  238. apiVersions:
  239. - v1alpha1
  240. operations:
  241. - DELETE
  242. resources:
  243. - opampbridges
  244. sideEffects: None