From 349e9b951fa3f894d2efaa3a62e7e2dcad3d9e0b Mon Sep 17 00:00:00 2001 From: bakito Date: Thu, 28 Jan 2021 17:09:13 +0100 Subject: [PATCH] re-generate crd --- .../eventlogger.bakito.ch_eventloggers.yaml | 33 +++++++++++++------ go.mod | 2 +- go.sum | 4 +-- .../eventlogger.bakito.ch_eventloggers.yaml | 33 +++++++++++++------ 4 files changed, 49 insertions(+), 23 deletions(-) diff --git a/config/crd/bases/eventlogger.bakito.ch_eventloggers.yaml b/config/crd/bases/eventlogger.bakito.ch_eventloggers.yaml index 64dac93..b418fa5 100644 --- a/config/crd/bases/eventlogger.bakito.ch_eventloggers.yaml +++ b/config/crd/bases/eventlogger.bakito.ch_eventloggers.yaml @@ -20,10 +20,14 @@ spec: description: EventLogger is the Schema for the eventloggers 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 @@ -36,7 +40,8 @@ spec: description: Labels additional annotations for the logger pod type: object eventTypes: - description: EventTypes the event types to log. If empty all events are logged. + description: EventTypes the event types to log. If empty all events + are logged. items: type: string minItems: 0 @@ -47,13 +52,15 @@ spec: description: Kind defines a kind to log events for properties: eventTypes: - description: EventTypes the event types to log. If empty events are logged as defined in spec. + description: EventTypes the event types to log. If empty events + are logged as defined in spec. items: type: string minItems: 0 type: array matchingPatterns: - description: MatchingPatterns optional regex pattern that must be contained in the message to be logged + description: MatchingPatterns optional regex pattern that must + be contained in the message to be logged items: type: string minItems: 0 @@ -89,7 +96,8 @@ spec: minItems: 1 type: array value: - description: Value a static value of the log field. Can be uses to add static log fields + description: Value a static value of the log field. Can be uses + to add static log fields nullable: true type: string required: @@ -103,13 +111,17 @@ spec: nodeSelector: additionalProperties: type: string - description: 'NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node''s labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/' + description: 'NodeSelector is a selector which must be true for the + pod to fit on a node. Selector which must match a node''s labels for + the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/' type: object scrapeMetrics: - description: ScrapeMetrics if true, prometheus scrape annotations are added to the pod + description: ScrapeMetrics if true, prometheus scrape annotations are + added to the pod type: boolean serviceAccount: - description: ServiceAccount the service account to use for the logger pod + description: ServiceAccount the service account to use for the logger + pod type: string type: object status: @@ -126,7 +138,8 @@ spec: format: date-time type: string operatorVersion: - description: OperatorVersion the version of the operator that processed the cr + description: OperatorVersion the version of the operator that processed + the cr type: string required: - lastProcessed diff --git a/go.mod b/go.mod index 73fc8a7..e43d031 100644 --- a/go.mod +++ b/go.mod @@ -12,7 +12,7 @@ require ( github.com/go-playground/validator/v10 v10.4.1 github.com/golang/mock v1.4.4 github.com/google/go-cmp v0.5.4 - github.com/google/uuid v1.1.2 + github.com/google/uuid v1.2.0 gotest.tools v2.2.0+incompatible k8s.io/api v0.19.4 k8s.io/apimachinery v0.19.4 diff --git a/go.sum b/go.sum index 455c88b..851a55a 100644 --- a/go.sum +++ b/go.sum @@ -231,8 +231,8 @@ github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm4 github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.1.1 h1:Gkbcsh/GbpXz7lPftLA3P6TYMwjCLYm83jiFQZF/3gY= github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/google/uuid v1.1.2 h1:EVhdT+1Kseyi1/pUmXKaFxYsDNy9RQYkMWRH68J/W7Y= -github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/google/uuid v1.2.0 h1:qJYtXnJRWmpe7m/3XlyhrsLrEURqHRM2kxzoxXqyUDs= +github.com/google/uuid v1.2.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= github.com/googleapis/gnostic v0.0.0-20170729233727-0c5108395e2d/go.mod h1:sJBsCZ4ayReDTBIg8b9dl28c5xFWyhBTVRp3pOg5EKY= diff --git a/helm/crds/eventlogger.bakito.ch_eventloggers.yaml b/helm/crds/eventlogger.bakito.ch_eventloggers.yaml index 64dac93..b418fa5 100644 --- a/helm/crds/eventlogger.bakito.ch_eventloggers.yaml +++ b/helm/crds/eventlogger.bakito.ch_eventloggers.yaml @@ -20,10 +20,14 @@ spec: description: EventLogger is the Schema for the eventloggers 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 @@ -36,7 +40,8 @@ spec: description: Labels additional annotations for the logger pod type: object eventTypes: - description: EventTypes the event types to log. If empty all events are logged. + description: EventTypes the event types to log. If empty all events + are logged. items: type: string minItems: 0 @@ -47,13 +52,15 @@ spec: description: Kind defines a kind to log events for properties: eventTypes: - description: EventTypes the event types to log. If empty events are logged as defined in spec. + description: EventTypes the event types to log. If empty events + are logged as defined in spec. items: type: string minItems: 0 type: array matchingPatterns: - description: MatchingPatterns optional regex pattern that must be contained in the message to be logged + description: MatchingPatterns optional regex pattern that must + be contained in the message to be logged items: type: string minItems: 0 @@ -89,7 +96,8 @@ spec: minItems: 1 type: array value: - description: Value a static value of the log field. Can be uses to add static log fields + description: Value a static value of the log field. Can be uses + to add static log fields nullable: true type: string required: @@ -103,13 +111,17 @@ spec: nodeSelector: additionalProperties: type: string - description: 'NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node''s labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/' + description: 'NodeSelector is a selector which must be true for the + pod to fit on a node. Selector which must match a node''s labels for + the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/' type: object scrapeMetrics: - description: ScrapeMetrics if true, prometheus scrape annotations are added to the pod + description: ScrapeMetrics if true, prometheus scrape annotations are + added to the pod type: boolean serviceAccount: - description: ServiceAccount the service account to use for the logger pod + description: ServiceAccount the service account to use for the logger + pod type: string type: object status: @@ -126,7 +138,8 @@ spec: format: date-time type: string operatorVersion: - description: OperatorVersion the version of the operator that processed the cr + description: OperatorVersion the version of the operator that processed + the cr type: string required: - lastProcessed