When i was installing the promtail in a cluster with basic auth in “extraClientConfigs” , pod status is going to a crashloopbackoff state.If i remove basic auth from “extraClientConfigs”, pod status is showing as running. Actually the expected output should be with basic_auth pod status should be in running state.
basic auth code snippet
extraClientConfigs:
basic_auth:
username: admin
password: admin
tls_config:
insecure_skip_verify: true
error :Unable to parse config: /etc/promtail/promtail.yaml: yaml: line 6: did not find expected ‘-’ indicator