Skip to content
Open
Show file tree
Hide file tree
Changes from all 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,75 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
creationTimestamp: null
name: scaleops.analysis.scaleops.sh
spec:
group: analysis.scaleops.sh
names:
kind: ScaleOps
listKind: ScaleOpsList
plural: scaleops
singular: scaleops
scope: Namespaced
versions:
- name: v1
schema:
openAPIV3Schema:
description: ScaleOps is the Schema for the scaleops 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 ScaleOps
properties:
openshiftSSO:
description: Configure OpenShift SSO
properties:
clientID:
default: scaleops
description: The name of the OauthClient
minLength: 1
type: string
enabled:
default: false
description: Allow ScaleOps to access the OAuthClient associated
with the specified clientID, or create a new OAuthClient and
configure ScaleOps to use it.
type: boolean
loginRedirectURL:
description: Used in the login flow, the URL to redirect to after
successful login.
example: https://scaleops.example.com/auth/callback
type: string
required:
- enabled
- clientID
type: object
x-kubernetes-preserve-unknown-fields: true
type: object
x-kubernetes-preserve-unknown-fields: true
status:
description: Status defines the observed state of ScaleOps
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,13 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
creationTimestamp: null
name: scaleops-operator-manager-rolebinding
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: system:image-puller
subjects:
- kind: ServiceAccount
name: scaleops-operator-controller-manager
namespace: scaleops-system
Loading