From ede60ac86196d86bacde86bac33d229467429fe9 Mon Sep 17 00:00:00 2001 From: Kristina Pathak Date: Thu, 1 Sep 2022 17:44:01 -0700 Subject: [PATCH] make bundle changes --- ...ntelemetry.io_opentelemetrycollectors.yaml | 41 +++++++++++++++++++ ...ntelemetry.io_opentelemetrycollectors.yaml | 41 +++++++++++++++++++ 2 files changed, 82 insertions(+) diff --git a/bundle/manifests/opentelemetry.io_opentelemetrycollectors.yaml b/bundle/manifests/opentelemetry.io_opentelemetrycollectors.yaml index da91c7ce09..b6a9ae0966 100644 --- a/bundle/manifests/opentelemetry.io_opentelemetrycollectors.yaml +++ b/bundle/manifests/opentelemetry.io_opentelemetrycollectors.yaml @@ -64,6 +64,47 @@ spec: configuration. Refer to the OpenTelemetry Collector documentation for details. type: string + containerPorts: + description: ContainerPorts allows a set of ports to be exposed by + the underlying v1.Container. By default, the operator will attempt + to infer the required ports by parsing the .Spec.Config property + but this property can be used to open additional ports that can't + be inferred by the operator, like for custom receivers. + items: + description: ContainerPort represents a network port in a single + container. + properties: + containerPort: + description: Number of port to expose on the pod's IP address. + This must be a valid port number, 0 < x < 65536. + format: int32 + type: integer + hostIP: + description: What host IP to bind the external port to. + type: string + hostPort: + description: Number of port to expose on the host. If specified, + this must be a valid port number, 0 < x < 65536. If HostNetwork + is specified, this must match ContainerPort. Most containers + do not need this. + format: int32 + type: integer + name: + description: If specified, this must be an IANA_SVC_NAME and + unique within the pod. Each named port in a pod must have + a unique name. Name for the port that can be referred to by + services. + type: string + protocol: + default: TCP + description: Protocol for port. Must be UDP, TCP, or SCTP. Defaults + to "TCP". + type: string + required: + - containerPort + type: object + type: array + x-kubernetes-list-type: atomic env: description: ENV vars to set on the OpenTelemetry Collector's Pods. These can then in certain cases be consumed in the config file for diff --git a/config/crd/bases/opentelemetry.io_opentelemetrycollectors.yaml b/config/crd/bases/opentelemetry.io_opentelemetrycollectors.yaml index e5a0084416..99d48df3c8 100644 --- a/config/crd/bases/opentelemetry.io_opentelemetrycollectors.yaml +++ b/config/crd/bases/opentelemetry.io_opentelemetrycollectors.yaml @@ -62,6 +62,47 @@ spec: configuration. Refer to the OpenTelemetry Collector documentation for details. type: string + containerPorts: + description: ContainerPorts allows a set of ports to be exposed by + the underlying v1.Container. By default, the operator will attempt + to infer the required ports by parsing the .Spec.Config property + but this property can be used to open additional ports that can't + be inferred by the operator, like for custom receivers. + items: + description: ContainerPort represents a network port in a single + container. + properties: + containerPort: + description: Number of port to expose on the pod's IP address. + This must be a valid port number, 0 < x < 65536. + format: int32 + type: integer + hostIP: + description: What host IP to bind the external port to. + type: string + hostPort: + description: Number of port to expose on the host. If specified, + this must be a valid port number, 0 < x < 65536. If HostNetwork + is specified, this must match ContainerPort. Most containers + do not need this. + format: int32 + type: integer + name: + description: If specified, this must be an IANA_SVC_NAME and + unique within the pod. Each named port in a pod must have + a unique name. Name for the port that can be referred to by + services. + type: string + protocol: + default: TCP + description: Protocol for port. Must be UDP, TCP, or SCTP. Defaults + to "TCP". + type: string + required: + - containerPort + type: object + type: array + x-kubernetes-list-type: atomic env: description: ENV vars to set on the OpenTelemetry Collector's Pods. These can then in certain cases be consumed in the config file for