Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

operator kubecost-operator (v2.4.23) #4828

Merged
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
creationTimestamp: null
name: costanalyzers.charts.kubecost.com
spec:
group: charts.kubecost.com
names:
kind: CostAnalyzer
listKind: CostAnalyzerList
plural: costanalyzers
singular: costanalyzer
scope: Namespaced
versions:
- name: v1alpha1
schema:
openAPIV3Schema:
description: CostAnalyzer is the Schema for the costanalyzers API
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
metadata:
type: object
spec:
description: Spec defines the desired state of CostAnalyzer
type: object
x-kubernetes-preserve-unknown-fields: true
status:
description: Status defines the observed state of CostAnalyzer
type: object
x-kubernetes-preserve-unknown-fields: true
type: object
served: true
storage: true
subresources:
status: {}
status:
acceptedNames:
kind: ""
plural: ""
conditions: null
storedVersions: null
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
apiVersion: v1
kind: Service
metadata:
creationTimestamp: null
labels:
app.kubernetes.io/managed-by: kustomize
app.kubernetes.io/name: kubecost-operator
control-plane: controller-manager
name: kubecost-operator-controller-manager-metrics-service
spec:
ports:
- name: https
port: 8443
protocol: TCP
targetPort: https
selector:
control-plane: controller-manager
status:
loadBalancer: {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
creationTimestamp: null
labels:
app.kubernetes.io/managed-by: kustomize
app.kubernetes.io/name: kubecost-operator
name: kubecost-operator-costanalyzer-editor-role
rules:
- apiGroups:
- charts.kubecost.com
resources:
- costanalyzers
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- charts.kubecost.com
resources:
- costanalyzers/status
verbs:
- get
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
creationTimestamp: null
labels:
app.kubernetes.io/managed-by: kustomize
app.kubernetes.io/name: kubecost-operator
name: kubecost-operator-costanalyzer-viewer-role
rules:
- apiGroups:
- charts.kubecost.com
resources:
- costanalyzers
verbs:
- get
- list
- watch
- apiGroups:
- charts.kubecost.com
resources:
- costanalyzers/status
verbs:
- get
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
creationTimestamp: null
labels:
app.kubernetes.io/managed-by: kustomize
app.kubernetes.io/name: kubecost-operator
name: kubecost-operator-metrics-reader
rules:
- nonResourceURLs:
- /metrics
verbs:
- get
Loading