From 83247c47d58558b510d01cc14a61461651eaea9f Mon Sep 17 00:00:00 2001 From: Pierre HILBERT Date: Sun, 1 Sep 2024 17:44:34 +0200 Subject: [PATCH 1/8] Bump version to 9.0.0 --- .../base/elastic-agent-managed-daemonset.yaml | 2 +- .../base/elastic-agent-standalone-daemonset.yaml | 4 ++-- .../base/elastic-agent-managed-daemonset.yaml | 2 +- .../extra/elastic-agent-managed-statefulset.yaml | 2 +- .../base/elastic-agent-standalone-daemonset.yaml | 4 ++-- .../extra/elastic-agent-standalone-statefulset.yaml | 4 ++-- deploy/kubernetes/elastic-agent-managed-kubernetes.yaml | 2 +- deploy/kubernetes/elastic-agent-standalone-kubernetes.yaml | 4 ++-- version/version.go | 2 +- 9 files changed, 13 insertions(+), 13 deletions(-) diff --git a/deploy/kubernetes/elastic-agent-kustomize/default/elastic-agent-managed/base/elastic-agent-managed-daemonset.yaml b/deploy/kubernetes/elastic-agent-kustomize/default/elastic-agent-managed/base/elastic-agent-managed-daemonset.yaml index 7acb6daa304..9de04903069 100644 --- a/deploy/kubernetes/elastic-agent-kustomize/default/elastic-agent-managed/base/elastic-agent-managed-daemonset.yaml +++ b/deploy/kubernetes/elastic-agent-kustomize/default/elastic-agent-managed/base/elastic-agent-managed-daemonset.yaml @@ -27,7 +27,7 @@ spec: dnsPolicy: ClusterFirstWithHostNet containers: - name: elastic-agent - image: docker.elastic.co/beats/elastic-agent:8.16.0 + image: docker.elastic.co/beats/elastic-agent:9.0.0 env: # Set to 1 for enrollment into Fleet server. If not set, Elastic Agent is run in standalone mode - name: FLEET_ENROLL diff --git a/deploy/kubernetes/elastic-agent-kustomize/default/elastic-agent-standalone/base/elastic-agent-standalone-daemonset.yaml b/deploy/kubernetes/elastic-agent-kustomize/default/elastic-agent-standalone/base/elastic-agent-standalone-daemonset.yaml index d9f9b223319..757cc138b70 100644 --- a/deploy/kubernetes/elastic-agent-kustomize/default/elastic-agent-standalone/base/elastic-agent-standalone-daemonset.yaml +++ b/deploy/kubernetes/elastic-agent-kustomize/default/elastic-agent-standalone/base/elastic-agent-standalone-daemonset.yaml @@ -28,7 +28,7 @@ spec: # Uncomment if using hints feature #initContainers: # - name: k8s-templates-downloader - # image: docker.elastic.co/beats/elastic-agent:8.16.0 + # image: docker.elastic.co/beats/elastic-agent:9.0.0 # command: ['bash'] # args: # - -c @@ -42,7 +42,7 @@ spec: # mountPath: /usr/share/elastic-agent/state containers: - name: elastic-agent-standalone - image: docker.elastic.co/beats/elastic-agent:8.16.0 + image: docker.elastic.co/beats/elastic-agent:9.0.0 args: ["-c", "/etc/elastic-agent/agent.yml", "-e"] env: # The API Key with access privilleges to connect to Elasticsearch. https://www.elastic.co/guide/en/fleet/current/grant-access-to-elasticsearch.html#create-api-key-standalone-agent diff --git a/deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-managed/base/elastic-agent-managed-daemonset.yaml b/deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-managed/base/elastic-agent-managed-daemonset.yaml index 59d380ba96a..2d67eac1407 100644 --- a/deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-managed/base/elastic-agent-managed-daemonset.yaml +++ b/deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-managed/base/elastic-agent-managed-daemonset.yaml @@ -27,7 +27,7 @@ spec: dnsPolicy: ClusterFirstWithHostNet containers: - name: elastic-agent - image: docker.elastic.co/beats/elastic-agent:8.16.0 + image: docker.elastic.co/beats/elastic-agent:9.0.0 env: # Set to 1 for enrollment into Fleet server. If not set, Elastic Agent is run in standalone mode - name: FLEET_ENROLL diff --git a/deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-managed/extra/elastic-agent-managed-statefulset.yaml b/deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-managed/extra/elastic-agent-managed-statefulset.yaml index 3edd04c49e1..dcaf2c3095a 100644 --- a/deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-managed/extra/elastic-agent-managed-statefulset.yaml +++ b/deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-managed/extra/elastic-agent-managed-statefulset.yaml @@ -27,7 +27,7 @@ spec: dnsPolicy: ClusterFirstWithHostNet containers: - name: elastic-agent - image: docker.elastic.co/beats/elastic-agent:8.16.0 + image: docker.elastic.co/beats/elastic-agent:9.0.0 env: # Set to 1 for enrollment into Fleet server. If not set, Elastic Agent is run in standalone mode - name: FLEET_ENROLL diff --git a/deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-standalone/base/elastic-agent-standalone-daemonset.yaml b/deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-standalone/base/elastic-agent-standalone-daemonset.yaml index 61820609119..af22376ec21 100644 --- a/deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-standalone/base/elastic-agent-standalone-daemonset.yaml +++ b/deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-standalone/base/elastic-agent-standalone-daemonset.yaml @@ -28,7 +28,7 @@ spec: # Uncomment if using hints feature #initContainers: # - name: k8s-templates-downloader - # image: docker.elastic.co/beats/elastic-agent:8.16.0 + # image: docker.elastic.co/beats/elastic-agent:9.0.0 # command: ['bash'] # args: # - -c @@ -42,7 +42,7 @@ spec: # # mountPath: /usr/share/elastic-agent/state containers: - name: elastic-agent-standalone - image: docker.elastic.co/beats/elastic-agent:8.16.0 + image: docker.elastic.co/beats/elastic-agent:9.0.0 args: ["-c", "/etc/elastic-agent/agent.yml", "-e"] env: # The API Key with access privilleges to connect to Elasticsearch. https://www.elastic.co/guide/en/fleet/current/grant-access-to-elasticsearch.html#create-api-key-standalone-agent diff --git a/deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-standalone/extra/elastic-agent-standalone-statefulset.yaml b/deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-standalone/extra/elastic-agent-standalone-statefulset.yaml index 4b0c505029e..6261310e5db 100644 --- a/deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-standalone/extra/elastic-agent-standalone-statefulset.yaml +++ b/deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-standalone/extra/elastic-agent-standalone-statefulset.yaml @@ -28,7 +28,7 @@ spec: # Uncomment if using hints feature #initContainers: # - name: k8s-templates-downloader - # image: docker.elastic.co/beats/elastic-agent:8.16.0 + # image: docker.elastic.co/beats/elastic-agent:9.0.0 # command: ['bash'] # args: # - -c @@ -42,7 +42,7 @@ spec: # # mountPath: /usr/share/elastic-agent/state containers: - name: elastic-agent-standalone - image: docker.elastic.co/beats/elastic-agent:8.16.0 + image: docker.elastic.co/beats/elastic-agent:9.0.0 args: ["-c", "/etc/elastic-agent/agent.yml", "-e"] env: # The API Key with access privilleges to connect to Elasticsearch. https://www.elastic.co/guide/en/fleet/current/grant-access-to-elasticsearch.html#create-api-key-standalone-agent diff --git a/deploy/kubernetes/elastic-agent-managed-kubernetes.yaml b/deploy/kubernetes/elastic-agent-managed-kubernetes.yaml index 4e5a117e55d..cae617b3af6 100644 --- a/deploy/kubernetes/elastic-agent-managed-kubernetes.yaml +++ b/deploy/kubernetes/elastic-agent-managed-kubernetes.yaml @@ -27,7 +27,7 @@ spec: dnsPolicy: ClusterFirstWithHostNet containers: - name: elastic-agent - image: docker.elastic.co/beats/elastic-agent:8.16.0 + image: docker.elastic.co/beats/elastic-agent:9.0.0 env: # Set to 1 for enrollment into Fleet server. If not set, Elastic Agent is run in standalone mode - name: FLEET_ENROLL diff --git a/deploy/kubernetes/elastic-agent-standalone-kubernetes.yaml b/deploy/kubernetes/elastic-agent-standalone-kubernetes.yaml index 87957234c3f..c70a94333f2 100644 --- a/deploy/kubernetes/elastic-agent-standalone-kubernetes.yaml +++ b/deploy/kubernetes/elastic-agent-standalone-kubernetes.yaml @@ -697,7 +697,7 @@ spec: # Uncomment if using hints feature #initContainers: # - name: k8s-templates-downloader - # image: docker.elastic.co/beats/elastic-agent:8.16.0 + # image: docker.elastic.co/beats/elastic-agent:9.0.0 # command: ['bash'] # args: # - -c @@ -711,7 +711,7 @@ spec: # mountPath: /usr/share/elastic-agent/state containers: - name: elastic-agent-standalone - image: docker.elastic.co/beats/elastic-agent:8.16.0 + image: docker.elastic.co/beats/elastic-agent:9.0.0 args: ["-c", "/etc/elastic-agent/agent.yml", "-e"] env: # The API Key with access privilleges to connect to Elasticsearch. https://www.elastic.co/guide/en/fleet/current/grant-access-to-elasticsearch.html#create-api-key-standalone-agent diff --git a/version/version.go b/version/version.go index 96c4ede7e01..9ea62c9a203 100644 --- a/version/version.go +++ b/version/version.go @@ -4,5 +4,5 @@ package version -const defaultBeatVersion = "8.16.0" +const defaultBeatVersion = "9.0.0" const Agent = defaultBeatVersion From 9c1fe165bf42a76105c36f6f47038dbc92686d4b Mon Sep 17 00:00:00 2001 From: Pierre HILBERT Date: Sun, 1 Sep 2024 17:44:34 +0200 Subject: [PATCH 2/8] Bump version to 9.0.0 --- .../base/elastic-agent-managed-daemonset.yaml | 2 +- .../base/elastic-agent-standalone-daemonset.yaml | 4 ++-- .../base/elastic-agent-managed-daemonset.yaml | 2 +- .../extra/elastic-agent-managed-statefulset.yaml | 2 +- .../base/elastic-agent-standalone-daemonset.yaml | 4 ++-- .../extra/elastic-agent-standalone-statefulset.yaml | 4 ++-- deploy/kubernetes/elastic-agent-managed-kubernetes.yaml | 2 +- deploy/kubernetes/elastic-agent-standalone-kubernetes.yaml | 4 ++-- version/version.go | 2 +- 9 files changed, 13 insertions(+), 13 deletions(-) diff --git a/deploy/kubernetes/elastic-agent-kustomize/default/elastic-agent-managed/base/elastic-agent-managed-daemonset.yaml b/deploy/kubernetes/elastic-agent-kustomize/default/elastic-agent-managed/base/elastic-agent-managed-daemonset.yaml index 7acb6daa304..9de04903069 100644 --- a/deploy/kubernetes/elastic-agent-kustomize/default/elastic-agent-managed/base/elastic-agent-managed-daemonset.yaml +++ b/deploy/kubernetes/elastic-agent-kustomize/default/elastic-agent-managed/base/elastic-agent-managed-daemonset.yaml @@ -27,7 +27,7 @@ spec: dnsPolicy: ClusterFirstWithHostNet containers: - name: elastic-agent - image: docker.elastic.co/beats/elastic-agent:8.16.0 + image: docker.elastic.co/beats/elastic-agent:9.0.0 env: # Set to 1 for enrollment into Fleet server. If not set, Elastic Agent is run in standalone mode - name: FLEET_ENROLL diff --git a/deploy/kubernetes/elastic-agent-kustomize/default/elastic-agent-standalone/base/elastic-agent-standalone-daemonset.yaml b/deploy/kubernetes/elastic-agent-kustomize/default/elastic-agent-standalone/base/elastic-agent-standalone-daemonset.yaml index d9f9b223319..757cc138b70 100644 --- a/deploy/kubernetes/elastic-agent-kustomize/default/elastic-agent-standalone/base/elastic-agent-standalone-daemonset.yaml +++ b/deploy/kubernetes/elastic-agent-kustomize/default/elastic-agent-standalone/base/elastic-agent-standalone-daemonset.yaml @@ -28,7 +28,7 @@ spec: # Uncomment if using hints feature #initContainers: # - name: k8s-templates-downloader - # image: docker.elastic.co/beats/elastic-agent:8.16.0 + # image: docker.elastic.co/beats/elastic-agent:9.0.0 # command: ['bash'] # args: # - -c @@ -42,7 +42,7 @@ spec: # mountPath: /usr/share/elastic-agent/state containers: - name: elastic-agent-standalone - image: docker.elastic.co/beats/elastic-agent:8.16.0 + image: docker.elastic.co/beats/elastic-agent:9.0.0 args: ["-c", "/etc/elastic-agent/agent.yml", "-e"] env: # The API Key with access privilleges to connect to Elasticsearch. https://www.elastic.co/guide/en/fleet/current/grant-access-to-elasticsearch.html#create-api-key-standalone-agent diff --git a/deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-managed/base/elastic-agent-managed-daemonset.yaml b/deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-managed/base/elastic-agent-managed-daemonset.yaml index 59d380ba96a..2d67eac1407 100644 --- a/deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-managed/base/elastic-agent-managed-daemonset.yaml +++ b/deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-managed/base/elastic-agent-managed-daemonset.yaml @@ -27,7 +27,7 @@ spec: dnsPolicy: ClusterFirstWithHostNet containers: - name: elastic-agent - image: docker.elastic.co/beats/elastic-agent:8.16.0 + image: docker.elastic.co/beats/elastic-agent:9.0.0 env: # Set to 1 for enrollment into Fleet server. If not set, Elastic Agent is run in standalone mode - name: FLEET_ENROLL diff --git a/deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-managed/extra/elastic-agent-managed-statefulset.yaml b/deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-managed/extra/elastic-agent-managed-statefulset.yaml index 3edd04c49e1..dcaf2c3095a 100644 --- a/deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-managed/extra/elastic-agent-managed-statefulset.yaml +++ b/deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-managed/extra/elastic-agent-managed-statefulset.yaml @@ -27,7 +27,7 @@ spec: dnsPolicy: ClusterFirstWithHostNet containers: - name: elastic-agent - image: docker.elastic.co/beats/elastic-agent:8.16.0 + image: docker.elastic.co/beats/elastic-agent:9.0.0 env: # Set to 1 for enrollment into Fleet server. If not set, Elastic Agent is run in standalone mode - name: FLEET_ENROLL diff --git a/deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-standalone/base/elastic-agent-standalone-daemonset.yaml b/deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-standalone/base/elastic-agent-standalone-daemonset.yaml index 61820609119..af22376ec21 100644 --- a/deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-standalone/base/elastic-agent-standalone-daemonset.yaml +++ b/deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-standalone/base/elastic-agent-standalone-daemonset.yaml @@ -28,7 +28,7 @@ spec: # Uncomment if using hints feature #initContainers: # - name: k8s-templates-downloader - # image: docker.elastic.co/beats/elastic-agent:8.16.0 + # image: docker.elastic.co/beats/elastic-agent:9.0.0 # command: ['bash'] # args: # - -c @@ -42,7 +42,7 @@ spec: # # mountPath: /usr/share/elastic-agent/state containers: - name: elastic-agent-standalone - image: docker.elastic.co/beats/elastic-agent:8.16.0 + image: docker.elastic.co/beats/elastic-agent:9.0.0 args: ["-c", "/etc/elastic-agent/agent.yml", "-e"] env: # The API Key with access privilleges to connect to Elasticsearch. https://www.elastic.co/guide/en/fleet/current/grant-access-to-elasticsearch.html#create-api-key-standalone-agent diff --git a/deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-standalone/extra/elastic-agent-standalone-statefulset.yaml b/deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-standalone/extra/elastic-agent-standalone-statefulset.yaml index 4b0c505029e..6261310e5db 100644 --- a/deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-standalone/extra/elastic-agent-standalone-statefulset.yaml +++ b/deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-standalone/extra/elastic-agent-standalone-statefulset.yaml @@ -28,7 +28,7 @@ spec: # Uncomment if using hints feature #initContainers: # - name: k8s-templates-downloader - # image: docker.elastic.co/beats/elastic-agent:8.16.0 + # image: docker.elastic.co/beats/elastic-agent:9.0.0 # command: ['bash'] # args: # - -c @@ -42,7 +42,7 @@ spec: # # mountPath: /usr/share/elastic-agent/state containers: - name: elastic-agent-standalone - image: docker.elastic.co/beats/elastic-agent:8.16.0 + image: docker.elastic.co/beats/elastic-agent:9.0.0 args: ["-c", "/etc/elastic-agent/agent.yml", "-e"] env: # The API Key with access privilleges to connect to Elasticsearch. https://www.elastic.co/guide/en/fleet/current/grant-access-to-elasticsearch.html#create-api-key-standalone-agent diff --git a/deploy/kubernetes/elastic-agent-managed-kubernetes.yaml b/deploy/kubernetes/elastic-agent-managed-kubernetes.yaml index 4e5a117e55d..cae617b3af6 100644 --- a/deploy/kubernetes/elastic-agent-managed-kubernetes.yaml +++ b/deploy/kubernetes/elastic-agent-managed-kubernetes.yaml @@ -27,7 +27,7 @@ spec: dnsPolicy: ClusterFirstWithHostNet containers: - name: elastic-agent - image: docker.elastic.co/beats/elastic-agent:8.16.0 + image: docker.elastic.co/beats/elastic-agent:9.0.0 env: # Set to 1 for enrollment into Fleet server. If not set, Elastic Agent is run in standalone mode - name: FLEET_ENROLL diff --git a/deploy/kubernetes/elastic-agent-standalone-kubernetes.yaml b/deploy/kubernetes/elastic-agent-standalone-kubernetes.yaml index 87957234c3f..c70a94333f2 100644 --- a/deploy/kubernetes/elastic-agent-standalone-kubernetes.yaml +++ b/deploy/kubernetes/elastic-agent-standalone-kubernetes.yaml @@ -697,7 +697,7 @@ spec: # Uncomment if using hints feature #initContainers: # - name: k8s-templates-downloader - # image: docker.elastic.co/beats/elastic-agent:8.16.0 + # image: docker.elastic.co/beats/elastic-agent:9.0.0 # command: ['bash'] # args: # - -c @@ -711,7 +711,7 @@ spec: # mountPath: /usr/share/elastic-agent/state containers: - name: elastic-agent-standalone - image: docker.elastic.co/beats/elastic-agent:8.16.0 + image: docker.elastic.co/beats/elastic-agent:9.0.0 args: ["-c", "/etc/elastic-agent/agent.yml", "-e"] env: # The API Key with access privilleges to connect to Elasticsearch. https://www.elastic.co/guide/en/fleet/current/grant-access-to-elasticsearch.html#create-api-key-standalone-agent diff --git a/version/version.go b/version/version.go index 6a6be465845..1f74814ee9a 100644 --- a/version/version.go +++ b/version/version.go @@ -4,5 +4,5 @@ package version -const defaultBeatVersion = "8.16.0" +const defaultBeatVersion = "9.0.0" const Agent = defaultBeatVersion From 5a372dda405f9631467deff84304f8ffc4f888c4 Mon Sep 17 00:00:00 2001 From: Pierre HILBERT Date: Tue, 10 Sep 2024 08:58:08 +0200 Subject: [PATCH 3/8] Bump version in docker/helm files --- .../examples/eck/rendered/manifest.yaml | 42 +++++++++---------- deploy/helm/elastic-agent/values.yaml | 4 +- .../elastic-agent-standalone-daemonset.yaml | 2 +- .../elastic-agent-standalone-daemonset.yaml | 2 +- .../elastic-agent-standalone-statefulset.yaml | 2 +- .../elastic-agent-standalone-kubernetes.yaml | 2 +- 6 files changed, 27 insertions(+), 27 deletions(-) diff --git a/deploy/helm/elastic-agent/examples/eck/rendered/manifest.yaml b/deploy/helm/elastic-agent/examples/eck/rendered/manifest.yaml index cda1e4c1a08..bd912d1ac2f 100644 --- a/deploy/helm/elastic-agent/examples/eck/rendered/manifest.yaml +++ b/deploy/helm/elastic-agent/examples/eck/rendered/manifest.yaml @@ -9,7 +9,7 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm annotations: eck.k8s.elastic.co/license: basic @@ -24,7 +24,7 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm annotations: eck.k8s.elastic.co/license: basic @@ -39,7 +39,7 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm annotations: eck.k8s.elastic.co/license: basic @@ -54,7 +54,7 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm annotations: eck.k8s.elastic.co/license: basic @@ -106,7 +106,7 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm annotations: eck.k8s.elastic.co/license: basic @@ -395,7 +395,7 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm annotations: eck.k8s.elastic.co/license: basic @@ -571,7 +571,7 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm annotations: eck.k8s.elastic.co/license: basic @@ -696,7 +696,7 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm annotations: eck.k8s.elastic.co/license: basic @@ -930,7 +930,7 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm annotations: eck.k8s.elastic.co/license: basic @@ -1013,7 +1013,7 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm annotations: eck.k8s.elastic.co/license: basic @@ -1035,7 +1035,7 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm annotations: eck.k8s.elastic.co/license: basic @@ -1057,7 +1057,7 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm annotations: eck.k8s.elastic.co/license: basic @@ -1080,12 +1080,12 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm annotations: eck.k8s.elastic.co/license: basic spec: - version: 8.16.0 + version: 9.0.0 configRef: secretName: agent-pernode-example elasticsearchRefs: @@ -1122,7 +1122,7 @@ spec: containers: - name: agent imagePullPolicy: IfNotPresent - image: "docker.elastic.co/beats/elastic-agent:8.16.0-SNAPSHOT" + image: "docker.elastic.co/beats/elastic-agent:9.0.0-SNAPSHOT" securityContext: capabilities: add: @@ -1184,12 +1184,12 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm annotations: eck.k8s.elastic.co/license: basic spec: - version: 8.16.0 + version: 9.0.0 configRef: secretName: agent-clusterwide-example elasticsearchRefs: @@ -1210,7 +1210,7 @@ spec: containers: - name: agent imagePullPolicy: IfNotPresent - image: "docker.elastic.co/beats/elastic-agent:8.16.0-SNAPSHOT" + image: "docker.elastic.co/beats/elastic-agent:9.0.0-SNAPSHOT" securityContext: capabilities: add: @@ -1254,12 +1254,12 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm annotations: eck.k8s.elastic.co/license: basic spec: - version: 8.16.0 + version: 9.0.0 configRef: secretName: agent-ksmsharded-example elasticsearchRefs: @@ -1321,7 +1321,7 @@ spec: type: RuntimeDefault - name: agent imagePullPolicy: IfNotPresent - image: "docker.elastic.co/beats/elastic-agent:8.16.0-SNAPSHOT" + image: "docker.elastic.co/beats/elastic-agent:9.0.0-SNAPSHOT" securityContext: capabilities: add: diff --git a/deploy/helm/elastic-agent/values.yaml b/deploy/helm/elastic-agent/values.yaml index 203c4074720..62ce49f77cc 100644 --- a/deploy/helm/elastic-agent/values.yaml +++ b/deploy/helm/elastic-agent/values.yaml @@ -295,13 +295,13 @@ extraIntegrations: {} agent: # -- elastic-agent version # @section -- 3 - Elastic-Agent Configuration - version: 8.16.0 + version: 9.0.0 # -- image configuration # @section -- 3 - Elastic-Agent Configuration image: repository: docker.elastic.co/beats/elastic-agent pullPolicy: IfNotPresent - tag: "8.16.0-SNAPSHOT" + tag: "9.0.0-SNAPSHOT" # -- generate kubernetes manifests or [ECK](https://github.com/elastic/cloud-on-k8s) CRDs # @section -- 3 - Elastic-Agent Configuration engine: k8s # k8s or eck diff --git a/deploy/kubernetes/elastic-agent-kustomize/default/elastic-agent-standalone/base/elastic-agent-standalone-daemonset.yaml b/deploy/kubernetes/elastic-agent-kustomize/default/elastic-agent-standalone/base/elastic-agent-standalone-daemonset.yaml index 757cc138b70..c0db55e31c0 100644 --- a/deploy/kubernetes/elastic-agent-kustomize/default/elastic-agent-standalone/base/elastic-agent-standalone-daemonset.yaml +++ b/deploy/kubernetes/elastic-agent-kustomize/default/elastic-agent-standalone/base/elastic-agent-standalone-daemonset.yaml @@ -34,7 +34,7 @@ spec: # - -c # - >- # mkdir -p /usr/share/elastic-agent/state/inputs.d && - # curl -sL https://github.com/elastic/elastic-agent/archive/8.16.tar.gz | tar xz -C /usr/share/elastic-agent/state/inputs.d --strip=5 "elastic-agent-8.16/deploy/kubernetes/elastic-agent-standalone/templates.d" + # curl -sL https://github.com/elastic/elastic-agent/archive/9.0.tar.gz | tar xz -C /usr/share/elastic-agent/state/inputs.d --strip=5 "elastic-agent-8.16/deploy/kubernetes/elastic-agent-standalone/templates.d" # securityContext: # runAsUser: 0 # volumeMounts: diff --git a/deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-standalone/base/elastic-agent-standalone-daemonset.yaml b/deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-standalone/base/elastic-agent-standalone-daemonset.yaml index af22376ec21..67966008d33 100644 --- a/deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-standalone/base/elastic-agent-standalone-daemonset.yaml +++ b/deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-standalone/base/elastic-agent-standalone-daemonset.yaml @@ -34,7 +34,7 @@ spec: # - -c # - >- # mkdir -p /usr/share/elastic-agent/state/inputs.d && - # curl -sL https://github.com/elastic/elastic-agent/archive/8.16.tar.gz | tar xz -C /usr/share/elastic-agent/state/inputs.d --strip=5 "elastic-agent-8.16/deploy/kubernetes/elastic-agent-standalone/templates.d" + # curl -sL https://github.com/elastic/elastic-agent/archive/9.0.tar.gz | tar xz -C /usr/share/elastic-agent/state/inputs.d --strip=5 "elastic-agent-8.16/deploy/kubernetes/elastic-agent-standalone/templates.d" # securityContext: # runAsUser: 0 # volumeMounts: diff --git a/deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-standalone/extra/elastic-agent-standalone-statefulset.yaml b/deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-standalone/extra/elastic-agent-standalone-statefulset.yaml index 6261310e5db..87d3fc80b8d 100644 --- a/deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-standalone/extra/elastic-agent-standalone-statefulset.yaml +++ b/deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-standalone/extra/elastic-agent-standalone-statefulset.yaml @@ -34,7 +34,7 @@ spec: # - -c # - >- # mkdir -p /usr/share/elastic-agent/state/inputs.d && - # curl -sL https://github.com/elastic/elastic-agent/archive/8.16.tar.gz | tar xz -C /usr/share/elastic-agent/state/inputs.d --strip=5 "elastic-agent-8.16/deploy/kubernetes/elastic-agent-standalone/templates.d" + # curl -sL https://github.com/elastic/elastic-agent/archive/9.0.tar.gz | tar xz -C /usr/share/elastic-agent/state/inputs.d --strip=5 "elastic-agent-8.16/deploy/kubernetes/elastic-agent-standalone/templates.d" # securityContext: # runAsUser: 0 # volumeMounts: diff --git a/deploy/kubernetes/elastic-agent-standalone-kubernetes.yaml b/deploy/kubernetes/elastic-agent-standalone-kubernetes.yaml index c70a94333f2..d9736a427e1 100644 --- a/deploy/kubernetes/elastic-agent-standalone-kubernetes.yaml +++ b/deploy/kubernetes/elastic-agent-standalone-kubernetes.yaml @@ -703,7 +703,7 @@ spec: # - -c # - >- # mkdir -p /usr/share/elastic-agent/state/inputs.d && - # curl -sL https://github.com/elastic/elastic-agent/archive/8.16.tar.gz | tar xz -C /usr/share/elastic-agent/state/inputs.d --strip=5 "elastic-agent-8.16/deploy/kubernetes/elastic-agent-standalone/templates.d" + # curl -sL https://github.com/elastic/elastic-agent/archive/9.0.tar.gz | tar xz -C /usr/share/elastic-agent/state/inputs.d --strip=5 "elastic-agent-8.16/deploy/kubernetes/elastic-agent-standalone/templates.d" # securityContext: # runAsUser: 0 # volumeMounts: From 5c0ec0e394352a877331f56b22ed2538cb487ba9 Mon Sep 17 00:00:00 2001 From: Pierre HILBERT Date: Tue, 10 Sep 2024 09:05:36 +0200 Subject: [PATCH 4/8] Bump version in docker/helm files --- .../kubernetes-default/rendered/manifest.yaml | 36 ++++++++--------- .../rendered/manifest.yaml | 40 +++++++++---------- .../rendered/manifest.yaml | 12 +++--- .../rendered/manifest.yaml | 40 +++++++++---------- 4 files changed, 64 insertions(+), 64 deletions(-) diff --git a/deploy/helm/elastic-agent/examples/kubernetes-default/rendered/manifest.yaml b/deploy/helm/elastic-agent/examples/kubernetes-default/rendered/manifest.yaml index cb28ee9c8f7..be036253be2 100644 --- a/deploy/helm/elastic-agent/examples/kubernetes-default/rendered/manifest.yaml +++ b/deploy/helm/elastic-agent/examples/kubernetes-default/rendered/manifest.yaml @@ -9,7 +9,7 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm --- # Source: elastic-agent/templates/agent/service-account.yaml @@ -22,7 +22,7 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm --- # Source: elastic-agent/templates/agent/service-account.yaml @@ -35,7 +35,7 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm --- # Source: elastic-agent/templates/agent/k8s/secret.yaml @@ -48,7 +48,7 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm stringData: @@ -109,7 +109,7 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm stringData: @@ -407,7 +407,7 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm stringData: @@ -592,7 +592,7 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm rules: - apiGroups: [ "" ] # "" indicates the core API group @@ -715,7 +715,7 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm rules: - apiGroups: [ "" ] # "" indicates the core API group @@ -947,7 +947,7 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm rules: - apiGroups: [ "" ] # "" indicates the core API group @@ -1028,7 +1028,7 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm subjects: - kind: ServiceAccount @@ -1048,7 +1048,7 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm subjects: - kind: ServiceAccount @@ -1068,7 +1068,7 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm subjects: - kind: ServiceAccount @@ -1089,7 +1089,7 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm spec: selector: @@ -1140,7 +1140,7 @@ spec: containers: - name: agent imagePullPolicy: IfNotPresent - image: "docker.elastic.co/beats/elastic-agent:8.16.0-SNAPSHOT" + image: "docker.elastic.co/beats/elastic-agent:9.0.0-SNAPSHOT" args: ["-c", "/etc/elastic-agent/agent.yml", "-e"] securityContext: capabilities: @@ -1209,7 +1209,7 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm spec: selector: @@ -1239,7 +1239,7 @@ spec: containers: - name: agent imagePullPolicy: IfNotPresent - image: "docker.elastic.co/beats/elastic-agent:8.16.0-SNAPSHOT" + image: "docker.elastic.co/beats/elastic-agent:9.0.0-SNAPSHOT" args: ["-c", "/etc/elastic-agent/agent.yml", "-e"] securityContext: capabilities: @@ -1290,7 +1290,7 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm spec: selector: @@ -1361,7 +1361,7 @@ spec: type: RuntimeDefault - name: agent imagePullPolicy: IfNotPresent - image: "docker.elastic.co/beats/elastic-agent:8.16.0-SNAPSHOT" + image: "docker.elastic.co/beats/elastic-agent:9.0.0-SNAPSHOT" args: ["-c", "/etc/elastic-agent/agent.yml", "-e"] securityContext: capabilities: diff --git a/deploy/helm/elastic-agent/examples/kubernetes-hints-autodiscover/rendered/manifest.yaml b/deploy/helm/elastic-agent/examples/kubernetes-hints-autodiscover/rendered/manifest.yaml index 10f71570f19..5654799e737 100644 --- a/deploy/helm/elastic-agent/examples/kubernetes-hints-autodiscover/rendered/manifest.yaml +++ b/deploy/helm/elastic-agent/examples/kubernetes-hints-autodiscover/rendered/manifest.yaml @@ -9,7 +9,7 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm --- # Source: elastic-agent/templates/agent/service-account.yaml @@ -22,7 +22,7 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm --- # Source: elastic-agent/templates/agent/service-account.yaml @@ -35,7 +35,7 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm --- # Source: elastic-agent/templates/agent/k8s/secret.yaml @@ -48,7 +48,7 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm stringData: @@ -109,7 +109,7 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm stringData: @@ -407,7 +407,7 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm stringData: @@ -594,7 +594,7 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm rules: - apiGroups: [ "" ] # "" indicates the core API group @@ -717,7 +717,7 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm rules: - apiGroups: [ "" ] # "" indicates the core API group @@ -949,7 +949,7 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm rules: - apiGroups: [ "" ] # "" indicates the core API group @@ -1030,7 +1030,7 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm subjects: - kind: ServiceAccount @@ -1050,7 +1050,7 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm subjects: - kind: ServiceAccount @@ -1070,7 +1070,7 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm subjects: - kind: ServiceAccount @@ -1091,7 +1091,7 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm spec: selector: @@ -1145,8 +1145,8 @@ spec: - args: - -c - mkdir -p /etc/elastic-agent/inputs.d && mkdir -p /etc/elastic-agent/inputs.d && - wget -O - https://github.com/elastic/elastic-agent/archive/v8.16.0.tar.gz | tar - xz -C /etc/elastic-agent/inputs.d --strip=5 "elastic-agent-8.16.0/deploy/kubernetes/elastic-agent-standalone/templates.d" + wget -O - https://github.com/elastic/elastic-agent/archive/v9.0.0.tar.gz | tar + xz -C /etc/elastic-agent/inputs.d --strip=5 "elastic-agent-9.0.0/deploy/kubernetes/elastic-agent-standalone/templates.d" command: - sh image: busybox:1.36.1 @@ -1165,7 +1165,7 @@ spec: containers: - name: agent imagePullPolicy: IfNotPresent - image: "docker.elastic.co/beats/elastic-agent:8.16.0-SNAPSHOT" + image: "docker.elastic.co/beats/elastic-agent:9.0.0-SNAPSHOT" args: ["-c", "/etc/elastic-agent/agent.yml", "-e"] securityContext: capabilities: @@ -1236,7 +1236,7 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm spec: selector: @@ -1266,7 +1266,7 @@ spec: containers: - name: agent imagePullPolicy: IfNotPresent - image: "docker.elastic.co/beats/elastic-agent:8.16.0-SNAPSHOT" + image: "docker.elastic.co/beats/elastic-agent:9.0.0-SNAPSHOT" args: ["-c", "/etc/elastic-agent/agent.yml", "-e"] securityContext: capabilities: @@ -1317,7 +1317,7 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm spec: selector: @@ -1388,7 +1388,7 @@ spec: type: RuntimeDefault - name: agent imagePullPolicy: IfNotPresent - image: "docker.elastic.co/beats/elastic-agent:8.16.0-SNAPSHOT" + image: "docker.elastic.co/beats/elastic-agent:9.0.0-SNAPSHOT" args: ["-c", "/etc/elastic-agent/agent.yml", "-e"] securityContext: capabilities: diff --git a/deploy/helm/elastic-agent/examples/kubernetes-only-logs/rendered/manifest.yaml b/deploy/helm/elastic-agent/examples/kubernetes-only-logs/rendered/manifest.yaml index 7394909e362..adfe7659f10 100644 --- a/deploy/helm/elastic-agent/examples/kubernetes-only-logs/rendered/manifest.yaml +++ b/deploy/helm/elastic-agent/examples/kubernetes-only-logs/rendered/manifest.yaml @@ -9,7 +9,7 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm --- # Source: elastic-agent/templates/agent/k8s/secret.yaml @@ -22,7 +22,7 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm stringData: @@ -117,7 +117,7 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm rules: - apiGroups: [ "" ] # "" indicates the core API group @@ -198,7 +198,7 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm subjects: - kind: ServiceAccount @@ -219,7 +219,7 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm spec: selector: @@ -270,7 +270,7 @@ spec: containers: - name: agent imagePullPolicy: IfNotPresent - image: "docker.elastic.co/beats/elastic-agent:8.16.0-SNAPSHOT" + image: "docker.elastic.co/beats/elastic-agent:9.0.0-SNAPSHOT" args: ["-c", "/etc/elastic-agent/agent.yml", "-e"] securityContext: capabilities: diff --git a/deploy/helm/elastic-agent/examples/multiple-integrations/rendered/manifest.yaml b/deploy/helm/elastic-agent/examples/multiple-integrations/rendered/manifest.yaml index 0edcc0e84e3..1ae650fec6e 100644 --- a/deploy/helm/elastic-agent/examples/multiple-integrations/rendered/manifest.yaml +++ b/deploy/helm/elastic-agent/examples/multiple-integrations/rendered/manifest.yaml @@ -9,7 +9,7 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm --- # Source: elastic-agent/templates/agent/service-account.yaml @@ -22,7 +22,7 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm --- # Source: elastic-agent/templates/agent/service-account.yaml @@ -35,7 +35,7 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm --- # Source: elastic-agent/templates/agent/k8s/secret.yaml @@ -48,7 +48,7 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm stringData: @@ -135,7 +135,7 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm stringData: @@ -433,7 +433,7 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm stringData: @@ -620,7 +620,7 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm rules: - apiGroups: [ "" ] # "" indicates the core API group @@ -743,7 +743,7 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm rules: - apiGroups: [ "" ] # "" indicates the core API group @@ -975,7 +975,7 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm rules: - apiGroups: [ "" ] # "" indicates the core API group @@ -1056,7 +1056,7 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm subjects: - kind: ServiceAccount @@ -1076,7 +1076,7 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm subjects: - kind: ServiceAccount @@ -1096,7 +1096,7 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm subjects: - kind: ServiceAccount @@ -1117,7 +1117,7 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm spec: selector: @@ -1171,8 +1171,8 @@ spec: - args: - -c - mkdir -p /etc/elastic-agent/inputs.d && mkdir -p /etc/elastic-agent/inputs.d && - wget -O - https://github.com/elastic/elastic-agent/archive/v8.16.0.tar.gz | tar - xz -C /etc/elastic-agent/inputs.d --strip=5 "elastic-agent-8.16.0/deploy/kubernetes/elastic-agent-standalone/templates.d" + wget -O - https://github.com/elastic/elastic-agent/archive/v9.0.0.tar.gz | tar + xz -C /etc/elastic-agent/inputs.d --strip=5 "elastic-agent-9.0.0/deploy/kubernetes/elastic-agent-standalone/templates.d" command: - sh image: busybox:1.36.1 @@ -1191,7 +1191,7 @@ spec: containers: - name: agent imagePullPolicy: IfNotPresent - image: "docker.elastic.co/beats/elastic-agent:8.16.0-SNAPSHOT" + image: "docker.elastic.co/beats/elastic-agent:9.0.0-SNAPSHOT" args: ["-c", "/etc/elastic-agent/agent.yml", "-e"] securityContext: runAsUser: 0 @@ -1252,7 +1252,7 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm spec: selector: @@ -1282,7 +1282,7 @@ spec: containers: - name: agent imagePullPolicy: IfNotPresent - image: "docker.elastic.co/beats/elastic-agent:8.16.0-SNAPSHOT" + image: "docker.elastic.co/beats/elastic-agent:9.0.0-SNAPSHOT" args: ["-c", "/etc/elastic-agent/agent.yml", "-e"] securityContext: runAsUser: 0 @@ -1323,7 +1323,7 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm spec: selector: @@ -1394,7 +1394,7 @@ spec: type: RuntimeDefault - name: agent imagePullPolicy: IfNotPresent - image: "docker.elastic.co/beats/elastic-agent:8.16.0-SNAPSHOT" + image: "docker.elastic.co/beats/elastic-agent:9.0.0-SNAPSHOT" args: ["-c", "/etc/elastic-agent/agent.yml", "-e"] securityContext: runAsUser: 0 From 0794d9d38a7fe84fa248481ae928a1092ecf3267 Mon Sep 17 00:00:00 2001 From: Pierre HILBERT Date: Tue, 10 Sep 2024 09:06:36 +0200 Subject: [PATCH 5/8] Bump version in docker/helm files --- .../nginx-custom-integration/rendered/manifest.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/deploy/helm/elastic-agent/examples/nginx-custom-integration/rendered/manifest.yaml b/deploy/helm/elastic-agent/examples/nginx-custom-integration/rendered/manifest.yaml index 4844094d26c..b1afc7103a1 100644 --- a/deploy/helm/elastic-agent/examples/nginx-custom-integration/rendered/manifest.yaml +++ b/deploy/helm/elastic-agent/examples/nginx-custom-integration/rendered/manifest.yaml @@ -9,7 +9,7 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm --- # Source: elastic-agent/templates/agent/k8s/secret.yaml @@ -22,7 +22,7 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm stringData: @@ -80,7 +80,7 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm rules: - apiGroups: [ "" ] # "" indicates the core API group @@ -187,7 +187,7 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm subjects: - kind: ServiceAccount @@ -208,7 +208,7 @@ metadata: helm.sh/chart: elastic-agent-0.0.1 app.kubernetes.io/name: elastic-agent app.kubernetes.io/instance: example - app.kubernetes.io/version: 8.16.0 + app.kubernetes.io/version: 9.0.0 app.kubernetes.io/managed-by: Helm spec: selector: @@ -239,7 +239,7 @@ spec: containers: - name: agent imagePullPolicy: IfNotPresent - image: "docker.elastic.co/beats/elastic-agent:8.16.0-SNAPSHOT" + image: "docker.elastic.co/beats/elastic-agent:9.0.0-SNAPSHOT" args: ["-c", "/etc/elastic-agent/agent.yml", "-e"] securityContext: runAsUser: 0 From 617ade777c1f57c8ea4512d782df86229090472f Mon Sep 17 00:00:00 2001 From: Pierre HILBERT Date: Tue, 10 Sep 2024 09:12:56 +0200 Subject: [PATCH 6/8] Skipping TestPreviousMinor if the tested version is the first one for the current major --- testing/upgradetest/versions_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/testing/upgradetest/versions_test.go b/testing/upgradetest/versions_test.go index ce6d7c917e6..96df75238ad 100644 --- a/testing/upgradetest/versions_test.go +++ b/testing/upgradetest/versions_test.go @@ -91,6 +91,10 @@ func TestPreviousMinor(t *testing.T) { currentParsed, err := version.ParseVersion(bversion.Agent) require.NoError(t, err) + if currentParsed.Minor() == 0 { + t.Skipf("skipping TestPreviousMinor as current major version (%v) don't have previous minor", bversion.Agent) + } + v, err := PreviousMinor() require.NoError(t, err) t.Logf("previous minor: %s", v.String()) From a3e5834af23c6a8fdabffad1d8ea06663ee59925 Mon Sep 17 00:00:00 2001 From: Pierre HILBERT Date: Tue, 10 Sep 2024 09:32:07 +0200 Subject: [PATCH 7/8] Bump version in docker/helm files --- .../base/elastic-agent-standalone-daemonset.yaml | 2 +- .../base/elastic-agent-standalone-daemonset.yaml | 2 +- .../extra/elastic-agent-standalone-statefulset.yaml | 2 +- deploy/kubernetes/elastic-agent-standalone-kubernetes.yaml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/deploy/kubernetes/elastic-agent-kustomize/default/elastic-agent-standalone/base/elastic-agent-standalone-daemonset.yaml b/deploy/kubernetes/elastic-agent-kustomize/default/elastic-agent-standalone/base/elastic-agent-standalone-daemonset.yaml index c0db55e31c0..c1de6c0c11a 100644 --- a/deploy/kubernetes/elastic-agent-kustomize/default/elastic-agent-standalone/base/elastic-agent-standalone-daemonset.yaml +++ b/deploy/kubernetes/elastic-agent-kustomize/default/elastic-agent-standalone/base/elastic-agent-standalone-daemonset.yaml @@ -34,7 +34,7 @@ spec: # - -c # - >- # mkdir -p /usr/share/elastic-agent/state/inputs.d && - # curl -sL https://github.com/elastic/elastic-agent/archive/9.0.tar.gz | tar xz -C /usr/share/elastic-agent/state/inputs.d --strip=5 "elastic-agent-8.16/deploy/kubernetes/elastic-agent-standalone/templates.d" + # curl -sL https://github.com/elastic/elastic-agent/archive/9.0.tar.gz | tar xz -C /usr/share/elastic-agent/state/inputs.d --strip=5 "elastic-agent-9.0/deploy/kubernetes/elastic-agent-standalone/templates.d" # securityContext: # runAsUser: 0 # volumeMounts: diff --git a/deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-standalone/base/elastic-agent-standalone-daemonset.yaml b/deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-standalone/base/elastic-agent-standalone-daemonset.yaml index 67966008d33..9dcd7672a6d 100644 --- a/deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-standalone/base/elastic-agent-standalone-daemonset.yaml +++ b/deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-standalone/base/elastic-agent-standalone-daemonset.yaml @@ -34,7 +34,7 @@ spec: # - -c # - >- # mkdir -p /usr/share/elastic-agent/state/inputs.d && - # curl -sL https://github.com/elastic/elastic-agent/archive/9.0.tar.gz | tar xz -C /usr/share/elastic-agent/state/inputs.d --strip=5 "elastic-agent-8.16/deploy/kubernetes/elastic-agent-standalone/templates.d" + # curl -sL https://github.com/elastic/elastic-agent/archive/9.0.tar.gz | tar xz -C /usr/share/elastic-agent/state/inputs.d --strip=5 "elastic-agent-9.0/deploy/kubernetes/elastic-agent-standalone/templates.d" # securityContext: # runAsUser: 0 # volumeMounts: diff --git a/deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-standalone/extra/elastic-agent-standalone-statefulset.yaml b/deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-standalone/extra/elastic-agent-standalone-statefulset.yaml index 87d3fc80b8d..dd211a8cbd4 100644 --- a/deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-standalone/extra/elastic-agent-standalone-statefulset.yaml +++ b/deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-standalone/extra/elastic-agent-standalone-statefulset.yaml @@ -34,7 +34,7 @@ spec: # - -c # - >- # mkdir -p /usr/share/elastic-agent/state/inputs.d && - # curl -sL https://github.com/elastic/elastic-agent/archive/9.0.tar.gz | tar xz -C /usr/share/elastic-agent/state/inputs.d --strip=5 "elastic-agent-8.16/deploy/kubernetes/elastic-agent-standalone/templates.d" + # curl -sL https://github.com/elastic/elastic-agent/archive/9.0.tar.gz | tar xz -C /usr/share/elastic-agent/state/inputs.d --strip=5 "elastic-agent-9.0/deploy/kubernetes/elastic-agent-standalone/templates.d" # securityContext: # runAsUser: 0 # volumeMounts: diff --git a/deploy/kubernetes/elastic-agent-standalone-kubernetes.yaml b/deploy/kubernetes/elastic-agent-standalone-kubernetes.yaml index d9736a427e1..30073bd2f02 100644 --- a/deploy/kubernetes/elastic-agent-standalone-kubernetes.yaml +++ b/deploy/kubernetes/elastic-agent-standalone-kubernetes.yaml @@ -703,7 +703,7 @@ spec: # - -c # - >- # mkdir -p /usr/share/elastic-agent/state/inputs.d && - # curl -sL https://github.com/elastic/elastic-agent/archive/9.0.tar.gz | tar xz -C /usr/share/elastic-agent/state/inputs.d --strip=5 "elastic-agent-8.16/deploy/kubernetes/elastic-agent-standalone/templates.d" + # curl -sL https://github.com/elastic/elastic-agent/archive/9.0.tar.gz | tar xz -C /usr/share/elastic-agent/state/inputs.d --strip=5 "elastic-agent-9.0/deploy/kubernetes/elastic-agent-standalone/templates.d" # securityContext: # runAsUser: 0 # volumeMounts: From 6e595853bdaadaa613cfeb561b99c81923d56ade Mon Sep 17 00:00:00 2001 From: Julien Lind Date: Wed, 11 Sep 2024 13:49:07 +0200 Subject: [PATCH 8/8] Update manifest.go Remove cloud-defend as it is now deprecated. --- dev-tools/mage/manifest/manifest.go | 1 - 1 file changed, 1 deletion(-) diff --git a/dev-tools/mage/manifest/manifest.go b/dev-tools/mage/manifest/manifest.go index 6efc989ba1a..aaa10f6dcba 100644 --- a/dev-tools/mage/manifest/manifest.go +++ b/dev-tools/mage/manifest/manifest.go @@ -98,7 +98,6 @@ var ExpectedBinaries = map[string]BinarySpec{ "agentbeat": {Name: "beats", Platforms: AllPlatforms}, "apm-server": {Name: "apm-server", Platforms: []Platform{{"linux", "x86_64"}, {"linux", "arm64"}, {"windows", "x86_64"}, {"darwin", "x86_64"}}}, "cloudbeat": {Name: "cloudbeat", Platforms: []Platform{{"linux", "x86_64"}, {"linux", "arm64"}}}, - "cloud-defend": {Name: "cloud-defend", Platforms: []Platform{{"linux", "x86_64"}, {"linux", "arm64"}}}, "endpoint-security": {Name: "endpoint-dev", Platforms: AllPlatforms}, "fleet-server": {Name: "fleet-server", Platforms: AllPlatforms}, "pf-elastic-collector": {Name: "prodfiler", Platforms: []Platform{{"linux", "x86_64"}, {"linux", "arm64"}}},