Skip to content

Commit

Permalink
Merge pull request #29 from vantage-sh/support-report-http-proxy
Browse files Browse the repository at this point in the history
Add support for an HTTP Proxy during reporting.
  • Loading branch information
macb authored May 13, 2024
2 parents 583ff7c + 96e9729 commit d81b300
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/vantage-kubernetes-agent/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ apiVersion: v2
name: vantage-kubernetes-agent
description: Provisions the Vantage Kubernetes agent.
type: application
version: 1.0.32
appVersion: "1.0.24"
version: 1.0.33
appVersion: "1.0.25"
icon: "https://assets.vantage.sh/www/vantage_avatar-social.jpg"
4 changes: 4 additions & 0 deletions charts/vantage-kubernetes-agent/templates/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,10 @@ spec:
- name: VANTAGE_ARGO_ROLLOUTS
value: "{{ .Values.agent.argocdRollouts }}"
{{- end}}
{{- if .Values.agent.reportHTTPProxy}}
- name: VANTAGE_REPORT_HTTP_PROXY
value: "{{ .Values.agent.reportHTTPProxy }}"
{{- end}}
- name: VANTAGE_API_TOKEN
valueFrom:
secretKeyRef:
Expand Down
3 changes: 3 additions & 0 deletions charts/vantage-kubernetes-agent/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@
"nodeAddressTypes": {
"type": "string"
},
"reportHTTPProxy": {
"type": "string"
},
"secret": {
"type": "object",
"properties": {
Expand Down
4 changes: 4 additions & 0 deletions charts/vantage-kubernetes-agent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ agent:
# Optional. When enabled, includes ArgoCD Rollouts within controller metadata similar to Deployments.
argocdRollouts: false

# Optional. URL of an HTTP proxy used for external communications during the periodic report. This includes HTTP requests to the Vantage API and AWS S3. ie. http://example.com:3001
reportHTTPProxy: ""


persist:
mountPath: "/var/lib/vantage-agent"
name: "data"
Expand Down

0 comments on commit d81b300

Please sign in to comment.