• Christopher Swenson's avatar
    Agent error log level is mismatched (#14424) · 311910b9
    Christopher Swenson authored
    * [VAULT-1618] Agent error log level is mismatched
    
    `logLevelToStringPtr` translates `go-hclog`'s `ERROR` to `"ERROR"` for
    Consul Template's runner, but that expects `ERR` and is quite strict
    about it.
    
    This will address https://github.com/hashicorp/vault-k8s/issues/223
    
    
    after it is set as the default image in `vault-k8s`.
    
    I didn't find a simple way to test this other than starting up a full
    server and agent and letting them run, which is unfortunately fairly
    slow.
    
    I confirmed that this addresses the original issue by modifying the helm
    chart with the values in this commit and patching the log level to `err`.
    
    * VAULT-1618 Add changelog/14424.txt
    
    * VAULT-1618 Update changelog/14424.txt based on @kalafut suggestion
    Co-authored-by: default avatarJim Kalafut <jkalafut@hashicorp.com>
    
    * VAULT-1618 Move cancel and server stop into defer in tests
    
    * VAULT-1618 Triggering CircleCI tests
    
    * VAULT-1618 Replace ioutil with os functions for agent template tests
    Co-authored-by: default avatarJim Kalafut <jkalafut@hashicorp.com>
    311910b9