jetstack-secure icon indicating copy to clipboard operation
jetstack-secure copied to clipboard

Include clientId in agent log output

Open hawksight opened this issue 1 year ago • 0 comments

We seem to dump all the config out when the agent starts up in Venafi Kubernetes Agent. This is useful for debugging. But we are missing one important piece when connecting to TLSPK on VCP, the client-id.

This is passed in the deployment rather than config here:

    spec:
      containers:
      - args:
        - agent
        - -c
        - /etc/venafi/agent/config/config.yaml
        - --client-id
        - XXXXX-f707-11ee-922c-XXXXXXX
        - -p
        - 0h1m0s
        - --venafi-cloud
        - --enable-metrics

It would be useful to also have this logged on startup.

hawksight avatar Jul 11 '24 16:07 hawksight