Skip to content

Instantly share code, notes, and snippets.

@jmrodri
Created October 29, 2020 13:48
Show Gist options
  • Save jmrodri/75defacd689126fab340386468e33541 to your computer and use it in GitHub Desktop.
Save jmrodri/75defacd689126fab340386468e33541 to your computer and use it in GitHub Desktop.
kustomize-ghost-controller-gen-0_3_0-golang-113.diff
diff --git a/testdata/go/memcached-operator/config/crd/bases/cache.example.com_memcacheds.yaml b/testdata/go/memcached-operator/config/crd/bases/cache.example.com_memcacheds.yaml
index 666a403d..228816ff 100644
--- a/testdata/go/memcached-operator/config/crd/bases/cache.example.com_memcacheds.yaml
+++ b/testdata/go/memcached-operator/config/crd/bases/cache.example.com_memcacheds.yaml
@@ -22,14 +22,10 @@ spec:
description: Memcached is the Schema for the memcacheds 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'
+ 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'
+ 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
@@ -37,8 +33,7 @@ spec:
description: MemcachedSpec defines the desired state of Memcached
properties:
foo:
- description: Foo is an example field of Memcached. Edit Memcached_types.go
- to remove/update
+ description: Foo is an example field of Memcached. Edit Memcached_types.go to remove/update
type: string
size:
description: Size defines the number of Memcached instances
@@ -49,8 +44,7 @@ spec:
description: MemcachedStatus defines the observed state of Memcached
properties:
nodes:
- description: Nodes store the name of the pods which are running Memcached
- instances
+ description: Nodes store the name of the pods which are running Memcached instances
items:
type: string
type: array
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment