Skip to content

Commit

Permalink
Use apache instead of elasticsearch in helm integration testing
Browse files Browse the repository at this point in the history
  • Loading branch information
kuskoman committed Apr 12, 2023
1 parent 2fff761 commit fb898cf
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 14 deletions.
10 changes: 5 additions & 5 deletions .helm/logstash-integration-test-chart/Chart.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ dependencies:
- name: logstash
repository: https://helm.elastic.co
version: 8.5.1
- name: elasticsearch
repository: https://helm.elastic.co
version: 8.5.1
- name: apache
repository: https://charts.bitnami.com/bitnami
version: 9.2.23
- name: prometheus
repository: https://prometheus-community.github.io/helm-charts
version: 20.2.0
- name: logstash-exporter
repository: file://../../chart/
version: v1.0.2
digest: sha256:0d966a53b3f0eff8f8008de0473ebfbd7c279267a3fb0bde601fece4404539db
generated: "2023-04-12T10:08:39.085004988+02:00"
digest: sha256:1733217c222c212aac4b58826c147d7acb2f61fe01ce6985b139050803915d92
generated: "2023-04-12T10:38:00.905306965+02:00"
9 changes: 5 additions & 4 deletions .helm/logstash-integration-test-chart/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@ dependencies:
version: "8.5.1"
repository: https://helm.elastic.co
condition: logstash.enabled
- name: elasticsearch
version: "8.5.1"
repository: https://helm.elastic.co
condition: elasticsearch.enabled
# we are replacing elasticsearch with apache for testing purposes
- name: apache
version: "^9.2.23"
repository: https://charts.bitnami.com/bitnami
condition: apache.enabled
- name: prometheus
version: "^20.2.0"
repository: https://prometheus-community.github.io/helm-charts
Expand Down
8 changes: 3 additions & 5 deletions .helm/logstash-integration-test-chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ logstash:
output {
elasticsearch {
hosts => ["http://elasticsearch:9200"]
hosts => ["http://logstash-integration-test-chart:9200"]
}
}
Expand All @@ -38,11 +38,9 @@ prometheus:
static_configs:
- targets: ["exporter:9198"]
elasticsearch:
apache:
enabled: true
replicas: 1
minimumMasterNodes: 1
esJavaOpts: "-Xms512m -Xmx512m"

logstash-exporter:
enabled: true
fullnameOverride: logstash-exporter

0 comments on commit fb898cf

Please sign in to comment.