Skip to content

Commit

Permalink
re-generate crd
Browse files Browse the repository at this point in the history
  • Loading branch information
bakito committed Jan 28, 2021
1 parent abf8ab6 commit 349e9b9
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 23 deletions.
33 changes: 23 additions & 10 deletions config/crd/bases/eventlogger.bakito.ch_eventloggers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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:
Expand All @@ -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:
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -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=
Expand Down
33 changes: 23 additions & 10 deletions helm/crds/eventlogger.bakito.ch_eventloggers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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:
Expand All @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit 349e9b9

Please sign in to comment.