From cd963ea5b2915dfc1d50d2121083a3826375c11b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zolt=C3=A1n=20Reegn?= Date: Wed, 17 Jul 2024 15:40:58 +0200 Subject: [PATCH] update crds MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Zoltán Reegn --- .../fluentbit.fluent.io_clusterfilters.yaml | 25 ++++++++++ .../crds/fluentbit.fluent.io_filters.yaml | 25 ++++++++++ .../fluentbit.fluent.io_clusterfilters.yaml | 25 ++++++++++ .../bases/fluentbit.fluent.io_filters.yaml | 25 ++++++++++ manifests/setup/fluent-operator-crd.yaml | 50 +++++++++++++++++++ manifests/setup/setup.yaml | 50 +++++++++++++++++++ 6 files changed, 200 insertions(+) diff --git a/charts/fluent-operator/charts/fluent-bit-crds/crds/fluentbit.fluent.io_clusterfilters.yaml b/charts/fluent-operator/charts/fluent-bit-crds/crds/fluentbit.fluent.io_clusterfilters.yaml index 19826e857..f17e3270f 100644 --- a/charts/fluent-operator/charts/fluent-bit-crds/crds/fluentbit.fluent.io_clusterfilters.yaml +++ b/charts/fluent-operator/charts/fluent-bit-crds/crds/fluentbit.fluent.io_clusterfilters.yaml @@ -200,6 +200,13 @@ spec: when capacity is reached. In order to enable this option, you should set the number to a time interval. For example, set this value to 60 or 60s and cache entries which have been created more than 60s will be evicted. type: string + kubeMetaNamespaceCacheTTL: + description: |- + Configurable TTL for K8s cached namespace metadata. + By default, it is set to 900 which means a 15min TTL for namespace cache entries. + Setting this to 0 will mean entries are evicted at random once the cache is full. + format: int32 + type: integer kubeMetaPreloadCacheDir: description: |- If set, Kubernetes meta-data can be cached/pre-loaded from files in JSON format in this directory, @@ -210,6 +217,11 @@ spec: When the source records comes from Tail input plugin, this option allows to specify what's the prefix used in Tail configuration. type: string + kubeTokenCommand: + description: |- + Command to get Kubernetes authorization token. + By default, it will be NULL and we will use token file to get token. + type: string kubeTokenFile: description: Token file type: string @@ -254,6 +266,19 @@ spec: the data contained in the log key. Recommended use is for developers or testing only. type: string + namespaceAnnotations: + description: Include Kubernetes namespace resource annotations + in the extra metadata. + type: boolean + namespaceLabels: + description: Include Kubernetes namespace resource labels + in the extra metadata. + type: boolean + namespaceMetadataOnly: + description: |- + Include Kubernetes namespace metadata only and no pod metadata. + If this is set, the values of Labels and Annotations are ignored. + type: boolean regexParser: description: |- Set an alternative Parser to process record Tag and extract pod_name, namespace_name, container_name and docker_id. diff --git a/charts/fluent-operator/charts/fluent-bit-crds/crds/fluentbit.fluent.io_filters.yaml b/charts/fluent-operator/charts/fluent-bit-crds/crds/fluentbit.fluent.io_filters.yaml index a5dc151d6..2f8e6c0b2 100644 --- a/charts/fluent-operator/charts/fluent-bit-crds/crds/fluentbit.fluent.io_filters.yaml +++ b/charts/fluent-operator/charts/fluent-bit-crds/crds/fluentbit.fluent.io_filters.yaml @@ -200,6 +200,13 @@ spec: when capacity is reached. In order to enable this option, you should set the number to a time interval. For example, set this value to 60 or 60s and cache entries which have been created more than 60s will be evicted. type: string + kubeMetaNamespaceCacheTTL: + description: |- + Configurable TTL for K8s cached namespace metadata. + By default, it is set to 900 which means a 15min TTL for namespace cache entries. + Setting this to 0 will mean entries are evicted at random once the cache is full. + format: int32 + type: integer kubeMetaPreloadCacheDir: description: |- If set, Kubernetes meta-data can be cached/pre-loaded from files in JSON format in this directory, @@ -210,6 +217,11 @@ spec: When the source records comes from Tail input plugin, this option allows to specify what's the prefix used in Tail configuration. type: string + kubeTokenCommand: + description: |- + Command to get Kubernetes authorization token. + By default, it will be NULL and we will use token file to get token. + type: string kubeTokenFile: description: Token file type: string @@ -254,6 +266,19 @@ spec: the data contained in the log key. Recommended use is for developers or testing only. type: string + namespaceAnnotations: + description: Include Kubernetes namespace resource annotations + in the extra metadata. + type: boolean + namespaceLabels: + description: Include Kubernetes namespace resource labels + in the extra metadata. + type: boolean + namespaceMetadataOnly: + description: |- + Include Kubernetes namespace metadata only and no pod metadata. + If this is set, the values of Labels and Annotations are ignored. + type: boolean regexParser: description: |- Set an alternative Parser to process record Tag and extract pod_name, namespace_name, container_name and docker_id. diff --git a/config/crd/bases/fluentbit.fluent.io_clusterfilters.yaml b/config/crd/bases/fluentbit.fluent.io_clusterfilters.yaml index 19826e857..f17e3270f 100644 --- a/config/crd/bases/fluentbit.fluent.io_clusterfilters.yaml +++ b/config/crd/bases/fluentbit.fluent.io_clusterfilters.yaml @@ -200,6 +200,13 @@ spec: when capacity is reached. In order to enable this option, you should set the number to a time interval. For example, set this value to 60 or 60s and cache entries which have been created more than 60s will be evicted. type: string + kubeMetaNamespaceCacheTTL: + description: |- + Configurable TTL for K8s cached namespace metadata. + By default, it is set to 900 which means a 15min TTL for namespace cache entries. + Setting this to 0 will mean entries are evicted at random once the cache is full. + format: int32 + type: integer kubeMetaPreloadCacheDir: description: |- If set, Kubernetes meta-data can be cached/pre-loaded from files in JSON format in this directory, @@ -210,6 +217,11 @@ spec: When the source records comes from Tail input plugin, this option allows to specify what's the prefix used in Tail configuration. type: string + kubeTokenCommand: + description: |- + Command to get Kubernetes authorization token. + By default, it will be NULL and we will use token file to get token. + type: string kubeTokenFile: description: Token file type: string @@ -254,6 +266,19 @@ spec: the data contained in the log key. Recommended use is for developers or testing only. type: string + namespaceAnnotations: + description: Include Kubernetes namespace resource annotations + in the extra metadata. + type: boolean + namespaceLabels: + description: Include Kubernetes namespace resource labels + in the extra metadata. + type: boolean + namespaceMetadataOnly: + description: |- + Include Kubernetes namespace metadata only and no pod metadata. + If this is set, the values of Labels and Annotations are ignored. + type: boolean regexParser: description: |- Set an alternative Parser to process record Tag and extract pod_name, namespace_name, container_name and docker_id. diff --git a/config/crd/bases/fluentbit.fluent.io_filters.yaml b/config/crd/bases/fluentbit.fluent.io_filters.yaml index a5dc151d6..2f8e6c0b2 100644 --- a/config/crd/bases/fluentbit.fluent.io_filters.yaml +++ b/config/crd/bases/fluentbit.fluent.io_filters.yaml @@ -200,6 +200,13 @@ spec: when capacity is reached. In order to enable this option, you should set the number to a time interval. For example, set this value to 60 or 60s and cache entries which have been created more than 60s will be evicted. type: string + kubeMetaNamespaceCacheTTL: + description: |- + Configurable TTL for K8s cached namespace metadata. + By default, it is set to 900 which means a 15min TTL for namespace cache entries. + Setting this to 0 will mean entries are evicted at random once the cache is full. + format: int32 + type: integer kubeMetaPreloadCacheDir: description: |- If set, Kubernetes meta-data can be cached/pre-loaded from files in JSON format in this directory, @@ -210,6 +217,11 @@ spec: When the source records comes from Tail input plugin, this option allows to specify what's the prefix used in Tail configuration. type: string + kubeTokenCommand: + description: |- + Command to get Kubernetes authorization token. + By default, it will be NULL and we will use token file to get token. + type: string kubeTokenFile: description: Token file type: string @@ -254,6 +266,19 @@ spec: the data contained in the log key. Recommended use is for developers or testing only. type: string + namespaceAnnotations: + description: Include Kubernetes namespace resource annotations + in the extra metadata. + type: boolean + namespaceLabels: + description: Include Kubernetes namespace resource labels + in the extra metadata. + type: boolean + namespaceMetadataOnly: + description: |- + Include Kubernetes namespace metadata only and no pod metadata. + If this is set, the values of Labels and Annotations are ignored. + type: boolean regexParser: description: |- Set an alternative Parser to process record Tag and extract pod_name, namespace_name, container_name and docker_id. diff --git a/manifests/setup/fluent-operator-crd.yaml b/manifests/setup/fluent-operator-crd.yaml index 8671b15c6..1309ba3d7 100644 --- a/manifests/setup/fluent-operator-crd.yaml +++ b/manifests/setup/fluent-operator-crd.yaml @@ -199,6 +199,13 @@ spec: when capacity is reached. In order to enable this option, you should set the number to a time interval. For example, set this value to 60 or 60s and cache entries which have been created more than 60s will be evicted. type: string + kubeMetaNamespaceCacheTTL: + description: |- + Configurable TTL for K8s cached namespace metadata. + By default, it is set to 900 which means a 15min TTL for namespace cache entries. + Setting this to 0 will mean entries are evicted at random once the cache is full. + format: int32 + type: integer kubeMetaPreloadCacheDir: description: |- If set, Kubernetes meta-data can be cached/pre-loaded from files in JSON format in this directory, @@ -209,6 +216,11 @@ spec: When the source records comes from Tail input plugin, this option allows to specify what's the prefix used in Tail configuration. type: string + kubeTokenCommand: + description: |- + Command to get Kubernetes authorization token. + By default, it will be NULL and we will use token file to get token. + type: string kubeTokenFile: description: Token file type: string @@ -253,6 +265,19 @@ spec: the data contained in the log key. Recommended use is for developers or testing only. type: string + namespaceAnnotations: + description: Include Kubernetes namespace resource annotations + in the extra metadata. + type: boolean + namespaceLabels: + description: Include Kubernetes namespace resource labels + in the extra metadata. + type: boolean + namespaceMetadataOnly: + description: |- + Include Kubernetes namespace metadata only and no pod metadata. + If this is set, the values of Labels and Annotations are ignored. + type: boolean regexParser: description: |- Set an alternative Parser to process record Tag and extract pod_name, namespace_name, container_name and docker_id. @@ -13683,6 +13708,13 @@ spec: when capacity is reached. In order to enable this option, you should set the number to a time interval. For example, set this value to 60 or 60s and cache entries which have been created more than 60s will be evicted. type: string + kubeMetaNamespaceCacheTTL: + description: |- + Configurable TTL for K8s cached namespace metadata. + By default, it is set to 900 which means a 15min TTL for namespace cache entries. + Setting this to 0 will mean entries are evicted at random once the cache is full. + format: int32 + type: integer kubeMetaPreloadCacheDir: description: |- If set, Kubernetes meta-data can be cached/pre-loaded from files in JSON format in this directory, @@ -13693,6 +13725,11 @@ spec: When the source records comes from Tail input plugin, this option allows to specify what's the prefix used in Tail configuration. type: string + kubeTokenCommand: + description: |- + Command to get Kubernetes authorization token. + By default, it will be NULL and we will use token file to get token. + type: string kubeTokenFile: description: Token file type: string @@ -13737,6 +13774,19 @@ spec: the data contained in the log key. Recommended use is for developers or testing only. type: string + namespaceAnnotations: + description: Include Kubernetes namespace resource annotations + in the extra metadata. + type: boolean + namespaceLabels: + description: Include Kubernetes namespace resource labels + in the extra metadata. + type: boolean + namespaceMetadataOnly: + description: |- + Include Kubernetes namespace metadata only and no pod metadata. + If this is set, the values of Labels and Annotations are ignored. + type: boolean regexParser: description: |- Set an alternative Parser to process record Tag and extract pod_name, namespace_name, container_name and docker_id. diff --git a/manifests/setup/setup.yaml b/manifests/setup/setup.yaml index a076ee29c..84a696f80 100644 --- a/manifests/setup/setup.yaml +++ b/manifests/setup/setup.yaml @@ -199,6 +199,13 @@ spec: when capacity is reached. In order to enable this option, you should set the number to a time interval. For example, set this value to 60 or 60s and cache entries which have been created more than 60s will be evicted. type: string + kubeMetaNamespaceCacheTTL: + description: |- + Configurable TTL for K8s cached namespace metadata. + By default, it is set to 900 which means a 15min TTL for namespace cache entries. + Setting this to 0 will mean entries are evicted at random once the cache is full. + format: int32 + type: integer kubeMetaPreloadCacheDir: description: |- If set, Kubernetes meta-data can be cached/pre-loaded from files in JSON format in this directory, @@ -209,6 +216,11 @@ spec: When the source records comes from Tail input plugin, this option allows to specify what's the prefix used in Tail configuration. type: string + kubeTokenCommand: + description: |- + Command to get Kubernetes authorization token. + By default, it will be NULL and we will use token file to get token. + type: string kubeTokenFile: description: Token file type: string @@ -253,6 +265,19 @@ spec: the data contained in the log key. Recommended use is for developers or testing only. type: string + namespaceAnnotations: + description: Include Kubernetes namespace resource annotations + in the extra metadata. + type: boolean + namespaceLabels: + description: Include Kubernetes namespace resource labels + in the extra metadata. + type: boolean + namespaceMetadataOnly: + description: |- + Include Kubernetes namespace metadata only and no pod metadata. + If this is set, the values of Labels and Annotations are ignored. + type: boolean regexParser: description: |- Set an alternative Parser to process record Tag and extract pod_name, namespace_name, container_name and docker_id. @@ -13683,6 +13708,13 @@ spec: when capacity is reached. In order to enable this option, you should set the number to a time interval. For example, set this value to 60 or 60s and cache entries which have been created more than 60s will be evicted. type: string + kubeMetaNamespaceCacheTTL: + description: |- + Configurable TTL for K8s cached namespace metadata. + By default, it is set to 900 which means a 15min TTL for namespace cache entries. + Setting this to 0 will mean entries are evicted at random once the cache is full. + format: int32 + type: integer kubeMetaPreloadCacheDir: description: |- If set, Kubernetes meta-data can be cached/pre-loaded from files in JSON format in this directory, @@ -13693,6 +13725,11 @@ spec: When the source records comes from Tail input plugin, this option allows to specify what's the prefix used in Tail configuration. type: string + kubeTokenCommand: + description: |- + Command to get Kubernetes authorization token. + By default, it will be NULL and we will use token file to get token. + type: string kubeTokenFile: description: Token file type: string @@ -13737,6 +13774,19 @@ spec: the data contained in the log key. Recommended use is for developers or testing only. type: string + namespaceAnnotations: + description: Include Kubernetes namespace resource annotations + in the extra metadata. + type: boolean + namespaceLabels: + description: Include Kubernetes namespace resource labels + in the extra metadata. + type: boolean + namespaceMetadataOnly: + description: |- + Include Kubernetes namespace metadata only and no pod metadata. + If this is set, the values of Labels and Annotations are ignored. + type: boolean regexParser: description: |- Set an alternative Parser to process record Tag and extract pod_name, namespace_name, container_name and docker_id.