Skip to content

Commit

Permalink
[MINOR]: Only get secret from ElasticSearch if automated
Browse files Browse the repository at this point in the history
  • Loading branch information
amadolid committed Aug 9, 2024
1 parent c2da4a7 commit 55d5256
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jaseci_core/jaseci/extens/svc/elastic_svc.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class ElasticService(JsOrc.CommonService):

def run(self):
kube = JsOrc.svc("kube", KubeService)
if kube.is_running():
if self.automated and kube.is_running():
elasticsearches = kube.resolve_manifest(
self.manifest, *JsOrc.overrided_namespace("elastic", self.manifest_type)
).get("Elasticsearch", [])
Expand Down

0 comments on commit 55d5256

Please sign in to comment.