From 220c1196b827be9b5b4120272238f72602aab5bf Mon Sep 17 00:00:00 2001 From: Jiri Tyr Date: Mon, 9 Dec 2024 21:18:11 +0000 Subject: [PATCH 1/4] feat(opentelemetry-operator): Adding extraEnv Signed-off-by: Jiri Tyr --- .../templates/deployment.yaml | 7 ++++--- charts/opentelemetry-operator/values.schema.json | 15 +++++++++++++++ charts/opentelemetry-operator/values.yaml | 8 ++++++++ 3 files changed, 27 insertions(+), 3 deletions(-) diff --git a/charts/opentelemetry-operator/templates/deployment.yaml b/charts/opentelemetry-operator/templates/deployment.yaml index 11dd5378a..bf8831cc1 100644 --- a/charts/opentelemetry-operator/templates/deployment.yaml +++ b/charts/opentelemetry-operator/templates/deployment.yaml @@ -84,13 +84,14 @@ spec: {{- end }} command: - /manager - {{- if or .Values.manager.env .Values.manager.createRbacPermissions }} + {{- if or .Values.manager.env .Values.manager.extraEnv .Values.manager.createRbacPermissions }} env: - {{- if .Values.manager.env }} {{- range $name, $value := .Values.manager.env }} - name: {{ $name }} - value: {{ $value | quote -}} + value: {{ $value | quote }} {{- end }} + {{- with .Values.manager.extraEnv }} + {{- . | toYaml | nindent 12 }} {{- end }} {{- if .Values.manager.createRbacPermissions }} - name: SERVICE_ACCOUNT_NAME diff --git a/charts/opentelemetry-operator/values.schema.json b/charts/opentelemetry-operator/values.schema.json index f7cbce1eb..2826283f7 100644 --- a/charts/opentelemetry-operator/values.schema.json +++ b/charts/opentelemetry-operator/values.schema.json @@ -132,6 +132,7 @@ "featureGates", "ports", "env", + "extraEnv", "serviceAccount", "serviceMonitor", "deploymentAnnotations", @@ -720,6 +721,20 @@ "ENABLE_WEBHOOKS": "true" }] }, + "extraEnv": { + "type": "array", + "default": [], + "title": "Extra definitions of environment variables", + "examples": [{ + "name": "GOMEMLIMIT", + "valueFrom": { + "resourceFieldRef": { + "containerName": "manager", + "resource": "limits.memory" + } + } + }] + }, "serviceAccount": { "type": "object", "default": {}, diff --git a/charts/opentelemetry-operator/values.yaml b/charts/opentelemetry-operator/values.yaml index 7690698e7..c768921e2 100644 --- a/charts/opentelemetry-operator/values.yaml +++ b/charts/opentelemetry-operator/values.yaml @@ -104,6 +104,14 @@ manager: env: ENABLE_WEBHOOKS: "true" + # Extra definitions of environment variables. + extraEnv: [] + # - name: GOMEMLIMIT + # valueFrom: + # resourceFieldRef: + # containerName: manager + # resource: limits.memory + # -- Create the manager ServiceAccount serviceAccount: create: true From edfdac85c19e05d0f648337a9baad33d07fc67f8 Mon Sep 17 00:00:00 2001 From: Jiri Tyr Date: Thu, 12 Dec 2024 10:49:08 +0000 Subject: [PATCH 2/4] Renaming the value key to extraEnvs Signed-off-by: Jiri Tyr --- charts/opentelemetry-operator/Chart.yaml | 2 +- charts/opentelemetry-operator/templates/deployment.yaml | 4 ++-- charts/opentelemetry-operator/values.schema.json | 4 ++-- charts/opentelemetry-operator/values.yaml | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/charts/opentelemetry-operator/Chart.yaml b/charts/opentelemetry-operator/Chart.yaml index 25aa3b746..38a0959dc 100644 --- a/charts/opentelemetry-operator/Chart.yaml +++ b/charts/opentelemetry-operator/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: opentelemetry-operator -version: 0.77.0 +version: 0.78.0 description: OpenTelemetry Operator Helm chart for Kubernetes type: application home: https://opentelemetry.io/ diff --git a/charts/opentelemetry-operator/templates/deployment.yaml b/charts/opentelemetry-operator/templates/deployment.yaml index bf8831cc1..39441c641 100644 --- a/charts/opentelemetry-operator/templates/deployment.yaml +++ b/charts/opentelemetry-operator/templates/deployment.yaml @@ -84,13 +84,13 @@ spec: {{- end }} command: - /manager - {{- if or .Values.manager.env .Values.manager.extraEnv .Values.manager.createRbacPermissions }} + {{- if or .Values.manager.env .Values.manager.extraEnvs .Values.manager.createRbacPermissions }} env: {{- range $name, $value := .Values.manager.env }} - name: {{ $name }} value: {{ $value | quote }} {{- end }} - {{- with .Values.manager.extraEnv }} + {{- with .Values.manager.extraEnvs }} {{- . | toYaml | nindent 12 }} {{- end }} {{- if .Values.manager.createRbacPermissions }} diff --git a/charts/opentelemetry-operator/values.schema.json b/charts/opentelemetry-operator/values.schema.json index 2826283f7..c2be1c343 100644 --- a/charts/opentelemetry-operator/values.schema.json +++ b/charts/opentelemetry-operator/values.schema.json @@ -132,7 +132,7 @@ "featureGates", "ports", "env", - "extraEnv", + "extraEnvs", "serviceAccount", "serviceMonitor", "deploymentAnnotations", @@ -721,7 +721,7 @@ "ENABLE_WEBHOOKS": "true" }] }, - "extraEnv": { + "extraEnvs": { "type": "array", "default": [], "title": "Extra definitions of environment variables", diff --git a/charts/opentelemetry-operator/values.yaml b/charts/opentelemetry-operator/values.yaml index c768921e2..e8e8735d3 100644 --- a/charts/opentelemetry-operator/values.yaml +++ b/charts/opentelemetry-operator/values.yaml @@ -105,7 +105,7 @@ manager: ENABLE_WEBHOOKS: "true" # Extra definitions of environment variables. - extraEnv: [] + extraEnvs: [] # - name: GOMEMLIMIT # valueFrom: # resourceFieldRef: From 4af07111ffa7c4a7a4fb3682d7aed971a0f3f77b Mon Sep 17 00:00:00 2001 From: Jiri Tyr Date: Thu, 12 Dec 2024 16:37:50 +0000 Subject: [PATCH 3/4] Changing version and updating examples Signed-off-by: Jiri Tyr --- .../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 ++-- .../operator-webhook-with-cert-manager.yaml | 4 ++-- .../examples/feature-gates/rendered/certmanager.yaml | 4 ++-- .../examples/feature-gates/rendered/clusterrole.yaml | 6 +++--- .../examples/feature-gates/rendered/clusterrolebinding.yaml | 4 ++-- .../examples/feature-gates/rendered/deployment.yaml | 2 +- .../examples/feature-gates/rendered/role.yaml | 2 +- .../examples/feature-gates/rendered/rolebinding.yaml | 2 +- .../examples/feature-gates/rendered/service.yaml | 4 ++-- .../examples/feature-gates/rendered/serviceaccount.yaml | 2 +- .../rendered/tests/test-certmanager-connection.yaml | 2 +- .../rendered/tests/test-service-connection.yaml | 4 ++-- 22 files changed, 36 insertions(+), 36 deletions(-) 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 7cd41a540..4993601d3 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.77.0 + helm.sh/chart: opentelemetry-operator-0.78.0 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.116.0" app.kubernetes.io/managed-by: Helm @@ -90,7 +90,7 @@ metadata: annotations: cert-manager.io/inject-ca-from: default/example-opentelemetry-operator-serving-cert labels: - helm.sh/chart: opentelemetry-operator-0.77.0 + helm.sh/chart: opentelemetry-operator-0.78.0 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.116.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 755673d79..5e8b47b3b 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.77.0 + helm.sh/chart: opentelemetry-operator-0.78.0 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.116.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.77.0 + helm.sh/chart: opentelemetry-operator-0.78.0 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.116.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 54d649009..d678463bb 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.77.0 + helm.sh/chart: opentelemetry-operator-0.78.0 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.116.0" app.kubernetes.io/managed-by: Helm @@ -222,7 +222,7 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: labels: - helm.sh/chart: opentelemetry-operator-0.77.0 + helm.sh/chart: opentelemetry-operator-0.78.0 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.116.0" app.kubernetes.io/managed-by: Helm @@ -240,7 +240,7 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: labels: - helm.sh/chart: opentelemetry-operator-0.77.0 + helm.sh/chart: opentelemetry-operator-0.78.0 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.116.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 09c22d184..9158d204a 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.77.0 + helm.sh/chart: opentelemetry-operator-0.78.0 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.116.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.77.0 + helm.sh/chart: opentelemetry-operator-0.78.0 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.116.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 04e10f32d..0df6f2231 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.77.0 + helm.sh/chart: opentelemetry-operator-0.78.0 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.116.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 0396e2e47..3c1e533f6 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.77.0 + helm.sh/chart: opentelemetry-operator-0.78.0 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.116.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 ce388a089..dcd64a806 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.77.0 + helm.sh/chart: opentelemetry-operator-0.78.0 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.116.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 af0fea980..c88242df1 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.77.0 + helm.sh/chart: opentelemetry-operator-0.78.0 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.116.0" app.kubernetes.io/managed-by: Helm @@ -31,7 +31,7 @@ apiVersion: v1 kind: Service metadata: labels: - helm.sh/chart: opentelemetry-operator-0.77.0 + helm.sh/chart: opentelemetry-operator-0.78.0 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.116.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 8a9967354..828dc8bbb 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.77.0 + helm.sh/chart: opentelemetry-operator-0.78.0 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.116.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 774d850f3..986201100 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.77.0 + helm.sh/chart: opentelemetry-operator-0.78.0 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.116.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 9d9166a16..26cf1fe74 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.77.0 + helm.sh/chart: opentelemetry-operator-0.78.0 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.116.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.77.0 + helm.sh/chart: opentelemetry-operator-0.78.0 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.116.0" app.kubernetes.io/managed-by: Helm diff --git a/charts/opentelemetry-operator/examples/feature-gates/rendered/admission-webhooks/operator-webhook-with-cert-manager.yaml b/charts/opentelemetry-operator/examples/feature-gates/rendered/admission-webhooks/operator-webhook-with-cert-manager.yaml index 7cd41a540..4993601d3 100644 --- a/charts/opentelemetry-operator/examples/feature-gates/rendered/admission-webhooks/operator-webhook-with-cert-manager.yaml +++ b/charts/opentelemetry-operator/examples/feature-gates/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.77.0 + helm.sh/chart: opentelemetry-operator-0.78.0 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.116.0" app.kubernetes.io/managed-by: Helm @@ -90,7 +90,7 @@ metadata: annotations: cert-manager.io/inject-ca-from: default/example-opentelemetry-operator-serving-cert labels: - helm.sh/chart: opentelemetry-operator-0.77.0 + helm.sh/chart: opentelemetry-operator-0.78.0 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.116.0" app.kubernetes.io/managed-by: Helm diff --git a/charts/opentelemetry-operator/examples/feature-gates/rendered/certmanager.yaml b/charts/opentelemetry-operator/examples/feature-gates/rendered/certmanager.yaml index 755673d79..5e8b47b3b 100644 --- a/charts/opentelemetry-operator/examples/feature-gates/rendered/certmanager.yaml +++ b/charts/opentelemetry-operator/examples/feature-gates/rendered/certmanager.yaml @@ -4,7 +4,7 @@ apiVersion: cert-manager.io/v1 kind: Certificate metadata: labels: - helm.sh/chart: opentelemetry-operator-0.77.0 + helm.sh/chart: opentelemetry-operator-0.78.0 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.116.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.77.0 + helm.sh/chart: opentelemetry-operator-0.78.0 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.116.0" app.kubernetes.io/managed-by: Helm diff --git a/charts/opentelemetry-operator/examples/feature-gates/rendered/clusterrole.yaml b/charts/opentelemetry-operator/examples/feature-gates/rendered/clusterrole.yaml index 5250a7cd1..5228065f9 100644 --- a/charts/opentelemetry-operator/examples/feature-gates/rendered/clusterrole.yaml +++ b/charts/opentelemetry-operator/examples/feature-gates/rendered/clusterrole.yaml @@ -4,7 +4,7 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: labels: - helm.sh/chart: opentelemetry-operator-0.77.0 + helm.sh/chart: opentelemetry-operator-0.78.0 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.116.0" app.kubernetes.io/managed-by: Helm @@ -256,7 +256,7 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: labels: - helm.sh/chart: opentelemetry-operator-0.77.0 + helm.sh/chart: opentelemetry-operator-0.78.0 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.116.0" app.kubernetes.io/managed-by: Helm @@ -274,7 +274,7 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: labels: - helm.sh/chart: opentelemetry-operator-0.77.0 + helm.sh/chart: opentelemetry-operator-0.78.0 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.116.0" app.kubernetes.io/managed-by: Helm diff --git a/charts/opentelemetry-operator/examples/feature-gates/rendered/clusterrolebinding.yaml b/charts/opentelemetry-operator/examples/feature-gates/rendered/clusterrolebinding.yaml index 09c22d184..9158d204a 100644 --- a/charts/opentelemetry-operator/examples/feature-gates/rendered/clusterrolebinding.yaml +++ b/charts/opentelemetry-operator/examples/feature-gates/rendered/clusterrolebinding.yaml @@ -4,7 +4,7 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: labels: - helm.sh/chart: opentelemetry-operator-0.77.0 + helm.sh/chart: opentelemetry-operator-0.78.0 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.116.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.77.0 + helm.sh/chart: opentelemetry-operator-0.78.0 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.116.0" app.kubernetes.io/managed-by: Helm diff --git a/charts/opentelemetry-operator/examples/feature-gates/rendered/deployment.yaml b/charts/opentelemetry-operator/examples/feature-gates/rendered/deployment.yaml index a24a1df9b..0267f02af 100644 --- a/charts/opentelemetry-operator/examples/feature-gates/rendered/deployment.yaml +++ b/charts/opentelemetry-operator/examples/feature-gates/rendered/deployment.yaml @@ -4,7 +4,7 @@ apiVersion: apps/v1 kind: Deployment metadata: labels: - helm.sh/chart: opentelemetry-operator-0.77.0 + helm.sh/chart: opentelemetry-operator-0.78.0 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.116.0" app.kubernetes.io/managed-by: Helm diff --git a/charts/opentelemetry-operator/examples/feature-gates/rendered/role.yaml b/charts/opentelemetry-operator/examples/feature-gates/rendered/role.yaml index 0396e2e47..3c1e533f6 100644 --- a/charts/opentelemetry-operator/examples/feature-gates/rendered/role.yaml +++ b/charts/opentelemetry-operator/examples/feature-gates/rendered/role.yaml @@ -4,7 +4,7 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: labels: - helm.sh/chart: opentelemetry-operator-0.77.0 + helm.sh/chart: opentelemetry-operator-0.78.0 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.116.0" app.kubernetes.io/managed-by: Helm diff --git a/charts/opentelemetry-operator/examples/feature-gates/rendered/rolebinding.yaml b/charts/opentelemetry-operator/examples/feature-gates/rendered/rolebinding.yaml index ce388a089..dcd64a806 100644 --- a/charts/opentelemetry-operator/examples/feature-gates/rendered/rolebinding.yaml +++ b/charts/opentelemetry-operator/examples/feature-gates/rendered/rolebinding.yaml @@ -4,7 +4,7 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: labels: - helm.sh/chart: opentelemetry-operator-0.77.0 + helm.sh/chart: opentelemetry-operator-0.78.0 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.116.0" app.kubernetes.io/managed-by: Helm diff --git a/charts/opentelemetry-operator/examples/feature-gates/rendered/service.yaml b/charts/opentelemetry-operator/examples/feature-gates/rendered/service.yaml index af0fea980..c88242df1 100644 --- a/charts/opentelemetry-operator/examples/feature-gates/rendered/service.yaml +++ b/charts/opentelemetry-operator/examples/feature-gates/rendered/service.yaml @@ -4,7 +4,7 @@ apiVersion: v1 kind: Service metadata: labels: - helm.sh/chart: opentelemetry-operator-0.77.0 + helm.sh/chart: opentelemetry-operator-0.78.0 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.116.0" app.kubernetes.io/managed-by: Helm @@ -31,7 +31,7 @@ apiVersion: v1 kind: Service metadata: labels: - helm.sh/chart: opentelemetry-operator-0.77.0 + helm.sh/chart: opentelemetry-operator-0.78.0 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.116.0" app.kubernetes.io/managed-by: Helm diff --git a/charts/opentelemetry-operator/examples/feature-gates/rendered/serviceaccount.yaml b/charts/opentelemetry-operator/examples/feature-gates/rendered/serviceaccount.yaml index 8a9967354..828dc8bbb 100644 --- a/charts/opentelemetry-operator/examples/feature-gates/rendered/serviceaccount.yaml +++ b/charts/opentelemetry-operator/examples/feature-gates/rendered/serviceaccount.yaml @@ -6,7 +6,7 @@ metadata: name: opentelemetry-operator namespace: default labels: - helm.sh/chart: opentelemetry-operator-0.77.0 + helm.sh/chart: opentelemetry-operator-0.78.0 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.116.0" app.kubernetes.io/managed-by: Helm diff --git a/charts/opentelemetry-operator/examples/feature-gates/rendered/tests/test-certmanager-connection.yaml b/charts/opentelemetry-operator/examples/feature-gates/rendered/tests/test-certmanager-connection.yaml index 774d850f3..986201100 100644 --- a/charts/opentelemetry-operator/examples/feature-gates/rendered/tests/test-certmanager-connection.yaml +++ b/charts/opentelemetry-operator/examples/feature-gates/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.77.0 + helm.sh/chart: opentelemetry-operator-0.78.0 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.116.0" app.kubernetes.io/managed-by: Helm diff --git a/charts/opentelemetry-operator/examples/feature-gates/rendered/tests/test-service-connection.yaml b/charts/opentelemetry-operator/examples/feature-gates/rendered/tests/test-service-connection.yaml index 9d9166a16..26cf1fe74 100644 --- a/charts/opentelemetry-operator/examples/feature-gates/rendered/tests/test-service-connection.yaml +++ b/charts/opentelemetry-operator/examples/feature-gates/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.77.0 + helm.sh/chart: opentelemetry-operator-0.78.0 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.116.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.77.0 + helm.sh/chart: opentelemetry-operator-0.78.0 app.kubernetes.io/name: opentelemetry-operator app.kubernetes.io/version: "0.116.0" app.kubernetes.io/managed-by: Helm From 0640a37a0b31ab13bc970c5dd3215986a855a767 Mon Sep 17 00:00:00 2001 From: Jiri Tyr Date: Mon, 23 Dec 2024 20:34:27 +0000 Subject: [PATCH 4/4] Adding deprecation notice for env --- charts/opentelemetry-operator/values.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/opentelemetry-operator/values.yaml b/charts/opentelemetry-operator/values.yaml index e8e8735d3..8e300a987 100644 --- a/charts/opentelemetry-operator/values.yaml +++ b/charts/opentelemetry-operator/values.yaml @@ -99,7 +99,7 @@ manager: cpu: 100m memory: 64Mi # ephemeral-storage: 50Mi - ## Adds additional environment variables + ## Adds additional environment variables. This property will be deprecated. Please use extraEnvs instead. ## e.g ENV_VAR: env_value env: ENABLE_WEBHOOKS: "true"