Skip to content

Commit

Permalink
[operator] bump to 0.86.0 (#919)
Browse files Browse the repository at this point in the history
  • Loading branch information
macmiranda authored Oct 13, 2023
1 parent 1599c56 commit 1f250c5
Show file tree
Hide file tree
Showing 15 changed files with 124 additions and 42 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.39.2
version: 0.40.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.85.0
appVersion: 0.86.0
58 changes: 58 additions & 0 deletions charts/opentelemetry-operator/crds/crd-opentelemetrycollector.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3716,6 +3716,27 @@ spec:
description: PodAnnotations is the set of annotations that will be
attached to Collector and Target Allocator pods.
type: object
podDisruptionBudget:
description: PodDisruptionBudget specifies the pod disruption budget
configuration to use for the OpenTelemetryCollector workload.
properties:
maxUnavailable:
anyOf:
- type: integer
- type: string
description: An eviction is allowed if at most "maxUnavailable"
pods selected by "selector" are unavailable after the eviction,
i.e. even in absence of the evicted pod.
x-kubernetes-int-or-string: true
minAvailable:
anyOf:
- type: integer
- type: string
description: An eviction is allowed if at least "minAvailable"
pods selected by "selector" will still be available after the
eviction, i.e. even in the absence of the evicted pod.
x-kubernetes-int-or-string: true
type: object
podSecurityContext:
description: PodSecurityContext configures the pod security context
for the opentelemetry-collector pod, when running as a deployment,
Expand Down Expand Up @@ -4302,6 +4323,43 @@ spec:
service account to use with this instance. When set, the operator
will not automatically create a ServiceAccount for the TargetAllocator.
type: string
tolerations:
description: Toleration embedded kubernetes pod configuration
option, controls how pods can be scheduled with matching taints
items:
description: The pod this Toleration is attached to tolerates
any taint that matches the triple <key,value,effect> using
the matching operator <operator>.
properties:
effect:
description: Effect indicates the taint effect to match.
Empty means match all taint effects. When specified, allowed
values are NoSchedule, PreferNoSchedule and NoExecute.
type: string
key:
description: Key is the taint key that the toleration applies
to. Empty means match all taint keys. If the key is empty,
operator must be Exists; this combination means to match
all values and all keys.
type: string
operator:
description: Operator represents a key's relationship to
the value. Valid operators are Exists and Equal. Defaults
to Equal.
type: string
tolerationSeconds:
description: TolerationSeconds represents the period of
time the toleration (which must be of effect NoExecute,
otherwise this field is ignored) tolerates the taint.
format: int64
type: integer
value:
description: Value is the taint value the toleration matches
to. If the operator is Exists, the value should be empty,
otherwise just a regular string.
type: string
type: object
type: array
topologySpreadConstraints:
description: TopologySpreadConstraints embedded kubernetes pod
configuration option, controls how pods are spread across your
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.39.2
helm.sh/chart: opentelemetry-operator-0.40.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.85.0"
app.kubernetes.io/version: "0.86.0"
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: example
app.kubernetes.io/component: webhook
Expand Down Expand Up @@ -85,9 +85,9 @@ metadata:
annotations:
cert-manager.io/inject-ca-from: default/example-opentelemetry-operator-serving-cert
labels:
helm.sh/chart: opentelemetry-operator-0.39.2
helm.sh/chart: opentelemetry-operator-0.40.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.85.0"
app.kubernetes.io/version: "0.86.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.39.2
helm.sh/chart: opentelemetry-operator-0.40.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.85.0"
app.kubernetes.io/version: "0.86.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.39.2
helm.sh/chart: opentelemetry-operator-0.40.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.85.0"
app.kubernetes.io/version: "0.86.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.39.2
helm.sh/chart: opentelemetry-operator-0.40.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.85.0"
app.kubernetes.io/version: "0.86.0"
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: example
app.kubernetes.io/component: controller-manager
Expand Down Expand Up @@ -208,15 +208,27 @@ rules:
- get
- list
- watch
- apiGroups:
- policy
resources:
- poddisruptionbudgets
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
---
# Source: opentelemetry-operator/templates/clusterrole.yaml
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
labels:
helm.sh/chart: opentelemetry-operator-0.39.2
helm.sh/chart: opentelemetry-operator-0.40.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.85.0"
app.kubernetes.io/version: "0.86.0"
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: example
app.kubernetes.io/component: controller-manager
Expand All @@ -232,9 +244,9 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
labels:
helm.sh/chart: opentelemetry-operator-0.39.2
helm.sh/chart: opentelemetry-operator-0.40.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.85.0"
app.kubernetes.io/version: "0.86.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.39.2
helm.sh/chart: opentelemetry-operator-0.40.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.85.0"
app.kubernetes.io/version: "0.86.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.39.2
helm.sh/chart: opentelemetry-operator-0.40.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.85.0"
app.kubernetes.io/version: "0.86.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.39.2
helm.sh/chart: opentelemetry-operator-0.40.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.85.0"
app.kubernetes.io/version: "0.86.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.85.0
- --collector-image=otel/opentelemetry-collector-contrib:0.87.0
command:
- /manager
env:
- name: ENABLE_WEBHOOKS
value: "true"
image: "ghcr.io/open-telemetry/opentelemetry-operator/opentelemetry-operator:v0.85.0"
image: "ghcr.io/open-telemetry/opentelemetry-operator/opentelemetry-operator:v0.86.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.39.2
helm.sh/chart: opentelemetry-operator-0.40.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.85.0"
app.kubernetes.io/version: "0.86.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.39.2
helm.sh/chart: opentelemetry-operator-0.40.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.85.0"
app.kubernetes.io/version: "0.86.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.39.2
helm.sh/chart: opentelemetry-operator-0.40.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.85.0"
app.kubernetes.io/version: "0.86.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.39.2
helm.sh/chart: opentelemetry-operator-0.40.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.85.0"
app.kubernetes.io/version: "0.86.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.39.2
helm.sh/chart: opentelemetry-operator-0.40.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.85.0"
app.kubernetes.io/version: "0.86.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.39.2
helm.sh/chart: opentelemetry-operator-0.40.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.85.0"
app.kubernetes.io/version: "0.86.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 @@ -6,9 +6,9 @@ metadata:
name: "example-opentelemetry-operator-metrics"
namespace: default
labels:
helm.sh/chart: opentelemetry-operator-0.39.2
helm.sh/chart: opentelemetry-operator-0.40.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.85.0"
app.kubernetes.io/version: "0.86.0"
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: example
app.kubernetes.io/component: controller-manager
Expand Down Expand Up @@ -43,9 +43,9 @@ metadata:
name: "example-opentelemetry-operator-webhook"
namespace: default
labels:
helm.sh/chart: opentelemetry-operator-0.39.2
helm.sh/chart: opentelemetry-operator-0.40.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.85.0"
app.kubernetes.io/version: "0.86.0"
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: example
app.kubernetes.io/component: controller-manager
Expand Down
12 changes: 12 additions & 0 deletions charts/opentelemetry-operator/templates/clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,18 @@ rules:
- get
- list
- watch
- apiGroups:
- policy
resources:
- poddisruptionbudgets
verbs:
- create
- delete
- get
- list
- patch
- update
- watch

{{ if .Values.kubeRBACProxy.enabled }}
---
Expand Down
4 changes: 2 additions & 2 deletions charts/opentelemetry-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ pdb:
manager:
image:
repository: ghcr.io/open-telemetry/opentelemetry-operator/opentelemetry-operator
tag: v0.85.0
tag: v0.86.0
collectorImage:
repository: otel/opentelemetry-collector-contrib
tag: 0.85.0
tag: 0.87.0
targetAllocatorImage:
repository: ""
tag: ""
Expand Down

0 comments on commit 1f250c5

Please sign in to comment.