diff --git a/charts/prometheus-elasticsearch-exporter/Chart.yaml b/charts/prometheus-elasticsearch-exporter/Chart.yaml index ae41b4353814..8ad70ba66905 100644 --- a/charts/prometheus-elasticsearch-exporter/Chart.yaml +++ b/charts/prometheus-elasticsearch-exporter/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 description: Elasticsearch stats exporter for Prometheus name: prometheus-elasticsearch-exporter -version: 6.0.0 +version: 6.1.0 kubeVersion: ">=1.19.0-0" appVersion: "v1.7.0" home: https://github.com/prometheus-community/elasticsearch_exporter diff --git a/charts/prometheus-elasticsearch-exporter/ci/extra-manifests-values.yaml b/charts/prometheus-elasticsearch-exporter/ci/extra-manifests-values.yaml new file mode 100644 index 000000000000..63ef89bcb776 --- /dev/null +++ b/charts/prometheus-elasticsearch-exporter/ci/extra-manifests-values.yaml @@ -0,0 +1,11 @@ +--- +# Create extra manifests + +extraManifests: + - | + apiVersion: v1 + kind: ConfigMap + metadata: + name: prometheus-elasticsearch-exporter-extra + data: + extra-data: "value" diff --git a/charts/prometheus-elasticsearch-exporter/ci/pod-security-policies.yaml b/charts/prometheus-elasticsearch-exporter/ci/pod-security-policies.yaml deleted file mode 100644 index e856c645924a..000000000000 --- a/charts/prometheus-elasticsearch-exporter/ci/pod-security-policies.yaml +++ /dev/null @@ -1,5 +0,0 @@ ---- -# Enable podSecurityPolicies - -podSecurityPolicies: - enabled: true diff --git a/charts/prometheus-elasticsearch-exporter/ci/resources-values.yaml b/charts/prometheus-elasticsearch-exporter/ci/resources-values.yaml new file mode 100644 index 000000000000..1cf30f693209 --- /dev/null +++ b/charts/prometheus-elasticsearch-exporter/ci/resources-values.yaml @@ -0,0 +1,8 @@ +--- +resources: + requests: + cpu: 100m + memory: 128Mi + limits: + cpu: 100m + memory: 128Mi diff --git a/charts/prometheus-elasticsearch-exporter/ci/security-context.yaml b/charts/prometheus-elasticsearch-exporter/ci/security-context-values.yaml similarity index 60% rename from charts/prometheus-elasticsearch-exporter/ci/security-context.yaml rename to charts/prometheus-elasticsearch-exporter/ci/security-context-values.yaml index 019b2222efb6..f48fa05340df 100644 --- a/charts/prometheus-elasticsearch-exporter/ci/security-context.yaml +++ b/charts/prometheus-elasticsearch-exporter/ci/security-context-values.yaml @@ -1,4 +1,4 @@ --- # Unset pod level securityContext -podSecurityContext: null \ No newline at end of file +podSecurityContext: null diff --git a/charts/prometheus-elasticsearch-exporter/templates/extra-manifests.yaml b/charts/prometheus-elasticsearch-exporter/templates/extra-manifests.yaml new file mode 100644 index 000000000000..2b21b710621f --- /dev/null +++ b/charts/prometheus-elasticsearch-exporter/templates/extra-manifests.yaml @@ -0,0 +1,4 @@ +{{ range .Values.extraManifests }} +--- +{{ tpl . $ }} +{{ end }} diff --git a/charts/prometheus-elasticsearch-exporter/values.yaml b/charts/prometheus-elasticsearch-exporter/values.yaml index a61407b36a6f..a83ab45bfb6a 100644 --- a/charts/prometheus-elasticsearch-exporter/values.yaml +++ b/charts/prometheus-elasticsearch-exporter/values.yaml @@ -124,6 +124,16 @@ env: {} # - --es.indices_mappings extraArgs: [] +# Extra manifests to deploy as an array +extraManifests: [] + # - | + # apiVersion: v1 + # kind: ConfigMap + # metadata: + # name: prometheus-elasticsearch-exporter-extra + # data: + # extra-data: "value" + ## The name of a secret in the same kubernetes namespace which contain values to be added to the environment ## This can be useful for auth tokens, etc envFromSecret: ""