Skip to content

Commit

Permalink
make bundle changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Kristina Pathak committed Sep 2, 2022
1 parent 39eaa08 commit 17c405b
Show file tree
Hide file tree
Showing 4 changed files with 92 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ metadata:
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3
repository: github.com/open-telemetry/opentelemetry-operator
support: OpenTelemetry Community
name: opentelemetry-operator.v0.58.0
name: opentelemetry-operator.v0.58.0-10-g39eaa08
namespace: placeholder
spec:
apiservicedefinitions: {}
Expand Down Expand Up @@ -282,7 +282,7 @@ spec:
- args:
- --metrics-addr=127.0.0.1:8080
- --enable-leader-election
image: ghcr.io/open-telemetry/opentelemetry-operator/opentelemetry-operator:0.58.0
image: ghcr.io/kristina.pathak/opentelemetry-operator/opentelemetry-operator:0.58.0-10-g39eaa08
livenessProbe:
httpGet:
path: /healthz
Expand Down Expand Up @@ -392,7 +392,7 @@ spec:
maturity: alpha
provider:
name: OpenTelemetry Community
version: 0.58.0
version: 0.58.0-10-g39eaa08
webhookdefinitions:
- admissionReviewVersions:
- v1
Expand Down
41 changes: 41 additions & 0 deletions bundle/manifests/opentelemetry.io_opentelemetrycollectors.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
41 changes: 41 additions & 0 deletions config/crd/bases/opentelemetry.io_opentelemetrycollectors.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 7 additions & 1 deletion config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
resources:
- manager.yaml
- manager.yaml
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
images:
- name: controller
newName: ghcr.io/kristina.pathak/opentelemetry-operator/opentelemetry-operator
newTag: 0.58.0-10-g39eaa08

0 comments on commit 17c405b

Please sign in to comment.