Skip to content

Commit

Permalink
Allow version of ElasticSearch to be specified (#303)
Browse files Browse the repository at this point in the history
* Allow version of ElasticSearch to be specified

* Update roles/servicetelemetry/templates/manifest_elasticsearch.j2

* Update deploy/crds/infra.watch_servicetelemetrys_crd.yaml

Co-authored-by: Chris Sibbitt <csibbitt@redhat.com>

* Sync CRD to bundle

* Update ES target version to latest

* Update deploy/olm-catalog/service-telemetry-operator/manifests/service-telemetry-operator.clusterserviceversion.yaml

Co-authored-by: Chris Sibbitt <csibbitt@redhat.com>

* Update deploy/crds/infra.watch_v1beta1_servicetelemetry_cr.yaml

Co-authored-by: Chris Sibbitt <csibbitt@redhat.com>

* Update Jenkinsfile to latest ES

Co-authored-by: Chris Sibbitt <csibbitt@redhat.com>
  • Loading branch information
leifmadsen and csibbitt authored Dec 14, 2021
1 parent ae617cd commit 39c77c7
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ spec:
name: elasticsearch
namespace: $namespace
spec:
version: 7.10.2
version: 7.16.1
volumeClaimDeletePolicy: DeleteOnScaledownAndClusterDeletion
http:
tls:
Expand Down
3 changes: 3 additions & 0 deletions deploy/crds/infra.watch_servicetelemetrys_crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,9 @@ spec:
enabled:
description: Enable ElasticSearch as a storage backend for events
type: boolean
version:
description: Version of ElasticSearch to deploy. Elasticsearch licensing has changed as of version 7.11. See https://www.elastic.co/pricing/faq/licensing for details.
type: string
nodeCount:
description: Elasticsearch node count
type: string
Expand Down
1 change: 1 addition & 0 deletions deploy/crds/infra.watch_v1beta1_servicetelemetry_cr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ spec:
events:
elasticsearch:
enabled: false
version: 7.16.1
storage:
strategy: persistent
persistent:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,11 @@ spec:
- persistent
type: string
type: object
version:
description: Version of ElasticSearch to deploy. Elasticsearch
licensing has changed as of version 7.11. See https://www.elastic.co/pricing/faq/licensing
for details.
type: string
type: object
type: object
logs:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ metadata:
"pvcStorageRequest": "20Gi"
},
"strategy": "persistent"
}
},
"version": "7.16.1"
}
},
"logs": {
Expand Down
1 change: 1 addition & 0 deletions roles/servicetelemetry/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ servicetelemetry_defaults:
events:
elasticsearch:
enabled: false
version: 7.16.1
node_count: 1
storage:
strategy: persistent
Expand Down
2 changes: 1 addition & 1 deletion roles/servicetelemetry/templates/manifest_elasticsearch.j2
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,5 @@ spec:
certificate: {}
updateStrategy:
changeBudget: {}
version: 7.10.2
version: {{ servicetelemetry_vars.backends.events.elasticsearch.version }}
volumeClaimDeletePolicy: DeleteOnScaledownOnly

0 comments on commit 39c77c7

Please sign in to comment.