|
| 1 | +#! validate-crd: deploy/chart/templates/0000_30_02-clusterserviceversion.crd.yaml |
| 2 | +#! parse-kind: ClusterServiceVersion |
| 3 | +apiVersion: operators.coreos.com/v1alpha1 |
| 4 | +kind: ClusterServiceVersion |
| 5 | +metadata: |
| 6 | + name: metering-operator.v0.13.0 |
| 7 | + annotations: |
| 8 | + tectonic-visibility: openshift-feature |
| 9 | + namespace: placeholder |
| 10 | + labels: |
| 11 | + alm-catalog: openshift-feature |
| 12 | + operator-metering: "true" |
| 13 | +spec: |
| 14 | + displayName: Metering |
| 15 | + description: Metering can generate reports based on historical usage data from a cluster, providing accountability for how resources have been used. |
| 16 | + keywords: [metering metrics reporting] |
| 17 | + version: 0.13.0 |
| 18 | + maturity: alpha |
| 19 | + maintainers: |
| 20 | + - email: sd-operator-metering@redhat.com |
| 21 | + name: Red Hat |
| 22 | + provider: |
| 23 | + name: Red Hat |
| 24 | + labels: |
| 25 | + alm-owner-metering: metering-operator |
| 26 | + alm-status-descriptors: metering-operator.v0.13.0 |
| 27 | + selector: |
| 28 | + matchLabels: |
| 29 | + alm-owner-metering: metering-operator |
| 30 | + installModes: |
| 31 | + - supported: true |
| 32 | + type: OwnNamespace |
| 33 | + - supported: true |
| 34 | + type: SingleNamespace |
| 35 | + - supported: false |
| 36 | + type: MultiNamespace |
| 37 | + - supported: false |
| 38 | + type: AllNamespaces |
| 39 | + install: |
| 40 | + strategy: deployment |
| 41 | + spec: |
| 42 | + clusterPermissions: |
| 43 | + - rules: |
| 44 | + - apiGroups: |
| 45 | + - "" |
| 46 | + resources: |
| 47 | + - namespaces |
| 48 | + verbs: |
| 49 | + - get |
| 50 | + - apiGroups: |
| 51 | + - authorization.k8s.io |
| 52 | + resources: |
| 53 | + - subjectaccessreviews |
| 54 | + verbs: |
| 55 | + - create |
| 56 | + - apiGroups: |
| 57 | + - authentication.k8s.io |
| 58 | + resources: |
| 59 | + - tokenreviews |
| 60 | + verbs: |
| 61 | + - create |
| 62 | + - apiGroups: |
| 63 | + - rbac.authorization.k8s.io |
| 64 | + resources: |
| 65 | + - clusterrolebindings |
| 66 | + - clusterroles |
| 67 | + verbs: |
| 68 | + - create |
| 69 | + - delete |
| 70 | + - deletecollection |
| 71 | + - get |
| 72 | + - list |
| 73 | + - patch |
| 74 | + - update |
| 75 | + - watch |
| 76 | + serviceAccountName: metering-operator |
| 77 | + permissions: |
| 78 | + - rules: |
| 79 | + - apiGroups: |
| 80 | + - metering.openshift.io |
| 81 | + resources: |
| 82 | + - '*' |
| 83 | + verbs: |
| 84 | + - '*' |
| 85 | + - apiGroups: |
| 86 | + - monitoring.coreos.com |
| 87 | + resources: |
| 88 | + - '*' |
| 89 | + verbs: |
| 90 | + - '*' |
| 91 | + - apiGroups: |
| 92 | + - "" |
| 93 | + resources: |
| 94 | + - pods |
| 95 | + - pods/attach |
| 96 | + - pods/exec |
| 97 | + - pods/portforward |
| 98 | + - pods/proxy |
| 99 | + verbs: |
| 100 | + - create |
| 101 | + - delete |
| 102 | + - deletecollection |
| 103 | + - get |
| 104 | + - list |
| 105 | + - patch |
| 106 | + - update |
| 107 | + - watch |
| 108 | + - apiGroups: |
| 109 | + - "" |
| 110 | + resources: |
| 111 | + - configmaps |
| 112 | + - endpoints |
| 113 | + - persistentvolumeclaims |
| 114 | + - replicationcontrollers |
| 115 | + - replicationcontrollers/scale |
| 116 | + - secrets |
| 117 | + - serviceaccounts |
| 118 | + - services |
| 119 | + - services/proxy |
| 120 | + verbs: |
| 121 | + - create |
| 122 | + - delete |
| 123 | + - deletecollection |
| 124 | + - get |
| 125 | + - list |
| 126 | + - patch |
| 127 | + - update |
| 128 | + - watch |
| 129 | + - apiGroups: |
| 130 | + - "" |
| 131 | + resources: |
| 132 | + - bindings |
| 133 | + - events |
| 134 | + - limitranges |
| 135 | + - namespaces/status |
| 136 | + - pods/log |
| 137 | + - pods/status |
| 138 | + - replicationcontrollers/status |
| 139 | + - resourcequotas |
| 140 | + - resourcequotas/status |
| 141 | + verbs: |
| 142 | + - get |
| 143 | + - list |
| 144 | + - watch |
| 145 | + - apiGroups: |
| 146 | + - "" |
| 147 | + resources: |
| 148 | + - events |
| 149 | + verbs: |
| 150 | + - create |
| 151 | + - update |
| 152 | + - patch |
| 153 | + - apiGroups: |
| 154 | + - "" |
| 155 | + resources: |
| 156 | + - namespaces |
| 157 | + verbs: |
| 158 | + - get |
| 159 | + - list |
| 160 | + - watch |
| 161 | + - apiGroups: |
| 162 | + - apps |
| 163 | + resources: |
| 164 | + - deployments |
| 165 | + - deployments/rollback |
| 166 | + - deployments/scale |
| 167 | + - statefulsets |
| 168 | + verbs: |
| 169 | + - create |
| 170 | + - delete |
| 171 | + - deletecollection |
| 172 | + - get |
| 173 | + - list |
| 174 | + - patch |
| 175 | + - update |
| 176 | + - watch |
| 177 | + - apiGroups: |
| 178 | + - batch |
| 179 | + resources: |
| 180 | + - cronjobs |
| 181 | + - jobs |
| 182 | + verbs: |
| 183 | + - create |
| 184 | + - delete |
| 185 | + - deletecollection |
| 186 | + - get |
| 187 | + - list |
| 188 | + - patch |
| 189 | + - update |
| 190 | + - watch |
| 191 | + - apiGroups: |
| 192 | + - extensions |
| 193 | + resources: |
| 194 | + - daemonsets |
| 195 | + - deployments |
| 196 | + - deployments/rollback |
| 197 | + - deployments/scale |
| 198 | + - replicasets |
| 199 | + - replicasets/scale |
| 200 | + - replicationcontrollers/scale |
| 201 | + verbs: |
| 202 | + - create |
| 203 | + - delete |
| 204 | + - deletecollection |
| 205 | + - get |
| 206 | + - list |
| 207 | + - patch |
| 208 | + - update |
| 209 | + - watch |
| 210 | + - apiGroups: |
| 211 | + - rbac.authorization.k8s.io |
| 212 | + resources: |
| 213 | + - rolebindings |
| 214 | + - roles |
| 215 | + verbs: |
| 216 | + - create |
| 217 | + - delete |
| 218 | + - deletecollection |
| 219 | + - get |
| 220 | + - list |
| 221 | + - patch |
| 222 | + - update |
| 223 | + - watch |
| 224 | + - apiGroups: |
| 225 | + - route.openshift.io |
| 226 | + resources: |
| 227 | + - routes |
| 228 | + verbs: |
| 229 | + - create |
| 230 | + - get |
| 231 | + - list |
| 232 | + - watch |
| 233 | + - update |
| 234 | + - delete |
| 235 | + serviceAccountName: metering-operator |
| 236 | + deployments: |
| 237 | + - name: metering-operator |
| 238 | + spec: |
| 239 | + replicas: 1 |
| 240 | + selector: |
| 241 | + matchLabels: |
| 242 | + app: metering-operator |
| 243 | + strategy: |
| 244 | + type: Recreate |
| 245 | + template: |
| 246 | + metadata: |
| 247 | + labels: |
| 248 | + app: metering-operator |
| 249 | + spec: |
| 250 | + containers: |
| 251 | + - args: |
| 252 | + - run-operator.sh |
| 253 | + env: |
| 254 | + - name: HELM_RELEASE_CRD_NAME |
| 255 | + value: Metering |
| 256 | + - name: HELM_RELEASE_CRD_API_GROUP |
| 257 | + value: metering.openshift.io |
| 258 | + - name: HELM_CHART_PATH |
| 259 | + value: /openshift-metering-0.1.0.tgz |
| 260 | + - name: MY_POD_NAME |
| 261 | + valueFrom: |
| 262 | + fieldRef: |
| 263 | + fieldPath: metadata.name |
| 264 | + - name: MY_POD_NAMESPACE |
| 265 | + valueFrom: |
| 266 | + fieldRef: |
| 267 | + fieldPath: metadata.namespace |
| 268 | + - name: HELM_HOST |
| 269 | + value: 127.0.0.1:44134 |
| 270 | + - name: HELM_WAIT |
| 271 | + value: "false" |
| 272 | + - name: HELM_RECONCILE_INTERVAL_SECONDS |
| 273 | + value: "30" |
| 274 | + - name: RELEASE_HISTORY_LIMIT |
| 275 | + value: "3" |
| 276 | + image: quay.io/coreos/metering-helm-operator:0.13.0 |
| 277 | + imagePullPolicy: Always |
| 278 | + name: metering-operator |
| 279 | + resources: |
| 280 | + limits: |
| 281 | + cpu: 50m |
| 282 | + memory: 25Mi |
| 283 | + requests: |
| 284 | + cpu: 50m |
| 285 | + memory: 25Mi |
| 286 | + - args: |
| 287 | + - tiller |
| 288 | + env: |
| 289 | + - name: TILLER_NAMESPACE |
| 290 | + valueFrom: |
| 291 | + fieldRef: |
| 292 | + fieldPath: metadata.namespace |
| 293 | + - name: TILLER_HISTORY_MAX |
| 294 | + value: "3" |
| 295 | + image: quay.io/coreos/metering-helm-operator:0.13.0 |
| 296 | + imagePullPolicy: Always |
| 297 | + livenessProbe: |
| 298 | + failureThreshold: 3 |
| 299 | + httpGet: |
| 300 | + path: /liveness |
| 301 | + port: 44135 |
| 302 | + scheme: HTTP |
| 303 | + initialDelaySeconds: 1 |
| 304 | + periodSeconds: 10 |
| 305 | + successThreshold: 1 |
| 306 | + timeoutSeconds: 1 |
| 307 | + name: tiller |
| 308 | + readinessProbe: |
| 309 | + failureThreshold: 3 |
| 310 | + httpGet: |
| 311 | + path: /readiness |
| 312 | + port: 44135 |
| 313 | + scheme: HTTP |
| 314 | + initialDelaySeconds: 1 |
| 315 | + periodSeconds: 10 |
| 316 | + successThreshold: 1 |
| 317 | + timeoutSeconds: 1 |
| 318 | + resources: |
| 319 | + limits: |
| 320 | + cpu: 50m |
| 321 | + memory: 100Mi |
| 322 | + requests: |
| 323 | + cpu: 50m |
| 324 | + memory: 50Mi |
| 325 | + restartPolicy: Always |
| 326 | + securityContext: |
| 327 | + runAsNonRoot: true |
| 328 | + serviceAccount: metering-operator |
| 329 | + terminationGracePeriodSeconds: 30 |
| 330 | + customresourcedefinitions: |
| 331 | + owned: |
| 332 | + - description: An instance of Metering |
| 333 | + displayName: Metering |
| 334 | + kind: Metering |
| 335 | + name: meterings.metering.openshift.io |
| 336 | + version: v1alpha1 |
| 337 | + - description: A table within PrestoDB |
| 338 | + displayName: Metering Presto Table |
| 339 | + kind: PrestoTable |
| 340 | + name: prestotables.metering.openshift.io |
| 341 | + version: v1alpha1 |
| 342 | + - description: A resource describing a source of data for usage by Report Generation |
| 343 | + Queries |
| 344 | + displayName: Metering data source |
| 345 | + kind: ReportDataSource |
| 346 | + name: reportdatasources.metering.openshift.io |
| 347 | + version: v1alpha1 |
| 348 | + - description: A SQL query used by Metering to generate reports |
| 349 | + displayName: Metering generation query |
| 350 | + kind: ReportGenerationQuery |
| 351 | + name: reportgenerationqueries.metering.openshift.io |
| 352 | + version: v1alpha1 |
| 353 | + - description: A Prometheus query by Metering to do metering |
| 354 | + displayName: Metering prometheus query |
| 355 | + kind: ReportPrometheusQuery |
| 356 | + name: reportprometheusqueries.metering.openshift.io |
| 357 | + version: v1alpha1 |
| 358 | + - description: A metering report summarizes metrics based on the query specified |
| 359 | + displayName: Metering Report |
| 360 | + kind: Report |
| 361 | + name: reports.metering.openshift.io |
| 362 | + version: v1alpha1 |
| 363 | + - description: Represents a configurable storage location for Metering to store metering |
| 364 | + and report data |
| 365 | + displayName: Metering storage location |
| 366 | + kind: StorageLocation |
| 367 | + name: storagelocations.metering.openshift.io |
| 368 | + version: v1alpha1 |
0 commit comments