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/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 diff --git a/charts/opentelemetry-operator/templates/deployment.yaml b/charts/opentelemetry-operator/templates/deployment.yaml index 11dd5378a..39441c641 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.extraEnvs .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.extraEnvs }} + {{- . | 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..c2be1c343 100644 --- a/charts/opentelemetry-operator/values.schema.json +++ b/charts/opentelemetry-operator/values.schema.json @@ -132,6 +132,7 @@ "featureGates", "ports", "env", + "extraEnvs", "serviceAccount", "serviceMonitor", "deploymentAnnotations", @@ -720,6 +721,20 @@ "ENABLE_WEBHOOKS": "true" }] }, + "extraEnvs": { + "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..8e300a987 100644 --- a/charts/opentelemetry-operator/values.yaml +++ b/charts/opentelemetry-operator/values.yaml @@ -99,11 +99,19 @@ 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" + # Extra definitions of environment variables. + extraEnvs: [] + # - name: GOMEMLIMIT + # valueFrom: + # resourceFieldRef: + # containerName: manager + # resource: limits.memory + # -- Create the manager ServiceAccount serviceAccount: create: true