Closed bek-afs closed 9 months ago
Hey @bek-afs,
The double quotes around in V4_CFG_ELASTICSEARCH_ENABLE: "false"
makes ansible interpret the false value as a string. Strings in general are "truthy" which is why the elasticsearch transformers and resource are being included in the kustomization.yaml
. If you remove the double quotes it should work as expected and the elasticsearch items will not be included in your deployment.
Scroll to the bottom for Ansible boolean conversion doc: https://docs.ansible.com/ansible/latest/reference_appendices/YAMLSyntax.html
@jarpat Thanks for the clarification!
Viya4 Deployment Version Details
6.8.0
I understand this is not the latest version, but it doesn't seem like anything with ElasticSearch/OpenSearch/OpenDistro was changed since 6.8.0
Ansible Variable File Details
V4_CFG_ELASTICSEARCH_ENABLE: "false"
Steps to Reproduce
Expected Behavior
The following lines are NOT in the kustomization.yaml:
resources:
transformers:
The following pods are NOT provisioned: sas-opendistro-default-0
sas-opendistro-exporter
sas-opendistro-operator
Actual Behavior
The following lines are still in the kustomization.yaml:
resources:
transformers:
The following pods are still provisioned: sas-opendistro-default-0
sas-opendistro-exporter
sas-opendistro-operator
Additional Context
No response
References
No response
Code of Conduct