diff --git a/.github/workflows/operator-test.yaml b/.github/workflows/operator-test.yaml index 0d21f290e..eeb3b4ad5 100644 --- a/.github/workflows/operator-test.yaml +++ b/.github/workflows/operator-test.yaml @@ -58,7 +58,8 @@ jobs: run: | helm install --namespace=opentelemetry-operator-system --create-namespace my-opentelemetry-operator ./charts/opentelemetry-operator \ --set 'manager.extraArgs[0]="--enable-go-instrumentation"' \ - --set "manager.collectorImage.repository=otel/opentelemetry-collector-k8s" + --set "manager.collectorImage.repository=otel/opentelemetry-collector-k8s" \ + --set "manager.podLabels.control-plane=controller-manager" kubectl wait --timeout=5m --for=condition=available deployment my-opentelemetry-operator -n opentelemetry-operator-system - name: Run e2e tests @@ -111,6 +112,7 @@ jobs: helm install --namespace=opentelemetry-operator-system --create-namespace my-opentelemetry-operator ./charts/opentelemetry-operator \ --set 'manager.extraArgs[0]="--enable-go-instrumentation"' \ --set "manager.collectorImage.repository=otel/opentelemetry-collector-k8s" \ + --set "manager.podLabels.control-plane=controller-manager" \ --set "admissionWebhooks.certManager.enabled=false" kubectl wait --timeout=5m --for=condition=available deployment my-opentelemetry-operator -n opentelemetry-operator-system diff --git a/charts/opentelemetry-operator/Chart.yaml b/charts/opentelemetry-operator/Chart.yaml index e27ff508a..8beabb67a 100644 --- a/charts/opentelemetry-operator/Chart.yaml +++ b/charts/opentelemetry-operator/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: opentelemetry-operator -version: 0.74.3 +version: 0.75.0 description: OpenTelemetry Operator Helm chart for Kubernetes type: application home: https://opentelemetry.io/ @@ -12,4 +12,4 @@ maintainers: - name: jaronoff97 - name: TylerHelmuth icon: https://raw.githubusercontent.com/cncf/artwork/a718fa97fffec1b9fd14147682e9e3ac0c8817cb/projects/opentelemetry/icon/color/opentelemetry-icon-color.png -appVersion: 0.113.0 +appVersion: 0.114.1 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 66c4dac93..b3ae775aa 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,9 +6,9 @@ metadata: annotations: cert-manager.io/inject-ca-from: default/example-opentelemetry-operator-serving-cert labels: - helm.sh/chart: opentelemetry-operator-0.74.3 + helm.sh/chart: opentelemetry-operator-0.75.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.113.0" + app.kubernetes.io/version: "0.114.1" app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: example app.kubernetes.io/component: webhook @@ -90,9 +90,9 @@ metadata: annotations: cert-manager.io/inject-ca-from: default/example-opentelemetry-operator-serving-cert labels: - helm.sh/chart: opentelemetry-operator-0.74.3 + helm.sh/chart: opentelemetry-operator-0.75.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.113.0" + app.kubernetes.io/version: "0.114.1" app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: example app.kubernetes.io/component: webhook diff --git a/charts/opentelemetry-operator/examples/default/rendered/certmanager.yaml b/charts/opentelemetry-operator/examples/default/rendered/certmanager.yaml index 7336a248e..801084853 100644 --- a/charts/opentelemetry-operator/examples/default/rendered/certmanager.yaml +++ b/charts/opentelemetry-operator/examples/default/rendered/certmanager.yaml @@ -4,9 +4,9 @@ apiVersion: cert-manager.io/v1 kind: Certificate metadata: labels: - helm.sh/chart: opentelemetry-operator-0.74.3 + helm.sh/chart: opentelemetry-operator-0.75.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.113.0" + app.kubernetes.io/version: "0.114.1" app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: example app.kubernetes.io/component: webhook @@ -29,9 +29,9 @@ apiVersion: cert-manager.io/v1 kind: Issuer metadata: labels: - helm.sh/chart: opentelemetry-operator-0.74.3 + helm.sh/chart: opentelemetry-operator-0.75.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.113.0" + app.kubernetes.io/version: "0.114.1" app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: example app.kubernetes.io/component: webhook diff --git a/charts/opentelemetry-operator/examples/default/rendered/clusterrole.yaml b/charts/opentelemetry-operator/examples/default/rendered/clusterrole.yaml index 32f886b27..a063938a5 100644 --- a/charts/opentelemetry-operator/examples/default/rendered/clusterrole.yaml +++ b/charts/opentelemetry-operator/examples/default/rendered/clusterrole.yaml @@ -4,9 +4,9 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: labels: - helm.sh/chart: opentelemetry-operator-0.74.3 + helm.sh/chart: opentelemetry-operator-0.75.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.113.0" + app.kubernetes.io/version: "0.114.1" app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: example app.kubernetes.io/component: controller-manager @@ -222,9 +222,9 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: labels: - helm.sh/chart: opentelemetry-operator-0.74.3 + helm.sh/chart: opentelemetry-operator-0.75.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.113.0" + app.kubernetes.io/version: "0.114.1" app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: example app.kubernetes.io/component: controller-manager @@ -240,9 +240,9 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: labels: - helm.sh/chart: opentelemetry-operator-0.74.3 + helm.sh/chart: opentelemetry-operator-0.75.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.113.0" + app.kubernetes.io/version: "0.114.1" app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: example app.kubernetes.io/component: controller-manager diff --git a/charts/opentelemetry-operator/examples/default/rendered/clusterrolebinding.yaml b/charts/opentelemetry-operator/examples/default/rendered/clusterrolebinding.yaml index 289a62da3..d0e3ede1f 100644 --- a/charts/opentelemetry-operator/examples/default/rendered/clusterrolebinding.yaml +++ b/charts/opentelemetry-operator/examples/default/rendered/clusterrolebinding.yaml @@ -4,9 +4,9 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: labels: - helm.sh/chart: opentelemetry-operator-0.74.3 + helm.sh/chart: opentelemetry-operator-0.75.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.113.0" + app.kubernetes.io/version: "0.114.1" app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: example app.kubernetes.io/component: controller-manager @@ -25,9 +25,9 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: labels: - helm.sh/chart: opentelemetry-operator-0.74.3 + helm.sh/chart: opentelemetry-operator-0.75.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.113.0" + app.kubernetes.io/version: "0.114.1" app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: example app.kubernetes.io/component: controller-manager diff --git a/charts/opentelemetry-operator/examples/default/rendered/deployment.yaml b/charts/opentelemetry-operator/examples/default/rendered/deployment.yaml index e90aa09e9..b22ff9cea 100644 --- a/charts/opentelemetry-operator/examples/default/rendered/deployment.yaml +++ b/charts/opentelemetry-operator/examples/default/rendered/deployment.yaml @@ -4,9 +4,9 @@ apiVersion: apps/v1 kind: Deployment metadata: labels: - helm.sh/chart: opentelemetry-operator-0.74.3 + helm.sh/chart: opentelemetry-operator-0.75.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.113.0" + app.kubernetes.io/version: "0.114.1" app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: example app.kubernetes.io/component: controller-manager @@ -33,13 +33,13 @@ spec: - --enable-leader-election - --health-probe-addr=:8081 - --webhook-port=9443 - - --collector-image=otel/opentelemetry-collector-k8s:0.113.0 + - --collector-image=otel/opentelemetry-collector-k8s:0.114.0 command: - /manager env: - name: ENABLE_WEBHOOKS value: "true" - image: "ghcr.io/open-telemetry/opentelemetry-operator/opentelemetry-operator:0.113.0" + image: "ghcr.io/open-telemetry/opentelemetry-operator/opentelemetry-operator:0.114.1" name: manager ports: - containerPort: 8080 diff --git a/charts/opentelemetry-operator/examples/default/rendered/role.yaml b/charts/opentelemetry-operator/examples/default/rendered/role.yaml index af40d6cbf..0a64fe86e 100644 --- a/charts/opentelemetry-operator/examples/default/rendered/role.yaml +++ b/charts/opentelemetry-operator/examples/default/rendered/role.yaml @@ -4,9 +4,9 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: labels: - helm.sh/chart: opentelemetry-operator-0.74.3 + helm.sh/chart: opentelemetry-operator-0.75.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.113.0" + app.kubernetes.io/version: "0.114.1" app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: example app.kubernetes.io/component: controller-manager diff --git a/charts/opentelemetry-operator/examples/default/rendered/rolebinding.yaml b/charts/opentelemetry-operator/examples/default/rendered/rolebinding.yaml index 9f6773424..6c1728f64 100644 --- a/charts/opentelemetry-operator/examples/default/rendered/rolebinding.yaml +++ b/charts/opentelemetry-operator/examples/default/rendered/rolebinding.yaml @@ -4,9 +4,9 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: labels: - helm.sh/chart: opentelemetry-operator-0.74.3 + helm.sh/chart: opentelemetry-operator-0.75.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.113.0" + app.kubernetes.io/version: "0.114.1" app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: example app.kubernetes.io/component: controller-manager diff --git a/charts/opentelemetry-operator/examples/default/rendered/service.yaml b/charts/opentelemetry-operator/examples/default/rendered/service.yaml index 1789a4ab2..61e1d4b5c 100644 --- a/charts/opentelemetry-operator/examples/default/rendered/service.yaml +++ b/charts/opentelemetry-operator/examples/default/rendered/service.yaml @@ -4,9 +4,9 @@ apiVersion: v1 kind: Service metadata: labels: - helm.sh/chart: opentelemetry-operator-0.74.3 + helm.sh/chart: opentelemetry-operator-0.75.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.113.0" + app.kubernetes.io/version: "0.114.1" app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: example app.kubernetes.io/component: controller-manager @@ -31,9 +31,9 @@ apiVersion: v1 kind: Service metadata: labels: - helm.sh/chart: opentelemetry-operator-0.74.3 + helm.sh/chart: opentelemetry-operator-0.75.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.113.0" + app.kubernetes.io/version: "0.114.1" app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: example app.kubernetes.io/component: controller-manager diff --git a/charts/opentelemetry-operator/examples/default/rendered/serviceaccount.yaml b/charts/opentelemetry-operator/examples/default/rendered/serviceaccount.yaml index f1909af9c..c303f5047 100644 --- a/charts/opentelemetry-operator/examples/default/rendered/serviceaccount.yaml +++ b/charts/opentelemetry-operator/examples/default/rendered/serviceaccount.yaml @@ -6,9 +6,9 @@ metadata: name: opentelemetry-operator namespace: default labels: - helm.sh/chart: opentelemetry-operator-0.74.3 + helm.sh/chart: opentelemetry-operator-0.75.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.113.0" + app.kubernetes.io/version: "0.114.1" app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: example app.kubernetes.io/component: controller-manager 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 b5b143210..63efbff62 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,9 +6,9 @@ metadata: name: "example-opentelemetry-operator-cert-manager" namespace: default labels: - helm.sh/chart: opentelemetry-operator-0.74.3 + helm.sh/chart: opentelemetry-operator-0.75.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.113.0" + app.kubernetes.io/version: "0.114.1" app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: example app.kubernetes.io/component: webhook 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 897e8edca..fbfa84e2b 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,9 +6,9 @@ metadata: name: "example-opentelemetry-operator-metrics" namespace: default labels: - helm.sh/chart: opentelemetry-operator-0.74.3 + helm.sh/chart: opentelemetry-operator-0.75.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.113.0" + app.kubernetes.io/version: "0.114.1" app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: example app.kubernetes.io/component: controller-manager @@ -43,9 +43,9 @@ metadata: name: "example-opentelemetry-operator-webhook" namespace: default labels: - helm.sh/chart: opentelemetry-operator-0.74.3 + helm.sh/chart: opentelemetry-operator-0.75.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.113.0" + app.kubernetes.io/version: "0.114.1" app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: example app.kubernetes.io/component: controller-manager 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 66c4dac93..b3ae775aa 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,9 +6,9 @@ metadata: annotations: cert-manager.io/inject-ca-from: default/example-opentelemetry-operator-serving-cert labels: - helm.sh/chart: opentelemetry-operator-0.74.3 + helm.sh/chart: opentelemetry-operator-0.75.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.113.0" + app.kubernetes.io/version: "0.114.1" app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: example app.kubernetes.io/component: webhook @@ -90,9 +90,9 @@ metadata: annotations: cert-manager.io/inject-ca-from: default/example-opentelemetry-operator-serving-cert labels: - helm.sh/chart: opentelemetry-operator-0.74.3 + helm.sh/chart: opentelemetry-operator-0.75.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.113.0" + app.kubernetes.io/version: "0.114.1" app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: example app.kubernetes.io/component: webhook diff --git a/charts/opentelemetry-operator/examples/feature-gates/rendered/certmanager.yaml b/charts/opentelemetry-operator/examples/feature-gates/rendered/certmanager.yaml index 7336a248e..801084853 100644 --- a/charts/opentelemetry-operator/examples/feature-gates/rendered/certmanager.yaml +++ b/charts/opentelemetry-operator/examples/feature-gates/rendered/certmanager.yaml @@ -4,9 +4,9 @@ apiVersion: cert-manager.io/v1 kind: Certificate metadata: labels: - helm.sh/chart: opentelemetry-operator-0.74.3 + helm.sh/chart: opentelemetry-operator-0.75.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.113.0" + app.kubernetes.io/version: "0.114.1" app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: example app.kubernetes.io/component: webhook @@ -29,9 +29,9 @@ apiVersion: cert-manager.io/v1 kind: Issuer metadata: labels: - helm.sh/chart: opentelemetry-operator-0.74.3 + helm.sh/chart: opentelemetry-operator-0.75.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.113.0" + app.kubernetes.io/version: "0.114.1" app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: example app.kubernetes.io/component: webhook diff --git a/charts/opentelemetry-operator/examples/feature-gates/rendered/clusterrole.yaml b/charts/opentelemetry-operator/examples/feature-gates/rendered/clusterrole.yaml index 06b7d9d53..481e3b909 100644 --- a/charts/opentelemetry-operator/examples/feature-gates/rendered/clusterrole.yaml +++ b/charts/opentelemetry-operator/examples/feature-gates/rendered/clusterrole.yaml @@ -4,9 +4,9 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: labels: - helm.sh/chart: opentelemetry-operator-0.74.3 + helm.sh/chart: opentelemetry-operator-0.75.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.113.0" + app.kubernetes.io/version: "0.114.1" app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: example app.kubernetes.io/component: controller-manager @@ -216,6 +216,26 @@ rules: - patch - update - watch + - apiGroups: + - opentelemetry.io + resources: + - targetallocators + verbs: + - create + - delete + - get + - list + - patch + - update + - watch + - apiGroups: + - opentelemetry.io + resources: + - targetallocators/status + verbs: + - get + - patch + - update - apiGroups: - cert-manager.io resources: @@ -236,9 +256,9 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: labels: - helm.sh/chart: opentelemetry-operator-0.74.3 + helm.sh/chart: opentelemetry-operator-0.75.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.113.0" + app.kubernetes.io/version: "0.114.1" app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: example app.kubernetes.io/component: controller-manager @@ -254,9 +274,9 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: labels: - helm.sh/chart: opentelemetry-operator-0.74.3 + helm.sh/chart: opentelemetry-operator-0.75.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.113.0" + app.kubernetes.io/version: "0.114.1" app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: example app.kubernetes.io/component: controller-manager diff --git a/charts/opentelemetry-operator/examples/feature-gates/rendered/clusterrolebinding.yaml b/charts/opentelemetry-operator/examples/feature-gates/rendered/clusterrolebinding.yaml index 289a62da3..d0e3ede1f 100644 --- a/charts/opentelemetry-operator/examples/feature-gates/rendered/clusterrolebinding.yaml +++ b/charts/opentelemetry-operator/examples/feature-gates/rendered/clusterrolebinding.yaml @@ -4,9 +4,9 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: labels: - helm.sh/chart: opentelemetry-operator-0.74.3 + helm.sh/chart: opentelemetry-operator-0.75.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.113.0" + app.kubernetes.io/version: "0.114.1" app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: example app.kubernetes.io/component: controller-manager @@ -25,9 +25,9 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: labels: - helm.sh/chart: opentelemetry-operator-0.74.3 + helm.sh/chart: opentelemetry-operator-0.75.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.113.0" + app.kubernetes.io/version: "0.114.1" app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: example app.kubernetes.io/component: controller-manager diff --git a/charts/opentelemetry-operator/examples/feature-gates/rendered/deployment.yaml b/charts/opentelemetry-operator/examples/feature-gates/rendered/deployment.yaml index e51e5a4e3..34acd6834 100644 --- a/charts/opentelemetry-operator/examples/feature-gates/rendered/deployment.yaml +++ b/charts/opentelemetry-operator/examples/feature-gates/rendered/deployment.yaml @@ -4,9 +4,9 @@ apiVersion: apps/v1 kind: Deployment metadata: labels: - helm.sh/chart: opentelemetry-operator-0.74.3 + helm.sh/chart: opentelemetry-operator-0.75.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.113.0" + app.kubernetes.io/version: "0.114.1" app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: example app.kubernetes.io/component: controller-manager @@ -33,14 +33,14 @@ spec: - --enable-leader-election - --health-probe-addr=:8081 - --webhook-port=9443 - - --collector-image=otel/opentelemetry-collector-k8s:0.113.0 + - --collector-image=otel/opentelemetry-collector-k8s:0.114.0 - --feature-gates=operator.targetallocator.mtls command: - /manager env: - name: ENABLE_WEBHOOKS value: "true" - image: "ghcr.io/open-telemetry/opentelemetry-operator/opentelemetry-operator:0.113.0" + image: "ghcr.io/open-telemetry/opentelemetry-operator/opentelemetry-operator:0.114.1" name: manager ports: - containerPort: 8080 diff --git a/charts/opentelemetry-operator/examples/feature-gates/rendered/role.yaml b/charts/opentelemetry-operator/examples/feature-gates/rendered/role.yaml index af40d6cbf..0a64fe86e 100644 --- a/charts/opentelemetry-operator/examples/feature-gates/rendered/role.yaml +++ b/charts/opentelemetry-operator/examples/feature-gates/rendered/role.yaml @@ -4,9 +4,9 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: labels: - helm.sh/chart: opentelemetry-operator-0.74.3 + helm.sh/chart: opentelemetry-operator-0.75.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.113.0" + app.kubernetes.io/version: "0.114.1" app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: example app.kubernetes.io/component: controller-manager diff --git a/charts/opentelemetry-operator/examples/feature-gates/rendered/rolebinding.yaml b/charts/opentelemetry-operator/examples/feature-gates/rendered/rolebinding.yaml index 9f6773424..6c1728f64 100644 --- a/charts/opentelemetry-operator/examples/feature-gates/rendered/rolebinding.yaml +++ b/charts/opentelemetry-operator/examples/feature-gates/rendered/rolebinding.yaml @@ -4,9 +4,9 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: labels: - helm.sh/chart: opentelemetry-operator-0.74.3 + helm.sh/chart: opentelemetry-operator-0.75.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.113.0" + app.kubernetes.io/version: "0.114.1" app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: example app.kubernetes.io/component: controller-manager diff --git a/charts/opentelemetry-operator/examples/feature-gates/rendered/service.yaml b/charts/opentelemetry-operator/examples/feature-gates/rendered/service.yaml index 1789a4ab2..61e1d4b5c 100644 --- a/charts/opentelemetry-operator/examples/feature-gates/rendered/service.yaml +++ b/charts/opentelemetry-operator/examples/feature-gates/rendered/service.yaml @@ -4,9 +4,9 @@ apiVersion: v1 kind: Service metadata: labels: - helm.sh/chart: opentelemetry-operator-0.74.3 + helm.sh/chart: opentelemetry-operator-0.75.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.113.0" + app.kubernetes.io/version: "0.114.1" app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: example app.kubernetes.io/component: controller-manager @@ -31,9 +31,9 @@ apiVersion: v1 kind: Service metadata: labels: - helm.sh/chart: opentelemetry-operator-0.74.3 + helm.sh/chart: opentelemetry-operator-0.75.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.113.0" + app.kubernetes.io/version: "0.114.1" app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: example app.kubernetes.io/component: controller-manager diff --git a/charts/opentelemetry-operator/examples/feature-gates/rendered/serviceaccount.yaml b/charts/opentelemetry-operator/examples/feature-gates/rendered/serviceaccount.yaml index f1909af9c..c303f5047 100644 --- a/charts/opentelemetry-operator/examples/feature-gates/rendered/serviceaccount.yaml +++ b/charts/opentelemetry-operator/examples/feature-gates/rendered/serviceaccount.yaml @@ -6,9 +6,9 @@ metadata: name: opentelemetry-operator namespace: default labels: - helm.sh/chart: opentelemetry-operator-0.74.3 + helm.sh/chart: opentelemetry-operator-0.75.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.113.0" + app.kubernetes.io/version: "0.114.1" app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: example app.kubernetes.io/component: controller-manager 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 b5b143210..63efbff62 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,9 +6,9 @@ metadata: name: "example-opentelemetry-operator-cert-manager" namespace: default labels: - helm.sh/chart: opentelemetry-operator-0.74.3 + helm.sh/chart: opentelemetry-operator-0.75.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.113.0" + app.kubernetes.io/version: "0.114.1" app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: example app.kubernetes.io/component: webhook 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 897e8edca..fbfa84e2b 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,9 +6,9 @@ metadata: name: "example-opentelemetry-operator-metrics" namespace: default labels: - helm.sh/chart: opentelemetry-operator-0.74.3 + helm.sh/chart: opentelemetry-operator-0.75.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.113.0" + app.kubernetes.io/version: "0.114.1" app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: example app.kubernetes.io/component: controller-manager @@ -43,9 +43,9 @@ metadata: name: "example-opentelemetry-operator-webhook" namespace: default labels: - helm.sh/chart: opentelemetry-operator-0.74.3 + helm.sh/chart: opentelemetry-operator-0.75.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.113.0" + app.kubernetes.io/version: "0.114.1" app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: example app.kubernetes.io/component: controller-manager diff --git a/charts/opentelemetry-operator/templates/clusterrole.yaml b/charts/opentelemetry-operator/templates/clusterrole.yaml index e37e9adba..030d11b89 100644 --- a/charts/opentelemetry-operator/templates/clusterrole.yaml +++ b/charts/opentelemetry-operator/templates/clusterrole.yaml @@ -92,6 +92,7 @@ rules: resources: - nodes - namespaces + - secrets verbs: - get - list @@ -236,6 +237,28 @@ rules: - update - watch {{- if .Values.manager.featureGatesMap }} + {{- if ".Values.manager.featureGatesMap.operator.targetAllocatorCR" }} + - apiGroups: + - opentelemetry.io + resources: + - targetallocators + verbs: + - create + - delete + - get + - list + - patch + - update + - watch + - apiGroups: + - opentelemetry.io + resources: + - targetallocators/status + verbs: + - get + - patch + - update + {{- end }} {{- if ".Values.manager.featureGatesMap.operator.targetallocator.mtls" }} - apiGroups: - cert-manager.io diff --git a/charts/opentelemetry-operator/values.yaml b/charts/opentelemetry-operator/values.yaml index da89226f1..abdd5cebe 100644 --- a/charts/opentelemetry-operator/values.yaml +++ b/charts/opentelemetry-operator/values.yaml @@ -42,7 +42,7 @@ manager: tag: "" collectorImage: repository: "" - tag: 0.113.0 + tag: 0.114.0 opampBridgeImage: repository: "" tag: "" @@ -81,6 +81,7 @@ manager: featureGatesMap: {} # targetAllocatorMtls: false # targetAllocatorCR: false + # targetAllocatorFallbackStrategy: false # nativeSideCarContainers: false # prometheusOperator: false # golangFlags: false