From 59b4d27a9baa9c90a69218bf9d12381e566f4beb Mon Sep 17 00:00:00 2001 From: galen-reltio <104534108+galen-reltio@users.noreply.github.com> Date: Tue, 12 Sep 2023 19:33:56 -0700 Subject: [PATCH] [operator]: Update UPGRADING.md (#886) (#888) --- charts/opentelemetry-operator/Chart.yaml | 2 +- charts/opentelemetry-operator/UPGRADING.md | 3 +++ .../operator-webhook-with-cert-manager.yaml | 4 ++-- .../examples/default/rendered/certmanager.yaml | 4 ++-- .../examples/default/rendered/clusterrole.yaml | 6 +++--- .../examples/default/rendered/clusterrolebinding.yaml | 4 ++-- .../examples/default/rendered/deployment.yaml | 2 +- .../examples/default/rendered/role.yaml | 2 +- .../examples/default/rendered/rolebinding.yaml | 2 +- .../examples/default/rendered/service.yaml | 4 ++-- .../examples/default/rendered/serviceaccount.yaml | 2 +- .../default/rendered/tests/test-certmanager-connection.yaml | 2 +- .../default/rendered/tests/test-service-connection.yaml | 4 ++-- 13 files changed, 22 insertions(+), 19 deletions(-) diff --git a/charts/opentelemetry-operator/Chart.yaml b/charts/opentelemetry-operator/Chart.yaml index 839279f23..79950b06d 100644 --- a/charts/opentelemetry-operator/Chart.yaml +++ b/charts/opentelemetry-operator/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: opentelemetry-operator -version: 0.37.0 +version: 0.37.1 description: OpenTelemetry Operator Helm chart for Kubernetes type: application home: https://opentelemetry.io/ diff --git a/charts/opentelemetry-operator/UPGRADING.md b/charts/opentelemetry-operator/UPGRADING.md index bf0ecae85..4d8f0f5f2 100644 --- a/charts/opentelemetry-operator/UPGRADING.md +++ b/charts/opentelemetry-operator/UPGRADING.md @@ -1,5 +1,8 @@ # Upgrade guidelines +## <0.35.0 to 0.35.0 +OpenTelemetry Operator [0.82.0](https://github.com/open-telemetry/opentelemetry-operator/releases/tag/v0.82.0) includes a change that allows setting the management state of custom resources [PR 1888](https://github.com/open-telemetry/opentelemetry-operator/pull/1888). Since helm doesn't upgrade CRDs ([documented](https://github.com/open-telemetry/opentelemetry-helm-charts/tree/main/charts/opentelemetry-operator#upgrade-chart)) it is critical to manually update CRDs from chart `0.35.0` or above, possibly using [this procedure](https://github.com/open-telemetry/opentelemetry-helm-charts/issues/69#issuecomment-1567285625). If this step isn't taken existing otelcol CRs won't be reconciled by the operator. + ## 0.27 to 0.28 [Allow using own self-signed certificate](https://github.com/open-telemetry/opentelemetry-helm-charts/pull/760) diff --git a/charts/opentelemetry-operator/examples/default/rendered/admission-webhooks/operator-webhook-with-cert-manager.yaml b/charts/opentelemetry-operator/examples/default/rendered/admission-webhooks/operator-webhook-with-cert-manager.yaml index 17107ee55..9dcb7c6e3 100644 --- a/charts/opentelemetry-operator/examples/default/rendered/admission-webhooks/operator-webhook-with-cert-manager.yaml +++ b/charts/opentelemetry-operator/examples/default/rendered/admission-webhooks/operator-webhook-with-cert-manager.yaml @@ -6,7 +6,7 @@ metadata: annotations: cert-manager.io/inject-ca-from: default/example-opentelemetry-operator-serving-cert labels: - helm.sh/chart: opentelemetry-operator-0.37.0 + helm.sh/chart: opentelemetry-operator-0.37.1 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.83.0" app.kubernetes.io/managed-by: Helm @@ -85,7 +85,7 @@ metadata: annotations: cert-manager.io/inject-ca-from: default/example-opentelemetry-operator-serving-cert labels: - helm.sh/chart: opentelemetry-operator-0.37.0 + helm.sh/chart: opentelemetry-operator-0.37.1 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.83.0" app.kubernetes.io/managed-by: Helm diff --git a/charts/opentelemetry-operator/examples/default/rendered/certmanager.yaml b/charts/opentelemetry-operator/examples/default/rendered/certmanager.yaml index 83a76f787..6a67c91a6 100644 --- a/charts/opentelemetry-operator/examples/default/rendered/certmanager.yaml +++ b/charts/opentelemetry-operator/examples/default/rendered/certmanager.yaml @@ -4,7 +4,7 @@ apiVersion: cert-manager.io/v1 kind: Certificate metadata: labels: - helm.sh/chart: opentelemetry-operator-0.37.0 + helm.sh/chart: opentelemetry-operator-0.37.1 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.83.0" app.kubernetes.io/managed-by: Helm @@ -29,7 +29,7 @@ apiVersion: cert-manager.io/v1 kind: Issuer metadata: labels: - helm.sh/chart: opentelemetry-operator-0.37.0 + helm.sh/chart: opentelemetry-operator-0.37.1 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.83.0" app.kubernetes.io/managed-by: Helm diff --git a/charts/opentelemetry-operator/examples/default/rendered/clusterrole.yaml b/charts/opentelemetry-operator/examples/default/rendered/clusterrole.yaml index 7408e55a7..8fd37a052 100644 --- a/charts/opentelemetry-operator/examples/default/rendered/clusterrole.yaml +++ b/charts/opentelemetry-operator/examples/default/rendered/clusterrole.yaml @@ -4,7 +4,7 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: labels: - helm.sh/chart: opentelemetry-operator-0.37.0 + helm.sh/chart: opentelemetry-operator-0.37.1 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.83.0" app.kubernetes.io/managed-by: Helm @@ -214,7 +214,7 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: labels: - helm.sh/chart: opentelemetry-operator-0.37.0 + helm.sh/chart: opentelemetry-operator-0.37.1 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.83.0" app.kubernetes.io/managed-by: Helm @@ -232,7 +232,7 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: labels: - helm.sh/chart: opentelemetry-operator-0.37.0 + helm.sh/chart: opentelemetry-operator-0.37.1 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.83.0" app.kubernetes.io/managed-by: Helm diff --git a/charts/opentelemetry-operator/examples/default/rendered/clusterrolebinding.yaml b/charts/opentelemetry-operator/examples/default/rendered/clusterrolebinding.yaml index d65d60a1e..a44636864 100644 --- a/charts/opentelemetry-operator/examples/default/rendered/clusterrolebinding.yaml +++ b/charts/opentelemetry-operator/examples/default/rendered/clusterrolebinding.yaml @@ -4,7 +4,7 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: labels: - helm.sh/chart: opentelemetry-operator-0.37.0 + helm.sh/chart: opentelemetry-operator-0.37.1 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.83.0" app.kubernetes.io/managed-by: Helm @@ -25,7 +25,7 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: labels: - helm.sh/chart: opentelemetry-operator-0.37.0 + helm.sh/chart: opentelemetry-operator-0.37.1 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.83.0" app.kubernetes.io/managed-by: Helm diff --git a/charts/opentelemetry-operator/examples/default/rendered/deployment.yaml b/charts/opentelemetry-operator/examples/default/rendered/deployment.yaml index 448f2d711..01eb224b0 100644 --- a/charts/opentelemetry-operator/examples/default/rendered/deployment.yaml +++ b/charts/opentelemetry-operator/examples/default/rendered/deployment.yaml @@ -4,7 +4,7 @@ apiVersion: apps/v1 kind: Deployment metadata: labels: - helm.sh/chart: opentelemetry-operator-0.37.0 + helm.sh/chart: opentelemetry-operator-0.37.1 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.83.0" app.kubernetes.io/managed-by: Helm diff --git a/charts/opentelemetry-operator/examples/default/rendered/role.yaml b/charts/opentelemetry-operator/examples/default/rendered/role.yaml index e0dacc59d..408abcd2a 100644 --- a/charts/opentelemetry-operator/examples/default/rendered/role.yaml +++ b/charts/opentelemetry-operator/examples/default/rendered/role.yaml @@ -4,7 +4,7 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: labels: - helm.sh/chart: opentelemetry-operator-0.37.0 + helm.sh/chart: opentelemetry-operator-0.37.1 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.83.0" app.kubernetes.io/managed-by: Helm diff --git a/charts/opentelemetry-operator/examples/default/rendered/rolebinding.yaml b/charts/opentelemetry-operator/examples/default/rendered/rolebinding.yaml index c360138f4..65c3d37c9 100644 --- a/charts/opentelemetry-operator/examples/default/rendered/rolebinding.yaml +++ b/charts/opentelemetry-operator/examples/default/rendered/rolebinding.yaml @@ -4,7 +4,7 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: labels: - helm.sh/chart: opentelemetry-operator-0.37.0 + helm.sh/chart: opentelemetry-operator-0.37.1 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.83.0" app.kubernetes.io/managed-by: Helm diff --git a/charts/opentelemetry-operator/examples/default/rendered/service.yaml b/charts/opentelemetry-operator/examples/default/rendered/service.yaml index 47ce2c3b6..7a9e25d05 100644 --- a/charts/opentelemetry-operator/examples/default/rendered/service.yaml +++ b/charts/opentelemetry-operator/examples/default/rendered/service.yaml @@ -4,7 +4,7 @@ apiVersion: v1 kind: Service metadata: labels: - helm.sh/chart: opentelemetry-operator-0.37.0 + helm.sh/chart: opentelemetry-operator-0.37.1 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.83.0" app.kubernetes.io/managed-by: Helm @@ -31,7 +31,7 @@ apiVersion: v1 kind: Service metadata: labels: - helm.sh/chart: opentelemetry-operator-0.37.0 + helm.sh/chart: opentelemetry-operator-0.37.1 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.83.0" app.kubernetes.io/managed-by: Helm diff --git a/charts/opentelemetry-operator/examples/default/rendered/serviceaccount.yaml b/charts/opentelemetry-operator/examples/default/rendered/serviceaccount.yaml index 6e2769277..dde6cf624 100644 --- a/charts/opentelemetry-operator/examples/default/rendered/serviceaccount.yaml +++ b/charts/opentelemetry-operator/examples/default/rendered/serviceaccount.yaml @@ -6,7 +6,7 @@ metadata: name: opentelemetry-operator namespace: default labels: - helm.sh/chart: opentelemetry-operator-0.37.0 + helm.sh/chart: opentelemetry-operator-0.37.1 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.83.0" app.kubernetes.io/managed-by: Helm diff --git a/charts/opentelemetry-operator/examples/default/rendered/tests/test-certmanager-connection.yaml b/charts/opentelemetry-operator/examples/default/rendered/tests/test-certmanager-connection.yaml index f2c7732a7..d9425a338 100644 --- a/charts/opentelemetry-operator/examples/default/rendered/tests/test-certmanager-connection.yaml +++ b/charts/opentelemetry-operator/examples/default/rendered/tests/test-certmanager-connection.yaml @@ -6,7 +6,7 @@ metadata: name: "example-opentelemetry-operator-cert-manager" namespace: default labels: - helm.sh/chart: opentelemetry-operator-0.37.0 + helm.sh/chart: opentelemetry-operator-0.37.1 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.83.0" app.kubernetes.io/managed-by: Helm diff --git a/charts/opentelemetry-operator/examples/default/rendered/tests/test-service-connection.yaml b/charts/opentelemetry-operator/examples/default/rendered/tests/test-service-connection.yaml index 95ce883a5..b5f862a26 100644 --- a/charts/opentelemetry-operator/examples/default/rendered/tests/test-service-connection.yaml +++ b/charts/opentelemetry-operator/examples/default/rendered/tests/test-service-connection.yaml @@ -6,7 +6,7 @@ metadata: name: "example-opentelemetry-operator-metrics" namespace: default labels: - helm.sh/chart: opentelemetry-operator-0.37.0 + helm.sh/chart: opentelemetry-operator-0.37.1 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.83.0" app.kubernetes.io/managed-by: Helm @@ -43,7 +43,7 @@ metadata: name: "example-opentelemetry-operator-webhook" namespace: default labels: - helm.sh/chart: opentelemetry-operator-0.37.0 + helm.sh/chart: opentelemetry-operator-0.37.1 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.83.0" app.kubernetes.io/managed-by: Helm