Skip to content

Commit

Permalink
feat(envoy): support envoy gateway (#6)
Browse files Browse the repository at this point in the history
it also drop istio support, can be considered a breaking change
  • Loading branch information
mijailr authored May 27, 2024
1 parent db79fad commit 9c8e1fa
Show file tree
Hide file tree
Showing 8 changed files with 271 additions and 36 deletions.
134 changes: 134 additions & 0 deletions charts/lh-operator/crds/lhcanaryaggregators.littlehorse.io-v1.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
# Generated by Fabric8 CRDGenerator, manual edits might get overwritten!
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: lhcanaryaggregators.littlehorse.io
spec:
group: littlehorse.io
names:
kind: LHCanaryAggregator
plural: lhcanaryaggregators
shortNames:
- lhca
singular: lhcanaryaggregator
scope: Namespaced
versions:
- additionalPrinterColumns:
- jsonPath: .status.problems
name: PROBLEMS
priority: 0
type: string
name: v1
schema:
openAPIV3Schema:
properties:
spec:
properties:
defaultLabels:
additionalProperties:
type: string
description: Labels to put on all created resources
type: object
image:
description: The Docker Image to use
type: string
imagePullPolicy:
description: Image Pull Policy for the Canary Image
enum:
- Always
- IfNotPresent
- Never
type: string
kafka:
description: Configures access to the Kafka cluster
properties:
lhKafkaRef:
description: Points to an LHKafka Cluster
properties:
clusterName:
description: The name of the `LHKaka` resource that the Aggregator
connects to
type: string
clusterWideQuotas:
description: Quotas for the Canary. Includes Metronomes as
well as the Aggregator since both share the same credentials.
properties:
consumerThroughputPerSecond:
anyOf:
- type: integer
- type: string
description: The throughput in bytes per second that may
be consumed by this Kafka principal
x-kubernetes-int-or-string: true
producerThroughputPerSecond:
anyOf:
- type: integer
- type: string
description: The throughput in bytes per second that may
be produced by this Kafka principal
x-kubernetes-int-or-string: true
required:
- producerThroughputPerSecond
- consumerThroughputPerSecond
type: object
required:
- clusterWideQuotas
type: object
partitions:
description: Number of partitions to use for the Canary's internal
Kafka topics
minimum: 1.0
type: integer
replicationFactor:
description: Replication factor for the Canary Kafka Topics
minimum: 0.0
type: integer
type: object
podMonitor:
description: Configures `PodMonitor` resources for the Aggregator
properties:
podMonitorLabels:
additionalProperties:
type: string
description: Labels to add to the generated `PodMonitor` resources
type: object
type: object
replicas:
description: Number of replicas for the LH Canary Statefulset
minimum: 1.0
type: integer
storage:
description: Configures storage for the LHCanary Statefulset
properties:
storageClassName:
description: The name of the storageclass with which to provision
storage for the server
type: string
volumeSize:
anyOf:
- type: integer
- type: string
description: The size of the persistent volume.
x-kubernetes-int-or-string: true
required:
- storageClassName
- volumeSize
type: object
required:
- storage
- kafka
- imagePullPolicy
- image
type: object
status:
properties:
observedGeneration:
type: integer
problems:
type: string
type: object
type: object
served: true
storage: true
subresources:
status: {}
Loading

0 comments on commit 9c8e1fa

Please sign in to comment.