I have below values in values.yaml
pg_hba:
- hostssl all all 0.0.0.0/0 md5
- host all all 0.0.0.0/0 md5
The reqiurement is to check the hostssl
line exists , if yes it should go into the if loop and do something.
i tried to use {{ if has "hostssl" .Values.pg_hba }}
but it seraches only for the exact string "hostssll" and not the entire line.
Please help on how i can check for the entrire line in if condition.
hostssl
? – Sparling