Skip to content

Commit

Permalink
[opentelemetry-operator] bump to 0.97.0 (#1113)
Browse files Browse the repository at this point in the history
* bump to 0.97.0

* Fix linting issue

* add new clusterrole
  • Loading branch information
jaronoff97 authored Apr 3, 2024
1 parent c175a26 commit 293556f
Show file tree
Hide file tree
Showing 17 changed files with 3,971 additions and 3,536 deletions.
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.52.4
version: 0.53.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.96.0
appVersion: 0.97.0
1,919 changes: 1,012 additions & 907 deletions charts/opentelemetry-operator/crds/crd-opentelemetry.io_opampbridges.yaml

Large diffs are not rendered by default.

4,849 changes: 2,553 additions & 2,296 deletions charts/opentelemetry-operator/crds/crd-opentelemetrycollector.yaml

Large diffs are not rendered by default.

618 changes: 338 additions & 280 deletions charts/opentelemetry-operator/crds/crd-opentelemetryinstrumentation.yaml

Large diffs are not rendered by default.

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.52.4
helm.sh/chart: opentelemetry-operator-0.53.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.96.0"
app.kubernetes.io/version: "0.97.0"
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: example

Expand Down Expand Up @@ -91,9 +91,9 @@ metadata:
annotations:
cert-manager.io/inject-ca-from: default/example-opentelemetry-operator-serving-cert
labels:
helm.sh/chart: opentelemetry-operator-0.52.4
helm.sh/chart: opentelemetry-operator-0.53.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.96.0"
app.kubernetes.io/version: "0.97.0"
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: example

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.52.4
helm.sh/chart: opentelemetry-operator-0.53.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.96.0"
app.kubernetes.io/version: "0.97.0"
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: example

Expand All @@ -30,9 +30,9 @@ apiVersion: cert-manager.io/v1
kind: Issuer
metadata:
labels:
helm.sh/chart: opentelemetry-operator-0.52.4
helm.sh/chart: opentelemetry-operator-0.53.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.96.0"
app.kubernetes.io/version: "0.97.0"
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: example

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.52.4
helm.sh/chart: opentelemetry-operator-0.53.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.96.0"
app.kubernetes.io/version: "0.97.0"
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: example

Expand Down Expand Up @@ -78,6 +78,14 @@ rules:
- patch
- update
- watch
- apiGroups:
- batch
resources:
- jobs
verbs:
- get
- list
- watch
- apiGroups:
- config.openshift.io
resources:
Expand Down Expand Up @@ -214,9 +222,9 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
labels:
helm.sh/chart: opentelemetry-operator-0.52.4
helm.sh/chart: opentelemetry-operator-0.53.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.96.0"
app.kubernetes.io/version: "0.97.0"
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: example

Expand All @@ -233,9 +241,9 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
labels:
helm.sh/chart: opentelemetry-operator-0.52.4
helm.sh/chart: opentelemetry-operator-0.53.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.96.0"
app.kubernetes.io/version: "0.97.0"
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: example

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.52.4
helm.sh/chart: opentelemetry-operator-0.53.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.96.0"
app.kubernetes.io/version: "0.97.0"
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: example

Expand All @@ -26,9 +26,9 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
labels:
helm.sh/chart: opentelemetry-operator-0.52.4
helm.sh/chart: opentelemetry-operator-0.53.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.96.0"
app.kubernetes.io/version: "0.97.0"
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: example

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.52.4
helm.sh/chart: opentelemetry-operator-0.53.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.96.0"
app.kubernetes.io/version: "0.97.0"
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: example

Expand Down Expand Up @@ -34,13 +34,13 @@ spec:
- --enable-leader-election
- --health-probe-addr=:8081
- --webhook-port=9443
- --collector-image=otel/opentelemetry-collector-contrib:0.96.0
- --collector-image=otel/opentelemetry-collector-contrib:0.97.0
command:
- /manager
env:
- name: ENABLE_WEBHOOKS
value: "true"
image: "ghcr.io/open-telemetry/opentelemetry-operator/opentelemetry-operator:0.96.0"
image: "ghcr.io/open-telemetry/opentelemetry-operator/opentelemetry-operator:0.97.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.52.4
helm.sh/chart: opentelemetry-operator-0.53.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.96.0"
app.kubernetes.io/version: "0.97.0"
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: example

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.52.4
helm.sh/chart: opentelemetry-operator-0.53.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.96.0"
app.kubernetes.io/version: "0.97.0"
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: example

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.52.4
helm.sh/chart: opentelemetry-operator-0.53.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.96.0"
app.kubernetes.io/version: "0.97.0"
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: example

Expand All @@ -32,9 +32,9 @@ apiVersion: v1
kind: Service
metadata:
labels:
helm.sh/chart: opentelemetry-operator-0.52.4
helm.sh/chart: opentelemetry-operator-0.53.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.96.0"
app.kubernetes.io/version: "0.97.0"
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: example

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.52.4
helm.sh/chart: opentelemetry-operator-0.53.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.96.0"
app.kubernetes.io/version: "0.97.0"
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: example

Expand Down
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.52.4
helm.sh/chart: opentelemetry-operator-0.53.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.96.0"
app.kubernetes.io/version: "0.97.0"
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: example

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ metadata:
name: "example-opentelemetry-operator-metrics"
namespace: default
labels:
helm.sh/chart: opentelemetry-operator-0.52.4
helm.sh/chart: opentelemetry-operator-0.53.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.96.0"
app.kubernetes.io/version: "0.97.0"
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: example

Expand Down Expand Up @@ -44,9 +44,9 @@ metadata:
name: "example-opentelemetry-operator-webhook"
namespace: default
labels:
helm.sh/chart: opentelemetry-operator-0.52.4
helm.sh/chart: opentelemetry-operator-0.53.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.96.0"
app.kubernetes.io/version: "0.97.0"
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: example

Expand Down
8 changes: 8 additions & 0 deletions charts/opentelemetry-operator/templates/clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,14 @@ rules:
- patch
- update
- watch
- apiGroups:
- batch
resources:
- jobs
verbs:
- get
- list
- watch
- apiGroups:
- config.openshift.io
resources:
Expand Down
25 changes: 12 additions & 13 deletions charts/opentelemetry-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ manager:
tag: ""
collectorImage:
repository: otel/opentelemetry-collector-contrib
tag: 0.96.0
tag: 0.97.0
opampBridgeImage:
repository: ""
tag: ""
Expand Down Expand Up @@ -102,7 +102,7 @@ manager:
# add annotations on the ServiceMonitor
annotations: {}
metricsEndpoints:
- port: metrics
- port: metrics

# Adds additional annotations to the manager Deployment
deploymentAnnotations: {}
Expand All @@ -123,7 +123,6 @@ manager:
# add annotations on the PrometheusRule
annotations: {}


## List of additional cli arguments to configure the manager
## for example: --labels, etc.
extraArgs: []
Expand Down Expand Up @@ -161,10 +160,10 @@ manager:
## Container specific securityContext
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
securityContext: {}
# allowPrivilegeEscalation: false
# capabilities:
# drop:
# - ALL
# allowPrivilegeEscalation: false
# capabilities:
# drop:
# - ALL

## Provide OpenTelemetry Operator kube-rbac-proxy container image.
##
Expand All @@ -190,10 +189,10 @@ kubeRBACProxy:
## Container specific securityContext
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
securityContext: {}
# allowPrivilegeEscalation: false
# capabilities:
# drop:
# - ALL
# allowPrivilegeEscalation: false
# capabilities:
# drop:
# - ALL

## Admission webhooks make sure only requests with correctly formatted rules will get into the Operator.
## They also enable the sidecar injection for OpenTelemetryCollector and Instrumentation CR's
Expand Down Expand Up @@ -228,8 +227,8 @@ admissionWebhooks:
## Provide the issuer kind and name to do the cert auth job.
## By default, OpenTelemetry Operator will use self-signer issuer.
issuerRef: {}
# kind:
# name:
# kind:
# name:
## Annotations for the cert and issuer if cert-manager is enabled.
certificateAnnotations: {}
issuerAnnotations: {}
Expand Down

0 comments on commit 293556f

Please sign in to comment.