Skip to content

feat(helm chart): Make env vars configurable and auto configure go runtime #1246

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

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

Conversation

sslavic
Copy link

@sslavic sslavic commented Jan 26, 2024

Reason for Change:

PR extends the workload-identity-webhook helm chart with support for configuring environment variables and it automatically configures Go runtime (GOMAXPROCS and GOMEMLIMIT) to make the runtime aware of resources assigned to the azure-wi-webhook-controller-manager Deployment containers. This reduces likelihood of CPUThrottlingHigh paging and OOM crashes.

Requirements

  • squashed commits
  • included documentation
  • added unit tests and e2e tests (if applicable).

Issue Fixed:

Please answer the following questions with yes/no:

Does this change contain code from or inspired by another project? If so, did you notify the maintainers and provide attribution?

  • yes
  • no

Notes for Reviewers:

@sslavic sslavic requested review from aramase and enj as code owners January 26, 2024 13:43
@sslavic
Copy link
Author

sslavic commented Jan 26, 2024

@microsoft-github-policy-service agree

Copy link
Member

@aramase aramase left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. The license cla bot still doesn't show the license has been signed.
  2. After making the changes in helmify, you'll need to run make generate to generate the changes in manifest_staging/charts dir.

@@ -36,6 +36,8 @@ helm upgrade -n azure-workload-identity-system [RELEASE_NAME] azure-workload-ide
| image.pullPolicy | Image pullPolicy | `IfNotPresent` |
| image.release | The image release tag to use | Current release version: `v1.2.0` |
| imagePullSecrets | Image pull secrets to use for retrieving images from private registries | `[]` |
| goEnvVars | Go runtime environment variables to pass to the azure-wi-webhook-controller-manager's _manager_ container. | `See _values.yaml_` |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of a new variable for go env vars, I would prefer just having the extra env vars with the go snippets added as example.

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.

2 participants