Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump operator to 0.90.0 #979

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/operator-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,5 @@ jobs:
kubectl wait --timeout=5m --for=condition=available deployment my-opentelemetry-operator -n opentelemetry-operator-system

- name: Run e2e tests
run: kubectl kuttl test ./opentelemetry-operator/tests/e2e --config ./charts/opentelemetry-operator/kuttl-test.yaml
working-directory: ./opentelemetry-operator
run: kubectl kuttl test ./tests/e2e --config ../charts/opentelemetry-operator/kuttl-test.yaml --crd-dir ../charts/opentelemetry-operator/crds
4 changes: 2 additions & 2 deletions charts/opentelemetry-operator/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: opentelemetry-operator
version: 0.43.1
version: 0.44.0
description: OpenTelemetry Operator Helm chart for Kubernetes
type: application
home: https://opentelemetry.io/
Expand All @@ -11,4 +11,4 @@ maintainers:
- name: dmitryax
- name: TylerHelmuth
icon: https://raw.githubusercontent.com/cncf/artwork/a718fa97fffec1b9fd14147682e9e3ac0c8817cb/projects/opentelemetry/icon/color/opentelemetry-icon-color.png
appVersion: 0.89.0
appVersion: 0.90.0
Original file line number Diff line number Diff line change
Expand Up @@ -900,6 +900,13 @@ spec:
x-kubernetes-map-type: atomic
type: object
type: array
headers:
additionalProperties:
type: string
description: Headers is an optional map of headers to use when connecting
to the OpAMP Server, typically used to set access tokens or other
authorization headers.
type: object
hostNetwork:
description: HostNetwork indicates if the pod should run in the host
networking namespace.
Expand Down
134 changes: 131 additions & 3 deletions charts/opentelemetry-operator/crds/crd-opentelemetrycollector.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3704,9 +3704,9 @@ spec:
description: Metrics defines the metrics configuration for operands.
properties:
enableMetrics:
description: EnableMetrics specifies if ServiceMonitor should
be created for the OpenTelemetry Collector and Prometheus
Exporters. The operator.observability.
description: EnableMetrics specifies if ServiceMonitor or
PodMonitor(for sidecar mode) should be created for the OpenTelemetry
Collector and Prometheus Exporters. The operator.observability.
type: boolean
type: object
type: object
Expand Down Expand Up @@ -5047,6 +5047,134 @@ spec:
resources required.
type: object
type: object
securityContext:
description: SecurityContext configures the container security
context for the targetallocator.
properties:
fsGroup:
description: "A special supplemental group that applies to
all containers in a pod. Some volume types allow the Kubelet
to change the ownership of that volume to be owned by the
pod: \n 1."
format: int64
type: integer
fsGroupChangePolicy:
description: fsGroupChangePolicy defines behavior of changing
ownership and permission of the volume before being exposed
inside Pod.
type: string
runAsGroup:
description: The GID to run the entrypoint of the container
process. Uses runtime default if unset. May also be set
in SecurityContext.
format: int64
type: integer
runAsNonRoot:
description: Indicates that the container must run as a non-root
user.
type: boolean
runAsUser:
description: The UID to run the entrypoint of the container
process. Defaults to user specified in image metadata if
unspecified. May also be set in SecurityContext.
format: int64
type: integer
seLinuxOptions:
description: The SELinux context to be applied to all containers.
If unspecified, the container runtime will allocate a random
SELinux context for each container. May also be set in
SecurityContext.
properties:
level:
description: Level is SELinux level label that applies
to the container.
type: string
role:
description: Role is a SELinux role label that applies
to the container.
type: string
type:
description: Type is a SELinux type label that applies
to the container.
type: string
user:
description: User is a SELinux user label that applies
to the container.
type: string
type: object
seccompProfile:
description: The seccomp options to use by the containers
in this pod. Note that this field cannot be set when spec.os.name
is windows.
properties:
localhostProfile:
description: localhostProfile indicates a profile defined
in a file on the node should be used. The profile must
be preconfigured on the node to work.
type: string
type:
description: "type indicates which kind of seccomp profile
will be applied. Valid options are: \n Localhost - a
profile defined in a file on the node should be used."
type: string
required:
- type
type: object
supplementalGroups:
description: A list of groups applied to the first process
run in each container, in addition to the container's primary
GID, the fsGroup (if specified), and group memberships defined
in the container image for th
items:
format: int64
type: integer
type: array
sysctls:
description: Sysctls hold a list of namespaced sysctls used
for the pod. Pods with unsupported sysctls (by the container
runtime) might fail to launch. Note that this field cannot
be set when spec.os.
items:
description: Sysctl defines a kernel parameter to be set
properties:
name:
description: Name of a property to set
type: string
value:
description: Value of a property to set
type: string
required:
- name
- value
type: object
type: array
windowsOptions:
description: The Windows specific settings applied to all
containers. If unspecified, the options within a container's
SecurityContext will be used.
properties:
gmsaCredentialSpec:
description: GMSACredentialSpec is where the GMSA admission
webhook (https://github.com/kubernetes-sigs/windows-gmsa)
inlines the contents of the GMSA credential spec named
by the GMSACredentialSpecName field.
type: string
gmsaCredentialSpecName:
description: GMSACredentialSpecName is the name of the
GMSA credential spec to use.
type: string
hostProcess:
description: HostProcess determines if a container should
be run as a 'Host Process' container.
type: boolean
runAsUserName:
description: The UserName in Windows to run the entrypoint
of the container process. Defaults to the user specified
in image metadata if unspecified. May also be set in
PodSecurityContext.
type: string
type: object
type: object
serviceAccount:
description: ServiceAccount indicates the name of an existing
service account to use with this instance. When set, the operator
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ metadata:
annotations:
cert-manager.io/inject-ca-from: default/example-opentelemetry-operator-serving-cert
labels:
helm.sh/chart: opentelemetry-operator-0.43.1
helm.sh/chart: opentelemetry-operator-0.44.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.89.0"
app.kubernetes.io/version: "0.90.0"
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: example
app.kubernetes.io/component: webhook
Expand Down Expand Up @@ -88,9 +88,9 @@ metadata:
annotations:
cert-manager.io/inject-ca-from: default/example-opentelemetry-operator-serving-cert
labels:
helm.sh/chart: opentelemetry-operator-0.43.1
helm.sh/chart: opentelemetry-operator-0.44.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.89.0"
app.kubernetes.io/version: "0.90.0"
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: example
app.kubernetes.io/component: webhook
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
labels:
helm.sh/chart: opentelemetry-operator-0.43.1
helm.sh/chart: opentelemetry-operator-0.44.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.89.0"
app.kubernetes.io/version: "0.90.0"
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: example
app.kubernetes.io/component: webhook
Expand All @@ -29,9 +29,9 @@ apiVersion: cert-manager.io/v1
kind: Issuer
metadata:
labels:
helm.sh/chart: opentelemetry-operator-0.43.1
helm.sh/chart: opentelemetry-operator-0.44.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.89.0"
app.kubernetes.io/version: "0.90.0"
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: example
app.kubernetes.io/component: webhook
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
labels:
helm.sh/chart: opentelemetry-operator-0.43.1
helm.sh/chart: opentelemetry-operator-0.44.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.89.0"
app.kubernetes.io/version: "0.90.0"
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: example
app.kubernetes.io/component: controller-manager
Expand Down Expand Up @@ -253,9 +253,9 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
labels:
helm.sh/chart: opentelemetry-operator-0.43.1
helm.sh/chart: opentelemetry-operator-0.44.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.89.0"
app.kubernetes.io/version: "0.90.0"
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: example
app.kubernetes.io/component: controller-manager
Expand All @@ -271,9 +271,9 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
labels:
helm.sh/chart: opentelemetry-operator-0.43.1
helm.sh/chart: opentelemetry-operator-0.44.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.89.0"
app.kubernetes.io/version: "0.90.0"
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: example
app.kubernetes.io/component: controller-manager
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
labels:
helm.sh/chart: opentelemetry-operator-0.43.1
helm.sh/chart: opentelemetry-operator-0.44.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.89.0"
app.kubernetes.io/version: "0.90.0"
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: example
app.kubernetes.io/component: controller-manager
Expand All @@ -25,9 +25,9 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
labels:
helm.sh/chart: opentelemetry-operator-0.43.1
helm.sh/chart: opentelemetry-operator-0.44.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.89.0"
app.kubernetes.io/version: "0.90.0"
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: example
app.kubernetes.io/component: controller-manager
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ apiVersion: apps/v1
kind: Deployment
metadata:
labels:
helm.sh/chart: opentelemetry-operator-0.43.1
helm.sh/chart: opentelemetry-operator-0.44.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.89.0"
app.kubernetes.io/version: "0.90.0"
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: example
app.kubernetes.io/component: controller-manager
Expand All @@ -33,13 +33,13 @@ spec:
- --enable-leader-election
- --health-probe-addr=:8081
- --webhook-port=9443
- --collector-image=otel/opentelemetry-collector-contrib:0.89.0
- --collector-image=otel/opentelemetry-collector-contrib:0.90.1
command:
- /manager
env:
- name: ENABLE_WEBHOOKS
value: "true"
image: "ghcr.io/open-telemetry/opentelemetry-operator/opentelemetry-operator:v0.89.0"
image: "ghcr.io/open-telemetry/opentelemetry-operator/opentelemetry-operator:v0.90.0"
name: manager
ports:
- containerPort: 8080
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
labels:
helm.sh/chart: opentelemetry-operator-0.43.1
helm.sh/chart: opentelemetry-operator-0.44.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.89.0"
app.kubernetes.io/version: "0.90.0"
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: example
app.kubernetes.io/component: controller-manager
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
labels:
helm.sh/chart: opentelemetry-operator-0.43.1
helm.sh/chart: opentelemetry-operator-0.44.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.89.0"
app.kubernetes.io/version: "0.90.0"
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: example
app.kubernetes.io/component: controller-manager
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ apiVersion: v1
kind: Service
metadata:
labels:
helm.sh/chart: opentelemetry-operator-0.43.1
helm.sh/chart: opentelemetry-operator-0.44.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.89.0"
app.kubernetes.io/version: "0.90.0"
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: example
app.kubernetes.io/component: controller-manager
Expand All @@ -31,9 +31,9 @@ apiVersion: v1
kind: Service
metadata:
labels:
helm.sh/chart: opentelemetry-operator-0.43.1
helm.sh/chart: opentelemetry-operator-0.44.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.89.0"
app.kubernetes.io/version: "0.90.0"
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: example
app.kubernetes.io/component: controller-manager
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ metadata:
name: opentelemetry-operator
namespace: default
labels:
helm.sh/chart: opentelemetry-operator-0.43.1
helm.sh/chart: opentelemetry-operator-0.44.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.89.0"
app.kubernetes.io/version: "0.90.0"
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: example
app.kubernetes.io/component: controller-manager
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ metadata:
name: "example-opentelemetry-operator-cert-manager"
namespace: default
labels:
helm.sh/chart: opentelemetry-operator-0.43.1
helm.sh/chart: opentelemetry-operator-0.44.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.89.0"
app.kubernetes.io/version: "0.90.0"
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: example
app.kubernetes.io/component: webhook
Expand Down
Loading