Skip to content

Instantly share code, notes, and snippets.

@vivek
Created November 1, 2022 18:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vivek/fc3713bb67a910a21c4a02d99b05f8ae to your computer and use it in GitHub Desktop.
Save vivek/fc3713bb67a910a21c4a02d99b05f8ae to your computer and use it in GitHub Desktop.
Shipa Environment CRD
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.6.2
meta.helm.sh/release-name: shipa-controller
meta.helm.sh/release-namespace: shipa
shipa.io/app-manager: shipa-controller
creationTimestamp: "2022-10-22T07:53:03Z"
generation: 1
labels:
app.kubernetes.io/managed-by: Helm
shipa.io/is-shipa: "true"
name: environments.shipa.io
resourceVersion: "1890"
uid: fa2955bd-2dff-41b2-b40e-7dca8e5438d8
spec:
conversion:
strategy: None
group: shipa.io
names:
kind: Environment
listKind: EnvironmentList
plural: environments
shortNames:
- envs
singular: environment
scope: Namespaced
versions:
- name: v1
schema:
openAPIV3Schema:
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:
properties:
framework:
description: Framework is a shipa framework associated with this env.
type: string
namespace:
description: Namespace is a k8s namespace associated with this env.
type: string
required:
- framework
- namespace
type: object
required:
- spec
type: object
served: true
storage: true
status:
acceptedNames:
kind: Environment
listKind: EnvironmentList
plural: environments
shortNames:
- envs
singular: environment
conditions:
- lastTransitionTime: "2022-10-22T07:53:03Z"
message: no conflicts found
reason: NoConflicts
status: "True"
type: NamesAccepted
- lastTransitionTime: "2022-10-22T07:53:03Z"
message: the initial names have been accepted
reason: InitialNamesAccepted
status: "True"
type: Established
storedVersions:
- v1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment