From aab9e4e0f6e76e167f7882b857e34daf1610f3f0 Mon Sep 17 00:00:00 2001 From: Rob Skillington Date: Thu, 20 Jun 2019 09:59:21 +1000 Subject: [PATCH] Run kubernetes-gen --- .../m3dboperator/v1alpha1/openapi_generated.go | 15 +++++++++++++++ .../v1alpha1/zz_generated.deepcopy.go | 7 +++++++ 2 files changed, 22 insertions(+) diff --git a/pkg/apis/m3dboperator/v1alpha1/openapi_generated.go b/pkg/apis/m3dboperator/v1alpha1/openapi_generated.go index a08fb3d9..2eaf3ba1 100644 --- a/pkg/apis/m3dboperator/v1alpha1/openapi_generated.go +++ b/pkg/apis/m3dboperator/v1alpha1/openapi_generated.go @@ -459,6 +459,21 @@ func schema_pkg_apis_m3dboperator_v1alpha1_ClusterSpec(ref common.ReferenceCallb }, }, }, + "annotations": { + SchemaProps: spec.SchemaProps{ + Description: "Annotations sets the base annotations that will be applied to resources created by the cluster.", + Type: []string{"object"}, + AdditionalProperties: &spec.SchemaOrBool{ + Allows: true, + Schema: &spec.Schema{ + SchemaProps: spec.SchemaProps{ + Type: []string{"string"}, + Format: "", + }, + }, + }, + }, + }, "tolerations": { SchemaProps: spec.SchemaProps{ Description: "Tolerations sets the tolerations that will be applied to all M3DB pods.", diff --git a/pkg/apis/m3dboperator/v1alpha1/zz_generated.deepcopy.go b/pkg/apis/m3dboperator/v1alpha1/zz_generated.deepcopy.go index 6cc57816..da42fa4c 100644 --- a/pkg/apis/m3dboperator/v1alpha1/zz_generated.deepcopy.go +++ b/pkg/apis/m3dboperator/v1alpha1/zz_generated.deepcopy.go @@ -100,6 +100,13 @@ func (in *ClusterSpec) DeepCopyInto(out *ClusterSpec) { (*out)[key] = val } } + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make(map[string]string, len(*in)) + for key, val := range *in { + (*out)[key] = val + } + } if in.Tolerations != nil { in, out := &in.Tolerations, &out.Tolerations *out = make([]v1.Toleration, len(*in))