Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion testing/integration/k8s/k8s.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ package k8s
import "path/filepath"

const (
KubeStackChartVersion = "0.10.5"
KubeStackChartVersion = "0.11.1"
KubeStackChartName = "opentelemetry-kube-stack"
KubeStackChartNameWithVersion = KubeStackChartName + "-" + KubeStackChartVersion
KubeStackChartArchiveName = KubeStackChartNameWithVersion + ".tgz"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ dependencies:
version: 0.0.0
- name: opentelemetry-operator
repository: https://open-telemetry.github.io/opentelemetry-helm-charts
version: 0.93.0
version: 0.97.1
- name: kube-state-metrics
repository: https://prometheus-community.github.io/helm-charts
version: 6.1.4
version: 6.3.0
- name: prometheus-node-exporter
repository: https://prometheus-community.github.io/helm-charts
version: 4.47.3
digest: sha256:814c1802469c833c77c9758835e7b7d90a2d1a23b43a8d5e2c78e5228af8707a
generated: "2025-08-22T10:23:15.731399919+02:00"
version: 4.48.0
digest: sha256:5eacf19a8cffc4f333b0e287fabbb387fc31d2b8315a77a918783b9906bd7e32
generated: "2025-10-02T13:49:24.548948-06:00"
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ dependencies:
- condition: opentelemetry-operator.enabled
name: opentelemetry-operator
repository: https://open-telemetry.github.io/opentelemetry-helm-charts
version: 0.93.0
version: 0.97.1
- condition: kubeStateMetrics.enabled
name: kube-state-metrics
repository: https://prometheus-community.github.io/helm-charts
version: 6.1.*
version: 6.3.*
- condition: nodeExporter.enabled
name: prometheus-node-exporter
repository: https://prometheus-community.github.io/helm-charts
version: 4.47.*
version: 4.48.*
description: 'OpenTelemetry Quickstart chart for Kubernetes. Installs an operator
and collector for an easy way to get started with Kubernetes observability. '
home: https://opentelemetry.io/
Expand All @@ -34,4 +34,4 @@ name: opentelemetry-kube-stack
sources:
- https://github.com/open-telemetry/opentelemetry-operator
type: application
version: 0.10.5
version: 0.11.1
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ annotations:
- name: Chart Source
url: https://github.com/prometheus-community/helm-charts
apiVersion: v2
appVersion: 2.16.0
appVersion: 2.17.0
description: Install kube-state-metrics to generate and expose cluster-level metrics
home: https://github.com/kubernetes/kube-state-metrics/
keywords:
Expand All @@ -26,4 +26,4 @@ name: kube-state-metrics
sources:
- https://github.com/kubernetes/kube-state-metrics/
type: application
version: 6.1.4
version: 6.3.0
Original file line number Diff line number Diff line change
Expand Up @@ -162,10 +162,10 @@ spec:
{{- if eq .Values.kubeRBACProxy.enabled false }}
ports:
- containerPort: {{ .Values.service.port | default 8080}}
name: "http"
name: http
{{- if .Values.selfMonitor.enabled }}
- containerPort: {{ $telemetryPort }}
name: "metrics"
name: metrics
{{- end }}
{{- end }}
{{- if .Values.startupProbe.enabled }}
Expand All @@ -182,7 +182,7 @@ spec:
{{- end }}
path: /healthz
{{- if .Values.kubeRBACProxy.enabled }}
port: {{ .Values.service.port | default 8080 }}
port: http
scheme: HTTPS
{{- else }}
port: {{ $servicePort }}
Expand All @@ -206,7 +206,7 @@ spec:
{{- end }}
path: /livez
{{- if .Values.kubeRBACProxy.enabled }}
port: {{ .Values.service.port | default 8080 }}
port: http
scheme: HTTPS
{{- else }}
port: {{ $servicePort }}
Expand All @@ -229,7 +229,7 @@ spec:
{{- end }}
path: /readyz
{{- if .Values.kubeRBACProxy.enabled }}
port: {{ .Values.selfMonitor.telemetryPort | default 8081 }}
port: metrics
scheme: HTTPS
{{- else }}
port: {{ $telemetryPort }}
Expand Down Expand Up @@ -268,14 +268,14 @@ spec:
image: {{ include "kubeRBACProxy.image" . }}
ports:
- containerPort: {{ .Values.service.port | default 8080}}
name: "http"
name: http
- containerPort: {{ .Values.kubeRBACProxy.proxyEndpointsPort | default 8888 }}
name: "http-healthz"
name: http-healthz
readinessProbe:
httpGet:
scheme: HTTPS
port: {{ .Values.kubeRBACProxy.proxyEndpointsPort | default 8888 }}
path: healthz
port: http-healthz
path: /healthz
initialDelaySeconds: 5
timeoutSeconds: 5
{{- if .Values.kubeRBACProxy.resources }}
Expand Down Expand Up @@ -309,9 +309,9 @@ spec:
image: {{ include "kubeRBACProxy.image" . }}
ports:
- containerPort: {{ .Values.selfMonitor.telemetryPort | default 8081 }}
name: "metrics"
name: metrics
- containerPort: 8889
name: "metrics-healthz"
name: metrics-healthz
readinessProbe:
httpGet:
scheme: HTTPS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ spec:
{{- else }}
## Allow ingress on default ports by default
- ports:
- port: {{ .Values.service.port | default 8080 }}
- port: http
protocol: TCP
{{- if .Values.selfMonitor.enabled }}
{{- $telemetryPort := ternary 9091 (.Values.selfMonitor.telemetryPort | default 8081) .Values.kubeRBACProxy.enabled}}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
{{- if .Values.prometheus.scrapeconfig.enabled }}
apiVersion: monitoring.coreos.com/v1alpha1
kind: ScrapeConfig
metadata:
name: {{ template "kube-state-metrics.fullname" . }}
namespace: {{ template "kube-state-metrics.namespace" . }}
labels:
{{- include "kube-state-metrics.labels" . | indent 4 }}
{{- with .Values.prometheus.scrapeconfig.additionalLabels }}
{{- tpl (toYaml . | nindent 4) $ }}
{{- end }}
{{- with .Values.prometheus.scrapeconfig.annotations }}
annotations:
{{- tpl (toYaml . | nindent 4) $ }}
{{- end }}
spec:
{{- include "scrapeconfig.scrapeLimits" .Values.prometheus.scrapeconfig | indent 2 }}
staticConfigs:
- targets:
- {{ template "kube-state-metrics.fullname" . }}.{{ template "kube-state-metrics.namespace" . }}.svc:{{ .Values.service.port }}
{{- if .Values.prometheus.scrapeconfig.staticConfigLabels}}
labels:
{{- with .Values.prometheus.scrapeconfig.staticConfigLabels }}
{{- tpl (toYaml . | nindent 8) $ }}
{{- end }}
{{- end }}
{{- if .Values.prometheus.scrapeconfig.jobName }}
jobName: {{ .Values.prometheus.scrapeconfig.jobName }}
{{- end }}
{{- if .Values.prometheus.scrapeconfig.honorLabels }}
honorLabels: true
{{- end }}
{{- if .Values.prometheus.scrapeconfig.scrapeInterval }}
scrapeInterval: {{ .Values.prometheus.scrapeconfig.scrapeInterval }}
{{- end }}
{{- if .Values.prometheus.scrapeconfig.scrapeTimeout }}
scrapeTimeout: {{ .Values.prometheus.scrapeconfig.scrapeTimeout }}
{{- end }}
{{- if .Values.prometheus.scrapeconfig.proxyUrl }}
proxyUrl: {{ .Values.prometheus.scrapeconfig.proxyUrl }}
{{- end }}
{{- if .Values.prometheus.scrapeconfig.enableHttp2 }}
enableHttp2: {{ .Values.prometheus.scrapeconfig.enableHttp2 }}
{{- end }}
{{- if .Values.prometheus.scrapeconfig.metricRelabelings }}
metricRelabelings:
{{- toYaml .Values.prometheus.scrapeconfig.metricRelabelings | nindent 4 }}
{{- end }}
{{- if .Values.prometheus.scrapeconfig.relabelings }}
relabelings:
{{- toYaml .Values.prometheus.scrapeconfig.relabelings | nindent 4 }}
{{- end }}
{{- if .Values.prometheus.scrapeconfig.scheme }}
scheme: {{ .Values.prometheus.scrapeconfig.scheme }}
{{- end }}
{{- if .Values.prometheus.scrapeconfig.tlsConfig }}
tlsConfig:
{{- toYaml (.Values.prometheus.scrapeconfig.tlsConfig ) | nindent 4 }}
{{- end }}
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,18 @@ spec:
ipFamilyPolicy: {{ .Values.service.ipDualStack.ipFamilyPolicy }}
{{- end }}
ports:
- name: "http"
- name: http
protocol: TCP
port: {{ .Values.service.port | default 8080}}
{{- if ( and (eq .Values.service.type "NodePort" ) (not (empty .Values.service.nodePort)) ) }}
nodePort: {{ .Values.service.nodePort }}
{{- end }}
targetPort: {{ .Values.service.port | default 8080}}
targetPort: http
{{ if .Values.selfMonitor.enabled }}
- name: "metrics"
- name: metrics
protocol: TCP
port: {{ .Values.selfMonitor.telemetryPort | default 8081 }}
targetPort: {{ .Values.selfMonitor.telemetryPort | default 8081 }}
targetPort: metrics
{{- if ( and (eq .Values.service.type "NodePort" ) (not (empty .Values.service.nodePort)) ) }}
nodePort: {{ .Values.selfMonitor.telemetryNodePort }}
{{- end }}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v2
appVersion: 0.131.0
appVersion: 0.136.0
description: OpenTelemetry Operator Helm chart for Kubernetes
home: https://opentelemetry.io/
icon: https://raw.githubusercontent.com/cncf/artwork/a718fa97fffec1b9fd14147682e9e3ac0c8817cb/projects/opentelemetry/icon/color/opentelemetry-icon-color.png
Expand All @@ -12,4 +12,4 @@ name: opentelemetry-operator
sources:
- https://github.com/open-telemetry/opentelemetry-operator
type: application
version: 0.93.0
version: 0.97.1
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
cert-manager.io/inject-ca-from: {{ include "opentelemetry-operator.webhookCertAnnotation" . }}
controller-gen.kubebuilder.io/version: v0.18.0
controller-gen.kubebuilder.io/version: v0.19.0
creationTimestamp: null
labels:
app.kubernetes.io/name: opentelemetry-operator
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
cert-manager.io/inject-ca-from: {{ include "opentelemetry-operator.webhookCertAnnotation" . }}
controller-gen.kubebuilder.io/version: v0.18.0
controller-gen.kubebuilder.io/version: v0.19.0
creationTimestamp: null
labels:
app.kubernetes.io/name: opentelemetry-operator
Expand Down Expand Up @@ -2096,6 +2095,11 @@ spec:
- managed
- unmanaged
type: string
networkPolicy:
properties:
enabled:
type: boolean
type: object
nodeSelector:
additionalProperties:
type: string
Expand Down Expand Up @@ -2577,6 +2581,8 @@ spec:
- whenUnsatisfiable
type: object
type: array
trafficDistribution:
type: string
volumeMounts:
items:
properties:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ kind: CustomResourceDefinition
metadata:
annotations:
cert-manager.io/inject-ca-from: {{ include "opentelemetry-operator.webhookCertAnnotation" . }}
controller-gen.kubebuilder.io/version: v0.18.0
controller-gen.kubebuilder.io/version: v0.19.0
creationTimestamp: null
labels:
app.kubernetes.io/name: opentelemetry-operator
Expand Down Expand Up @@ -3505,6 +3505,8 @@ spec:
- whenUnsatisfiable
type: object
type: array
trafficDistribution:
type: string
updateStrategy:
properties:
rollingUpdate:
Expand Down Expand Up @@ -6961,6 +6963,11 @@ spec:
- sidecar
- statefulset
type: string
networkPolicy:
properties:
enabled:
type: boolean
type: object
nodeSelector:
additionalProperties:
type: string
Expand Down Expand Up @@ -7724,6 +7731,10 @@ spec:
default: 30s
format: duration
type: string
collectorTargetReloadInterval:
default: 30s
format: duration
type: string
enabled:
type: boolean
env:
Expand Down Expand Up @@ -8285,6 +8296,8 @@ spec:
- whenUnsatisfiable
type: object
type: array
trafficDistribution:
type: string
upgradeStrategy:
enum:
- automatic
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.18.0
controller-gen.kubebuilder.io/version: v0.19.0
creationTimestamp: null
labels:
app.kubernetes.io/name: opentelemetry-operator
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ rules:
- networking.k8s.io
resources:
- ingresses
- networkpolicies
verbs:
- create
- delete
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ spec:
spec:
automountServiceAccountToken: {{ .Values.automountServiceAccountToken }}
hostNetwork: {{ .Values.hostNetwork }}
{{- if and (semverCompare ">=1.30-0" .Capabilities.KubeVersion.Version) (kindIs "bool" .Values.hostUsers) }}
hostUsers: {{ .Values.hostUsers }}
{{- end }}
{{- if .Values.priorityClassName }}
priorityClassName: {{ .Values.priorityClassName | quote }}
{{- end }}
Expand Down Expand Up @@ -71,6 +74,9 @@ spec:
{{- if and .Values.manager.autoInstrumentationImage.dotnet.repository .Values.manager.autoInstrumentationImage.dotnet.tag }}
- --auto-instrumentation-dotnet-image={{ .Values.manager.autoInstrumentationImage.dotnet.repository }}:{{ .Values.manager.autoInstrumentationImage.dotnet.tag }}
{{- end }}
{{- if .Values.manager.autoInstrumentation.go.enabled }}
- --enable-go-instrumentation
{{- end }}
{{- if and .Values.manager.autoInstrumentationImage.go.repository .Values.manager.autoInstrumentationImage.go.tag }}
- --auto-instrumentation-go-image={{ .Values.manager.autoInstrumentationImage.go.repository }}:{{ .Values.manager.autoInstrumentationImage.go.tag }}
{{- end }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ spec:
{{- with .Values.testFramework.resources }}
resources: {{ toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 4 }}
{{- end }}
restartPolicy: Never
{{- with .Values.affinity }}
affinity: {{ toYaml . | nindent 4 }}
Expand Down
Loading