Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(shield): validate proxy protocols via values schema #2041

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

aroberts87
Copy link
Collaborator

What this PR does / why we need it:

Enforce that when proxy configurations are given, the protocol type is present in the url.

Additionally ensure that 'null' is allowed for the situations where the chart default values are provided.

Ex.

proxy:
  https_proxy: https://example.com
  http_proxy: http://example.com
proxy:
  http_proxy: null

Checklist

  • Title of the PR starts with type and scope, (e.g. feat(agent,node-analyzer,sysdig-deploy):)
  • Chart Version bumped for the respective charts
  • Check GithubAction checks (like lint) to avoid merge-check stoppers

Enforce that when proxy configurations are given, the protocol
type is present in the url.

Additionally ensure that 'null' is allowed for the situations
where the chart default values are provided.

Ex.
```
proxy:
  https_proxy: https://example.com
  http_proxy: http://example.com
```

```
proxy:
  http_proxy: null
```
@aroberts87 aroberts87 self-assigned this Nov 18, 2024
@aroberts87 aroberts87 requested a review from a team as a code owner November 18, 2024 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant