Skip to content

Instantly share code, notes, and snippets.

@akoserwal
Created November 2, 2022 12:34
Show Gist options
  • Save akoserwal/3a5b92dc1f1c2b82f2bc957d760dbc6d to your computer and use it in GitHub Desktop.
Save akoserwal/3a5b92dc1f1c2b82f2bc957d760dbc6d to your computer and use it in GitHub Desktop.
entitlement-crd
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.9.2
creationTimestamp: null
name: entitlements.authz.authz
spec:
group: authz.authz
names:
kind: Entitlement
listKind: EntitlementList
plural: entitlements
singular: entitlement
scope: Namespaced
versions:
- name: v1
schema:
openAPIV3Schema:
description: Entitlement is the Schema for the entitlements 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: EntitlementSpec defines the desired state of Entitlement
properties:
limits:
type: string
resource:
description: Foo is an example field of Entitlement. Edit entitlement_types.go
to remove/update
type: string
type: object
status:
description: EntitlementStatus defines the observed state of Entitlement
type: object
type: object
served: true
storage: true
subresources:
status: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment