123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462 |
- ##---
- # Source: olm/templates/18-upstreamcomponents.configmap.yaml
- kind: ConfigMap
- apiVersion: v1
- metadata:
- name: upstream-components
- namespace: operator-lifecycle-manager
- labels:
- tectonic-operators.coreos.com/managed-by: tectonic-x-operator
- data:
- customResourceDefinitions: |-
- - apiVersion: apiextensions.k8s.io/v1beta1
- kind: CustomResourceDefinition
- metadata:
- name: meterings.chargeback.coreos.com
- annotations:
- catalog.app.coreos.com/description: An instance of Chargeback
- catalog.app.coreos.com/displayName: Chargeback
- spec:
- group: chargeback.coreos.com
- version: v1alpha1
- scope: Namespaced
- names:
- plural: meterings
- singular: metering
- kind: Metering
- listKind: MeteringList
-
- - apiVersion: apiextensions.k8s.io/v1beta1
- kind: CustomResourceDefinition
- metadata:
- name: prestotables.chargeback.coreos.com
- annotations:
- catalog.app.coreos.com/displayName: "Chargeback Presto Table"
- catalog.app.coreos.com/description: "A table within PrestoDB"
- spec:
- group: chargeback.coreos.com
- version: v1alpha1
- scope: Namespaced
- names:
- plural: prestotables
- singular: prestotable
- kind: PrestoTable
-
- - apiVersion: apiextensions.k8s.io/v1beta1
- kind: CustomResourceDefinition
- metadata:
- name: reports.chargeback.coreos.com
- annotations:
- catalog.app.coreos.com/displayName: "Chargeback Report"
- catalog.app.coreos.com/description: "A chargeback report for a specific time interval"
- spec:
- group: chargeback.coreos.com
- version: v1alpha1
- scope: Namespaced
- names:
- plural: reports
- kind: Report
-
- - apiVersion: apiextensions.k8s.io/v1beta1
- kind: CustomResourceDefinition
- metadata:
- name: reportdatasources.chargeback.coreos.com
- annotations:
- catalog.app.coreos.com/displayName: "Chargeback data source"
- catalog.app.coreos.com/description: "A resource describing a source of data for usage by Report Generation Queries"
- spec:
- group: chargeback.coreos.com
- version: v1alpha1
- scope: Namespaced
- names:
- plural: reportdatasources
- singular: reportdatasource
- kind: ReportDataSource
-
- - apiVersion: apiextensions.k8s.io/v1beta1
- kind: CustomResourceDefinition
- metadata:
- name: reportgenerationqueries.chargeback.coreos.com
- annotations:
- catalog.app.coreos.com/displayName: "Chargeback generation query"
- catalog.app.coreos.com/description: "A SQL query used by Chargeback to generate reports"
- spec:
- group: chargeback.coreos.com
- version: v1alpha1
- scope: Namespaced
- names:
- plural: reportgenerationqueries
- singular: reportgenerationquery
- kind: ReportGenerationQuery
-
- - apiVersion: apiextensions.k8s.io/v1beta1
- kind: CustomResourceDefinition
- metadata:
- name: reportprometheusqueries.chargeback.coreos.com
- annotations:
- catalog.app.coreos.com/displayName: "Chargeback prometheus query"
- catalog.app.coreos.com/description: "A Prometheus query by Chargeback to do metering"
- spec:
- group: chargeback.coreos.com
- version: v1alpha1
- scope: Namespaced
- names:
- plural: reportprometheusqueries
- singular: reportprometheusquery
- kind: ReportPrometheusQuery
-
- - apiVersion: apiextensions.k8s.io/v1beta1
- kind: CustomResourceDefinition
- metadata:
- name: scheduledreports.chargeback.coreos.com
- annotations:
- catalog.app.coreos.com/displayName: "Chargeback Scheduled Report"
- catalog.app.coreos.com/description: "A chargeback report that runs on a scheduled interval"
- spec:
- group: chargeback.coreos.com
- version: v1alpha1
- scope: Namespaced
- names:
- plural: scheduledreports
- kind: ScheduledReport
-
- - apiVersion: apiextensions.k8s.io/v1beta1
- kind: CustomResourceDefinition
- metadata:
- name: storagelocations.chargeback.coreos.com
- annotations:
- catalog.app.coreos.com/displayName: "Chargeback storage location"
- catalog.app.coreos.com/description: "Represents a configurable storage location for Chargeback to store metering and report data"
- spec:
- group: chargeback.coreos.com
- version: v1alpha1
- scope: Namespaced
- names:
- plural: storagelocations
- kind: StorageLocation
-
- clusterServiceVersions: |-
- - #! validate-crd: ./deploy/chart/templates/03-clusterserviceversion.crd.yaml
- #! parse-kind: ClusterServiceVersion
- apiVersion: app.coreos.com/v1alpha1
- kind: ClusterServiceVersion-v1
- metadata:
- name: metering-helm-operator.v0.6.0
- namespace: placeholder
- annotations:
- tectonic-visibility: tectonic-feature
- labels:
- alm-catalog: tectonic-feature
- operator-metering: "true"
- spec:
- displayName: Metering
- description: Metering can generate reports based on historical usage data from a cluster, providing accountability for how resources have been used.
- keywords: [metering metrics reporting coreos]
- version: 0.6.0
- maturity: alpha
- maintainers:
- - email: support@coreos.com
- name: CoreOS, Inc
- provider:
- name: CoreOS, Inc
- labels:
- alm-owner-metering: metering-helm-operator
- alm-status-descriptors: metering-helm-operator.v0.6.0
- selector:
- matchLabels:
- alm-owner-metering: metering-helm-operator
- install:
- strategy: deployment
- spec:
- permissions:
- - rules:
- - apiGroups:
- - chargeback.coreos.com
- resources:
- - '*'
- verbs:
- - '*'
- - apiGroups:
- - ""
- resources:
- - pods
- - pods/attach
- - pods/exec
- - pods/portforward
- - pods/proxy
- verbs:
- - create
- - delete
- - deletecollection
- - get
- - list
- - patch
- - update
- - watch
- - apiGroups:
- - ""
- resources:
- - configmaps
- - endpoints
- - persistentvolumeclaims
- - replicationcontrollers
- - replicationcontrollers/scale
- - secrets
- - serviceaccounts
- - services
- - services/proxy
- verbs:
- - create
- - delete
- - deletecollection
- - get
- - list
- - patch
- - update
- - watch
- - apiGroups:
- - ""
- resources:
- - bindings
- - events
- - limitranges
- - namespaces/status
- - pods/log
- - pods/status
- - replicationcontrollers/status
- - resourcequotas
- - resourcequotas/status
- verbs:
- - get
- - list
- - watch
- - apiGroups:
- - ""
- resources:
- - events
- verbs:
- - create
- - update
- - patch
- - apiGroups:
- - ""
- resources:
- - namespaces
- verbs:
- - get
- - list
- - watch
- - apiGroups:
- - apps
- resources:
- - deployments
- - deployments/rollback
- - deployments/scale
- - statefulsets
- verbs:
- - create
- - delete
- - deletecollection
- - get
- - list
- - patch
- - update
- - watch
- - apiGroups:
- - batch
- resources:
- - cronjobs
- - jobs
- verbs:
- - create
- - delete
- - deletecollection
- - get
- - list
- - patch
- - update
- - watch
- - apiGroups:
- - extensions
- resources:
- - daemonsets
- - deployments
- - deployments/rollback
- - deployments/scale
- - replicasets
- - replicasets/scale
- - replicationcontrollers/scale
- verbs:
- - create
- - delete
- - deletecollection
- - get
- - list
- - patch
- - update
- - watch
- - apiGroups:
- - rbac.authorization.k8s.io
- resources:
- - rolebindings
- - roles
- verbs:
- - create
- - delete
- - deletecollection
- - get
- - list
- - patch
- - update
- - watch
- serviceAccountName: metering-helm-operator
- deployments:
- - name: metering-helm-operator
- spec:
- replicas: 1
- selector:
- matchLabels:
- app: metering-helm-operator
- strategy:
- type: Recreate
- template:
- metadata:
- labels:
- app: metering-helm-operator
- spec:
- containers:
- - args:
- - run-operator.sh
- env:
- - name: HELM_RELEASE_CRD_NAME
- value: Metering
- - name: HELM_RELEASE_CRD_API_GROUP
- value: chargeback.coreos.com
- - name: HELM_CHART_PATH
- value: /operator-metering-0.1.0.tgz
- - name: MY_POD_NAME
- valueFrom:
- fieldRef:
- fieldPath: metadata.name
- - name: MY_POD_NAMESPACE
- valueFrom:
- fieldRef:
- fieldPath: metadata.namespace
- - name: HELM_HOST
- value: 127.0.0.1:44134
- - name: HELM_WAIT
- value: "false"
- - name: HELM_RECONCILE_INTERVAL_SECONDS
- value: "30"
- - name: RELEASE_HISTORY_LIMIT
- value: "3"
- image: quay.io/coreos/chargeback-helm-operator:0.6.0
- imagePullPolicy: Always
- name: metering-helm-operator
- resources:
- limits:
- cpu: 50m
- memory: 25Mi
- requests:
- cpu: 50m
- memory: 25Mi
- - args:
- - /tiller
- env:
- - name: TILLER_NAMESPACE
- valueFrom:
- fieldRef:
- fieldPath: metadata.namespace
- - name: TILLER_HISTORY_MAX
- value: "3"
- image: quay.io/coreos/chargeback-helm-operator:0.6.0
- imagePullPolicy: Always
- livenessProbe:
- failureThreshold: 3
- httpGet:
- path: /liveness
- port: 44135
- scheme: HTTP
- initialDelaySeconds: 1
- periodSeconds: 10
- successThreshold: 1
- timeoutSeconds: 1
- name: tiller
- readinessProbe:
- failureThreshold: 3
- httpGet:
- path: /readiness
- port: 44135
- scheme: HTTP
- initialDelaySeconds: 1
- periodSeconds: 10
- successThreshold: 1
- timeoutSeconds: 1
- resources:
- limits:
- cpu: 50m
- memory: 100Mi
- requests:
- cpu: 50m
- memory: 50Mi
- imagePullSecrets: []
- restartPolicy: Always
- securityContext:
- runAsNonRoot: true
- serviceAccount: metering-helm-operator
- terminationGracePeriodSeconds: 30
- customresourcedefinitions:
- owned:
- - description: An instance of Metering
- displayName: Metering
- kind: Metering
- name: meterings.chargeback.coreos.com
- version: v1alpha1
- - description: A table within PrestoDB
- displayName: Chargeback Presto Table
- kind: PrestoTable
- name: prestotables.chargeback.coreos.com
- version: v1alpha1
- - description: A resource describing a source of data for usage by Report Generation
- Queries
- displayName: Chargeback data source
- kind: ReportDataSource
- name: reportdatasources.chargeback.coreos.com
- version: v1alpha1
- - description: A SQL query used by Chargeback to generate reports
- displayName: Chargeback generation query
- kind: ReportGenerationQuery
- name: reportgenerationqueries.chargeback.coreos.com
- version: v1alpha1
- - description: A Prometheus query by Chargeback to do metering
- displayName: Chargeback prometheus query
- kind: ReportPrometheusQuery
- name: reportprometheusqueries.chargeback.coreos.com
- version: v1alpha1
- - description: A chargeback report for a specific time interval
- displayName: Chargeback Report
- kind: Report
- name: reports.chargeback.coreos.com
- version: v1alpha1
- - description: A chargeback report that runs on a scheduled interval
- displayName: Chargeback Scheduled Report
- kind: ScheduledReport
- name: scheduledreports.chargeback.coreos.com
- version: v1alpha1
- - description: Represents a configurable storage location for Chargeback to store
- metering and report data
- displayName: Chargeback storage location
- kind: StorageLocation
- name: storagelocations.chargeback.coreos.com
- version: v1alpha1
-
- packages: |-
- - #! package-manifest: ./deploy/chart/catalog_resources/upstream/metering.0.6.0.clusterserviceversion.yaml
- packageName: metering
- channels:
- - currentCSV: metering-helm-operator.v0.6.0
- name: alpha
-
|