Skip to content

Commit

Permalink
fix: add user-agent to kube api calls (#269)
Browse files Browse the repository at this point in the history
* Add USER_AGENT_NAME and USER_AGENT_VERSION in env

* Update resource.yaml

Co-authored-by: Alex Lewitt <48691328+alewitt2@users.noreply.github.com>
  • Loading branch information
DeepaliAloori and alewitt2 authored Mar 29, 2021
1 parent 3692c33 commit e645ccb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions kubernetes/watch-keeper/resource.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: USER_AGENT_NAME
value: razee.io/watch-keeper
- name: USER_AGENT_VERSION
value: "{{{TRAVIS_TAG}}}"
- name: NODE_ENV
value: "production"
- name: KUBECONFIG
Expand Down

0 comments on commit e645ccb

Please sign in to comment.