18-upstreamcomponents.configmap.yaml 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462
  1. ##---
  2. # Source: olm/templates/18-upstreamcomponents.configmap.yaml
  3. kind: ConfigMap
  4. apiVersion: v1
  5. metadata:
  6. name: upstream-components
  7. namespace: operator-lifecycle-manager
  8. labels:
  9. tectonic-operators.coreos.com/managed-by: tectonic-x-operator
  10. data:
  11. customResourceDefinitions: |-
  12. - apiVersion: apiextensions.k8s.io/v1beta1
  13. kind: CustomResourceDefinition
  14. metadata:
  15. name: meterings.chargeback.coreos.com
  16. annotations:
  17. catalog.app.coreos.com/description: An instance of Chargeback
  18. catalog.app.coreos.com/displayName: Chargeback
  19. spec:
  20. group: chargeback.coreos.com
  21. version: v1alpha1
  22. scope: Namespaced
  23. names:
  24. plural: meterings
  25. singular: metering
  26. kind: Metering
  27. listKind: MeteringList
  28. - apiVersion: apiextensions.k8s.io/v1beta1
  29. kind: CustomResourceDefinition
  30. metadata:
  31. name: prestotables.chargeback.coreos.com
  32. annotations:
  33. catalog.app.coreos.com/displayName: "Chargeback Presto Table"
  34. catalog.app.coreos.com/description: "A table within PrestoDB"
  35. spec:
  36. group: chargeback.coreos.com
  37. version: v1alpha1
  38. scope: Namespaced
  39. names:
  40. plural: prestotables
  41. singular: prestotable
  42. kind: PrestoTable
  43. - apiVersion: apiextensions.k8s.io/v1beta1
  44. kind: CustomResourceDefinition
  45. metadata:
  46. name: reports.chargeback.coreos.com
  47. annotations:
  48. catalog.app.coreos.com/displayName: "Chargeback Report"
  49. catalog.app.coreos.com/description: "A chargeback report for a specific time interval"
  50. spec:
  51. group: chargeback.coreos.com
  52. version: v1alpha1
  53. scope: Namespaced
  54. names:
  55. plural: reports
  56. kind: Report
  57. - apiVersion: apiextensions.k8s.io/v1beta1
  58. kind: CustomResourceDefinition
  59. metadata:
  60. name: reportdatasources.chargeback.coreos.com
  61. annotations:
  62. catalog.app.coreos.com/displayName: "Chargeback data source"
  63. catalog.app.coreos.com/description: "A resource describing a source of data for usage by Report Generation Queries"
  64. spec:
  65. group: chargeback.coreos.com
  66. version: v1alpha1
  67. scope: Namespaced
  68. names:
  69. plural: reportdatasources
  70. singular: reportdatasource
  71. kind: ReportDataSource
  72. - apiVersion: apiextensions.k8s.io/v1beta1
  73. kind: CustomResourceDefinition
  74. metadata:
  75. name: reportgenerationqueries.chargeback.coreos.com
  76. annotations:
  77. catalog.app.coreos.com/displayName: "Chargeback generation query"
  78. catalog.app.coreos.com/description: "A SQL query used by Chargeback to generate reports"
  79. spec:
  80. group: chargeback.coreos.com
  81. version: v1alpha1
  82. scope: Namespaced
  83. names:
  84. plural: reportgenerationqueries
  85. singular: reportgenerationquery
  86. kind: ReportGenerationQuery
  87. - apiVersion: apiextensions.k8s.io/v1beta1
  88. kind: CustomResourceDefinition
  89. metadata:
  90. name: reportprometheusqueries.chargeback.coreos.com
  91. annotations:
  92. catalog.app.coreos.com/displayName: "Chargeback prometheus query"
  93. catalog.app.coreos.com/description: "A Prometheus query by Chargeback to do metering"
  94. spec:
  95. group: chargeback.coreos.com
  96. version: v1alpha1
  97. scope: Namespaced
  98. names:
  99. plural: reportprometheusqueries
  100. singular: reportprometheusquery
  101. kind: ReportPrometheusQuery
  102. - apiVersion: apiextensions.k8s.io/v1beta1
  103. kind: CustomResourceDefinition
  104. metadata:
  105. name: scheduledreports.chargeback.coreos.com
  106. annotations:
  107. catalog.app.coreos.com/displayName: "Chargeback Scheduled Report"
  108. catalog.app.coreos.com/description: "A chargeback report that runs on a scheduled interval"
  109. spec:
  110. group: chargeback.coreos.com
  111. version: v1alpha1
  112. scope: Namespaced
  113. names:
  114. plural: scheduledreports
  115. kind: ScheduledReport
  116. - apiVersion: apiextensions.k8s.io/v1beta1
  117. kind: CustomResourceDefinition
  118. metadata:
  119. name: storagelocations.chargeback.coreos.com
  120. annotations:
  121. catalog.app.coreos.com/displayName: "Chargeback storage location"
  122. catalog.app.coreos.com/description: "Represents a configurable storage location for Chargeback to store metering and report data"
  123. spec:
  124. group: chargeback.coreos.com
  125. version: v1alpha1
  126. scope: Namespaced
  127. names:
  128. plural: storagelocations
  129. kind: StorageLocation
  130. clusterServiceVersions: |-
  131. - #! validate-crd: ./deploy/chart/templates/03-clusterserviceversion.crd.yaml
  132. #! parse-kind: ClusterServiceVersion
  133. apiVersion: app.coreos.com/v1alpha1
  134. kind: ClusterServiceVersion-v1
  135. metadata:
  136. name: metering-helm-operator.v0.6.0
  137. namespace: placeholder
  138. annotations:
  139. tectonic-visibility: tectonic-feature
  140. labels:
  141. alm-catalog: tectonic-feature
  142. operator-metering: "true"
  143. spec:
  144. displayName: Metering
  145. description: Metering can generate reports based on historical usage data from a cluster, providing accountability for how resources have been used.
  146. keywords: [metering metrics reporting coreos]
  147. version: 0.6.0
  148. maturity: alpha
  149. maintainers:
  150. - email: support@coreos.com
  151. name: CoreOS, Inc
  152. provider:
  153. name: CoreOS, Inc
  154. labels:
  155. alm-owner-metering: metering-helm-operator
  156. alm-status-descriptors: metering-helm-operator.v0.6.0
  157. selector:
  158. matchLabels:
  159. alm-owner-metering: metering-helm-operator
  160. install:
  161. strategy: deployment
  162. spec:
  163. permissions:
  164. - rules:
  165. - apiGroups:
  166. - chargeback.coreos.com
  167. resources:
  168. - '*'
  169. verbs:
  170. - '*'
  171. - apiGroups:
  172. - ""
  173. resources:
  174. - pods
  175. - pods/attach
  176. - pods/exec
  177. - pods/portforward
  178. - pods/proxy
  179. verbs:
  180. - create
  181. - delete
  182. - deletecollection
  183. - get
  184. - list
  185. - patch
  186. - update
  187. - watch
  188. - apiGroups:
  189. - ""
  190. resources:
  191. - configmaps
  192. - endpoints
  193. - persistentvolumeclaims
  194. - replicationcontrollers
  195. - replicationcontrollers/scale
  196. - secrets
  197. - serviceaccounts
  198. - services
  199. - services/proxy
  200. verbs:
  201. - create
  202. - delete
  203. - deletecollection
  204. - get
  205. - list
  206. - patch
  207. - update
  208. - watch
  209. - apiGroups:
  210. - ""
  211. resources:
  212. - bindings
  213. - events
  214. - limitranges
  215. - namespaces/status
  216. - pods/log
  217. - pods/status
  218. - replicationcontrollers/status
  219. - resourcequotas
  220. - resourcequotas/status
  221. verbs:
  222. - get
  223. - list
  224. - watch
  225. - apiGroups:
  226. - ""
  227. resources:
  228. - events
  229. verbs:
  230. - create
  231. - update
  232. - patch
  233. - apiGroups:
  234. - ""
  235. resources:
  236. - namespaces
  237. verbs:
  238. - get
  239. - list
  240. - watch
  241. - apiGroups:
  242. - apps
  243. resources:
  244. - deployments
  245. - deployments/rollback
  246. - deployments/scale
  247. - statefulsets
  248. verbs:
  249. - create
  250. - delete
  251. - deletecollection
  252. - get
  253. - list
  254. - patch
  255. - update
  256. - watch
  257. - apiGroups:
  258. - batch
  259. resources:
  260. - cronjobs
  261. - jobs
  262. verbs:
  263. - create
  264. - delete
  265. - deletecollection
  266. - get
  267. - list
  268. - patch
  269. - update
  270. - watch
  271. - apiGroups:
  272. - extensions
  273. resources:
  274. - daemonsets
  275. - deployments
  276. - deployments/rollback
  277. - deployments/scale
  278. - replicasets
  279. - replicasets/scale
  280. - replicationcontrollers/scale
  281. verbs:
  282. - create
  283. - delete
  284. - deletecollection
  285. - get
  286. - list
  287. - patch
  288. - update
  289. - watch
  290. - apiGroups:
  291. - rbac.authorization.k8s.io
  292. resources:
  293. - rolebindings
  294. - roles
  295. verbs:
  296. - create
  297. - delete
  298. - deletecollection
  299. - get
  300. - list
  301. - patch
  302. - update
  303. - watch
  304. serviceAccountName: metering-helm-operator
  305. deployments:
  306. - name: metering-helm-operator
  307. spec:
  308. replicas: 1
  309. selector:
  310. matchLabels:
  311. app: metering-helm-operator
  312. strategy:
  313. type: Recreate
  314. template:
  315. metadata:
  316. labels:
  317. app: metering-helm-operator
  318. spec:
  319. containers:
  320. - args:
  321. - run-operator.sh
  322. env:
  323. - name: HELM_RELEASE_CRD_NAME
  324. value: Metering
  325. - name: HELM_RELEASE_CRD_API_GROUP
  326. value: chargeback.coreos.com
  327. - name: HELM_CHART_PATH
  328. value: /operator-metering-0.1.0.tgz
  329. - name: MY_POD_NAME
  330. valueFrom:
  331. fieldRef:
  332. fieldPath: metadata.name
  333. - name: MY_POD_NAMESPACE
  334. valueFrom:
  335. fieldRef:
  336. fieldPath: metadata.namespace
  337. - name: HELM_HOST
  338. value: 127.0.0.1:44134
  339. - name: HELM_WAIT
  340. value: "false"
  341. - name: HELM_RECONCILE_INTERVAL_SECONDS
  342. value: "30"
  343. - name: RELEASE_HISTORY_LIMIT
  344. value: "3"
  345. image: quay.io/coreos/chargeback-helm-operator:0.6.0
  346. imagePullPolicy: Always
  347. name: metering-helm-operator
  348. resources:
  349. limits:
  350. cpu: 50m
  351. memory: 25Mi
  352. requests:
  353. cpu: 50m
  354. memory: 25Mi
  355. - args:
  356. - /tiller
  357. env:
  358. - name: TILLER_NAMESPACE
  359. valueFrom:
  360. fieldRef:
  361. fieldPath: metadata.namespace
  362. - name: TILLER_HISTORY_MAX
  363. value: "3"
  364. image: quay.io/coreos/chargeback-helm-operator:0.6.0
  365. imagePullPolicy: Always
  366. livenessProbe:
  367. failureThreshold: 3
  368. httpGet:
  369. path: /liveness
  370. port: 44135
  371. scheme: HTTP
  372. initialDelaySeconds: 1
  373. periodSeconds: 10
  374. successThreshold: 1
  375. timeoutSeconds: 1
  376. name: tiller
  377. readinessProbe:
  378. failureThreshold: 3
  379. httpGet:
  380. path: /readiness
  381. port: 44135
  382. scheme: HTTP
  383. initialDelaySeconds: 1
  384. periodSeconds: 10
  385. successThreshold: 1
  386. timeoutSeconds: 1
  387. resources:
  388. limits:
  389. cpu: 50m
  390. memory: 100Mi
  391. requests:
  392. cpu: 50m
  393. memory: 50Mi
  394. imagePullSecrets: []
  395. restartPolicy: Always
  396. securityContext:
  397. runAsNonRoot: true
  398. serviceAccount: metering-helm-operator
  399. terminationGracePeriodSeconds: 30
  400. customresourcedefinitions:
  401. owned:
  402. - description: An instance of Metering
  403. displayName: Metering
  404. kind: Metering
  405. name: meterings.chargeback.coreos.com
  406. version: v1alpha1
  407. - description: A table within PrestoDB
  408. displayName: Chargeback Presto Table
  409. kind: PrestoTable
  410. name: prestotables.chargeback.coreos.com
  411. version: v1alpha1
  412. - description: A resource describing a source of data for usage by Report Generation
  413. Queries
  414. displayName: Chargeback data source
  415. kind: ReportDataSource
  416. name: reportdatasources.chargeback.coreos.com
  417. version: v1alpha1
  418. - description: A SQL query used by Chargeback to generate reports
  419. displayName: Chargeback generation query
  420. kind: ReportGenerationQuery
  421. name: reportgenerationqueries.chargeback.coreos.com
  422. version: v1alpha1
  423. - description: A Prometheus query by Chargeback to do metering
  424. displayName: Chargeback prometheus query
  425. kind: ReportPrometheusQuery
  426. name: reportprometheusqueries.chargeback.coreos.com
  427. version: v1alpha1
  428. - description: A chargeback report for a specific time interval
  429. displayName: Chargeback Report
  430. kind: Report
  431. name: reports.chargeback.coreos.com
  432. version: v1alpha1
  433. - description: A chargeback report that runs on a scheduled interval
  434. displayName: Chargeback Scheduled Report
  435. kind: ScheduledReport
  436. name: scheduledreports.chargeback.coreos.com
  437. version: v1alpha1
  438. - description: Represents a configurable storage location for Chargeback to store
  439. metering and report data
  440. displayName: Chargeback storage location
  441. kind: StorageLocation
  442. name: storagelocations.chargeback.coreos.com
  443. version: v1alpha1
  444. packages: |-
  445. - #! package-manifest: ./deploy/chart/catalog_resources/upstream/metering.0.6.0.clusterserviceversion.yaml
  446. packageName: metering
  447. channels:
  448. - currentCSV: metering-helm-operator.v0.6.0
  449. name: alpha