diff --git a/.github/workflows/operator-test.yaml b/.github/workflows/operator-test.yaml index 1915109f3..0664539cb 100644 --- a/.github/workflows/operator-test.yaml +++ b/.github/workflows/operator-test.yaml @@ -46,7 +46,7 @@ jobs: git clone -b v"$appVersion" --single-branch https://github.com/open-telemetry/opentelemetry-operator.git ./opentelemetry-operator - name: Install chainsaw - uses: kyverno/action-install-chainsaw@v0.1.6 + uses: kyverno/action-install-chainsaw@v0.1.7 - name: Install metrics-server run: | diff --git a/charts/opentelemetry-operator/Chart.yaml b/charts/opentelemetry-operator/Chart.yaml index 8bf38b4fd..3a5e3b99f 100644 --- a/charts/opentelemetry-operator/Chart.yaml +++ b/charts/opentelemetry-operator/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: opentelemetry-operator -version: 0.48.0 +version: 0.49.0 description: OpenTelemetry Operator Helm chart for Kubernetes type: application home: https://opentelemetry.io/ @@ -11,4 +11,4 @@ maintainers: - name: dmitryax - name: TylerHelmuth icon: https://raw.githubusercontent.com/cncf/artwork/a718fa97fffec1b9fd14147682e9e3ac0c8817cb/projects/opentelemetry/icon/color/opentelemetry-icon-color.png -appVersion: 0.94.0 +appVersion: 0.95.0 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 3504ca1c0..aafaa159c 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.48.0 + helm.sh/chart: opentelemetry-operator-0.49.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.94.0" + app.kubernetes.io/version: "0.95.0" app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: example app.kubernetes.io/component: webhook @@ -91,9 +91,9 @@ metadata: annotations: cert-manager.io/inject-ca-from: default/example-opentelemetry-operator-serving-cert labels: - helm.sh/chart: opentelemetry-operator-0.48.0 + helm.sh/chart: opentelemetry-operator-0.49.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.94.0" + app.kubernetes.io/version: "0.95.0" 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 032b29af4..2761648a6 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.48.0 + helm.sh/chart: opentelemetry-operator-0.49.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.94.0" + app.kubernetes.io/version: "0.95.0" 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.48.0 + helm.sh/chart: opentelemetry-operator-0.49.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.94.0" + app.kubernetes.io/version: "0.95.0" 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 78d4cc97e..6dd8aa03f 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.48.0 + helm.sh/chart: opentelemetry-operator-0.49.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.94.0" + app.kubernetes.io/version: "0.95.0" app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: example app.kubernetes.io/component: controller-manager @@ -16,6 +16,11 @@ rules: - "" resources: - configmaps + - persistentvolumeclaims + - persistentvolumes + - pods + - serviceaccounts + - services verbs: - create - delete @@ -38,46 +43,12 @@ rules: verbs: - list - watch - - apiGroups: - - "" - resources: - - serviceaccounts - verbs: - - create - - delete - - get - - list - - patch - - update - - watch - - apiGroups: - - "" - resources: - - services - verbs: - - create - - delete - - get - - list - - patch - - update - - watch - apiGroups: - apps resources: - daemonsets - verbs: - - create - - delete - - get - - list - - patch - - update - - watch - - apiGroups: - - apps - resources: - deployments + - statefulsets verbs: - create - delete @@ -95,9 +66,9 @@ rules: - list - watch - apiGroups: - - apps + - autoscaling resources: - - statefulsets + - horizontalpodautoscalers verbs: - create - delete @@ -107,16 +78,13 @@ rules: - update - watch - apiGroups: - - autoscaling + - config.openshift.io resources: - - horizontalpodautoscalers + - infrastructures + - infrastructures/status verbs: - - create - - delete - get - list - - patch - - update - watch - apiGroups: - coordination.k8s.io @@ -130,8 +98,8 @@ rules: - apiGroups: - monitoring.coreos.com resources: - - servicemonitors - podmonitors + - servicemonitors verbs: - create - delete @@ -165,8 +133,10 @@ rules: - apiGroups: - opentelemetry.io resources: - - opentelemetrycollectors + - opampbridges verbs: + - create + - delete - get - list - patch @@ -175,15 +145,13 @@ rules: - apiGroups: - opentelemetry.io resources: - - opentelemetrycollectors/finalizers + - opampbridges/finalizers verbs: - - get - - patch - update - apiGroups: - opentelemetry.io resources: - - opentelemetrycollectors/status + - opampbridges/status verbs: - get - patch @@ -191,7 +159,7 @@ rules: - apiGroups: - opentelemetry.io resources: - - opampbridges + - opentelemetrycollectors verbs: - get - list @@ -201,7 +169,7 @@ rules: - apiGroups: - opentelemetry.io resources: - - opampbridges/finalizers + - opentelemetrycollectors/finalizers verbs: - get - patch @@ -209,36 +177,28 @@ rules: - apiGroups: - opentelemetry.io resources: - - opampbridges/status + - opentelemetrycollectors/status verbs: - get - patch - update - apiGroups: - - route.openshift.io - resources: - - routes - - routes/custom-host - verbs: - - create - - delete - - get - - list - - patch - - update - - watch - - apiGroups: - - discovery.k8s.io + - policy resources: - - endpointslices + - poddisruptionbudgets verbs: - - get - - list - - watch + - create + - delete + - get + - list + - patch + - update + - watch - apiGroups: - - policy + - route.openshift.io resources: - - poddisruptionbudgets + - routes + - routes/custom-host verbs: - create - delete @@ -253,9 +213,9 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: labels: - helm.sh/chart: opentelemetry-operator-0.48.0 + helm.sh/chart: opentelemetry-operator-0.49.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.94.0" + app.kubernetes.io/version: "0.95.0" app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: example app.kubernetes.io/component: controller-manager @@ -271,9 +231,9 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: labels: - helm.sh/chart: opentelemetry-operator-0.48.0 + helm.sh/chart: opentelemetry-operator-0.49.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.94.0" + app.kubernetes.io/version: "0.95.0" 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 c512eda25..1b93b7269 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.48.0 + helm.sh/chart: opentelemetry-operator-0.49.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.94.0" + app.kubernetes.io/version: "0.95.0" 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.48.0 + helm.sh/chart: opentelemetry-operator-0.49.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.94.0" + app.kubernetes.io/version: "0.95.0" 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 a9fb4b190..b3e1e83a4 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.48.0 + helm.sh/chart: opentelemetry-operator-0.49.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.94.0" + app.kubernetes.io/version: "0.95.0" 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-contrib:0.94.0 + - --collector-image=otel/opentelemetry-collector-contrib:0.95.0 command: - /manager env: - name: ENABLE_WEBHOOKS value: "true" - image: "ghcr.io/open-telemetry/opentelemetry-operator/opentelemetry-operator:0.94.0" + image: "ghcr.io/open-telemetry/opentelemetry-operator/opentelemetry-operator:0.95.0" 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 35ee4ffc8..3592446b8 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.48.0 + helm.sh/chart: opentelemetry-operator-0.49.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.94.0" + app.kubernetes.io/version: "0.95.0" 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 20afa0522..8e662aefb 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.48.0 + helm.sh/chart: opentelemetry-operator-0.49.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.94.0" + app.kubernetes.io/version: "0.95.0" 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 bd00b7dda..a80b83644 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.48.0 + helm.sh/chart: opentelemetry-operator-0.49.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.94.0" + app.kubernetes.io/version: "0.95.0" 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.48.0 + helm.sh/chart: opentelemetry-operator-0.49.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.94.0" + app.kubernetes.io/version: "0.95.0" 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 5d577fcb5..5bf941a1f 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.48.0 + helm.sh/chart: opentelemetry-operator-0.49.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.94.0" + app.kubernetes.io/version: "0.95.0" 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 caeb3a333..1b3e0fe67 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.48.0 + helm.sh/chart: opentelemetry-operator-0.49.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.94.0" + app.kubernetes.io/version: "0.95.0" 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 fe4f0bc47..56ec3fc12 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.48.0 + helm.sh/chart: opentelemetry-operator-0.49.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.94.0" + app.kubernetes.io/version: "0.95.0" 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.48.0 + helm.sh/chart: opentelemetry-operator-0.49.0 app.kubernetes.io/name: opentelemetry-operator - app.kubernetes.io/version: "0.94.0" + app.kubernetes.io/version: "0.95.0" 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 6369ecb5b..2f89e601b 100644 --- a/charts/opentelemetry-operator/templates/clusterrole.yaml +++ b/charts/opentelemetry-operator/templates/clusterrole.yaml @@ -11,6 +11,11 @@ rules: - "" resources: - configmaps + - persistentvolumeclaims + - persistentvolumes + - pods + - serviceaccounts + - services verbs: - create - delete @@ -33,46 +38,12 @@ rules: verbs: - list - watch - - apiGroups: - - "" - resources: - - serviceaccounts - verbs: - - create - - delete - - get - - list - - patch - - update - - watch - - apiGroups: - - "" - resources: - - services - verbs: - - create - - delete - - get - - list - - patch - - update - - watch - apiGroups: - apps resources: - daemonsets - verbs: - - create - - delete - - get - - list - - patch - - update - - watch - - apiGroups: - - apps - resources: - deployments + - statefulsets verbs: - create - delete @@ -90,9 +61,9 @@ rules: - list - watch - apiGroups: - - apps + - autoscaling resources: - - statefulsets + - horizontalpodautoscalers verbs: - create - delete @@ -102,16 +73,13 @@ rules: - update - watch - apiGroups: - - autoscaling + - config.openshift.io resources: - - horizontalpodautoscalers + - infrastructures + - infrastructures/status verbs: - - create - - delete - get - list - - patch - - update - watch - apiGroups: - coordination.k8s.io @@ -125,8 +93,8 @@ rules: - apiGroups: - monitoring.coreos.com resources: - - servicemonitors - podmonitors + - servicemonitors verbs: - create - delete @@ -160,8 +128,10 @@ rules: - apiGroups: - opentelemetry.io resources: - - opentelemetrycollectors + - opampbridges verbs: + - create + - delete - get - list - patch @@ -170,15 +140,13 @@ rules: - apiGroups: - opentelemetry.io resources: - - opentelemetrycollectors/finalizers + - opampbridges/finalizers verbs: - - get - - patch - update - apiGroups: - opentelemetry.io resources: - - opentelemetrycollectors/status + - opampbridges/status verbs: - get - patch @@ -186,7 +154,7 @@ rules: - apiGroups: - opentelemetry.io resources: - - opampbridges + - opentelemetrycollectors verbs: - get - list @@ -196,7 +164,7 @@ rules: - apiGroups: - opentelemetry.io resources: - - opampbridges/finalizers + - opentelemetrycollectors/finalizers verbs: - get - patch @@ -204,36 +172,28 @@ rules: - apiGroups: - opentelemetry.io resources: - - opampbridges/status + - opentelemetrycollectors/status verbs: - get - patch - update - apiGroups: - - route.openshift.io - resources: - - routes - - routes/custom-host - verbs: - - create - - delete - - get - - list - - patch - - update - - watch - - apiGroups: - - discovery.k8s.io + - policy resources: - - endpointslices + - poddisruptionbudgets verbs: - - get - - list - - watch + - create + - delete + - get + - list + - patch + - update + - watch - apiGroups: - - policy + - route.openshift.io resources: - - poddisruptionbudgets + - routes + - routes/custom-host verbs: - create - delete diff --git a/charts/opentelemetry-operator/values.yaml b/charts/opentelemetry-operator/values.yaml index 3ee173d08..bf60024a0 100644 --- a/charts/opentelemetry-operator/values.yaml +++ b/charts/opentelemetry-operator/values.yaml @@ -32,7 +32,7 @@ manager: tag: "" collectorImage: repository: otel/opentelemetry-collector-contrib - tag: 0.94.0 + tag: 0.95.0 opampBridgeImage: repository: "" tag: ""