Skip to content

Instantly share code, notes, and snippets.

@deads2k
Created February 12, 2025 19:00
Show Gist options
  • Save deads2k/32ba4263d1a7fcc3c80bbac7fc03cd4a to your computer and use it in GitHub Desktop.
Save deads2k/32ba4263d1a7fcc3c80bbac7fc03cd4a to your computer and use it in GitHub Desktop.
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: apiservers2.config.openshift.io
spec:
group: config.openshift.io
names:
kind: APIServer2
listKind: APIServer2List
plural: apiservers2
singular: apiserver2
scope: Cluster
versions:
- name: v1
schema:
openAPIV3Schema:
description: |-
APIServer holds configuration (like serving certificates, client CA and CORS domains)
shared by all API servers in the system, among them especially kube-apiserver
and openshift-apiserver. The canonical name of an instance is 'cluster'.
Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
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 holds user settable values for configuration
properties:
name:
enum:
- ""
- Foo
- Bar
type: string
required:
- name
type: object
status:
description: status holds observed values from the cluster. They may not
be overridden.
type: object
required:
- spec
type: object
served: true
storage: true
subresources:
status: {}
kind: APIServer2
apiVersion: config.openshift.io/v1
metadata:
generateName: empty
spec:
name: ""
kind: APIServer2
apiVersion: config.openshift.io/v1
metadata:
generateName: missing
spec:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment