From 780cbb0fe6e816ae8e3b4c025c61e98eb2ab617e Mon Sep 17 00:00:00 2001 From: Ats Uiboupin Date: Sat, 24 Feb 2024 01:56:06 +0200 Subject: [PATCH] fix(doc): flag name used to enable certManager (#1049) * fix(doc): flag name used to enable certManager: Create flag is only used in doc (https://github.com/search?q=repo%3Aopen-telemetry%2Fopentelemetry-helm-charts+%22certManager.create%22&type=code), but enabled seems be the correct name for the flag (https://github.com/search?q=repo%3Aopen-telemetry%2Fopentelemetry-helm-charts%20%22certManager.enabled%22&type=code) * bump operator chart patch version (only doc updated) --- charts/opentelemetry-operator/Chart.yaml | 2 +- charts/opentelemetry-operator/README.md | 2 +- .../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, 20 insertions(+), 20 deletions(-) diff --git a/charts/opentelemetry-operator/Chart.yaml b/charts/opentelemetry-operator/Chart.yaml index 4870c455a..ea763e737 100644 --- a/charts/opentelemetry-operator/Chart.yaml +++ b/charts/opentelemetry-operator/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: opentelemetry-operator -version: 0.47.0 +version: 0.47.1 description: OpenTelemetry Operator Helm chart for Kubernetes type: application home: https://opentelemetry.io/ diff --git a/charts/opentelemetry-operator/README.md b/charts/opentelemetry-operator/README.md index 2e0bba5c7..53bb3ffb8 100644 --- a/charts/opentelemetry-operator/README.md +++ b/charts/opentelemetry-operator/README.md @@ -14,7 +14,7 @@ At this point, it has [OpenTelemetry Collector](https://github.com/open-telemetr In Kubernetes, in order for the API server to communicate with the webhook component, the webhook requires a TLS certificate that the API server is configured to trust. There are a few different ways you can use to generate/configure the required TLS certificate. - - The easiest and default method is to install the [cert-manager](https://cert-manager.io/docs/) and set `admissionWebhooks.certManager.create` to `true`. + - The easiest and default method is to install the [cert-manager](https://cert-manager.io/docs/) and set `admissionWebhooks.certManager.enabled` to `true`. In this way, cert-manager will generate a self-signed certificate. _See [cert-manager installation](https://cert-manager.io/docs/installation/kubernetes/) for more details._ - You can provide your own Issuer by configuring the `admissionWebhooks.certManager.issuerRef` value. You will need to specify the `kind` (Issuer or ClusterIssuer) and the `name`. Note that this method also requires the installation of cert-manager. 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 d7e2d4380..092a9ff49 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.47.0 + helm.sh/chart: opentelemetry-operator-0.47.1 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.93.0" app.kubernetes.io/managed-by: Helm @@ -91,7 +91,7 @@ metadata: annotations: cert-manager.io/inject-ca-from: default/example-opentelemetry-operator-serving-cert labels: - helm.sh/chart: opentelemetry-operator-0.47.0 + helm.sh/chart: opentelemetry-operator-0.47.1 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.93.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 f765856b8..bdfc887c9 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.47.0 + helm.sh/chart: opentelemetry-operator-0.47.1 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.93.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.47.0 + helm.sh/chart: opentelemetry-operator-0.47.1 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.93.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 e496956f6..26b058c4c 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.47.0 + helm.sh/chart: opentelemetry-operator-0.47.1 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.93.0" app.kubernetes.io/managed-by: Helm @@ -253,7 +253,7 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: labels: - helm.sh/chart: opentelemetry-operator-0.47.0 + helm.sh/chart: opentelemetry-operator-0.47.1 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.93.0" app.kubernetes.io/managed-by: Helm @@ -271,7 +271,7 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: labels: - helm.sh/chart: opentelemetry-operator-0.47.0 + helm.sh/chart: opentelemetry-operator-0.47.1 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.93.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 72048f6f6..e9bd0fec7 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.47.0 + helm.sh/chart: opentelemetry-operator-0.47.1 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.93.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.47.0 + helm.sh/chart: opentelemetry-operator-0.47.1 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.93.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 f1f4b737c..9396936a8 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.47.0 + helm.sh/chart: opentelemetry-operator-0.47.1 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.93.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 afc2ad608..78669dfc8 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.47.0 + helm.sh/chart: opentelemetry-operator-0.47.1 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.93.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 6add32a8a..77dfa0a52 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.47.0 + helm.sh/chart: opentelemetry-operator-0.47.1 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.93.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 88ddb7eb6..f427f3402 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.47.0 + helm.sh/chart: opentelemetry-operator-0.47.1 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.93.0" app.kubernetes.io/managed-by: Helm @@ -31,7 +31,7 @@ apiVersion: v1 kind: Service metadata: labels: - helm.sh/chart: opentelemetry-operator-0.47.0 + helm.sh/chart: opentelemetry-operator-0.47.1 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.93.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 e15a258ec..97d93f9cd 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.47.0 + helm.sh/chart: opentelemetry-operator-0.47.1 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.93.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 4fa1b0494..8d90098c0 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.47.0 + helm.sh/chart: opentelemetry-operator-0.47.1 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.93.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 49912f916..f273f66a8 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.47.0 + helm.sh/chart: opentelemetry-operator-0.47.1 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.93.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.47.0 + helm.sh/chart: opentelemetry-operator-0.47.1 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.93.0" app.kubernetes.io/managed-by: Helm