WARNING: jp-osa do not have regional COS endpoint support, it is recommended to use Cross-Regional Storageclass.
And the code snippet I have in NOTES.txt for this helm chart is:
{{- if not (contains $.Values.region "storage-plugin.regionEP") }}
WARNING: {{ $.Values.region }} do not have regional COS endpoint support, it is recommended to use Cross-Regional Storageclass.
{{- end }
When I print storage-plugin.regionEP
I see .au-syd.br-sao.ca-tor.eu-de.eu-fr2.eu-gb.jp-osa.jp-tok.us-east.us-south
and the region
values is jp-osa
.
If condition should ideally not get executed. Any idea why this is not working as expected.