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

add envvariables to the chart and set default gomemlimit and gomaxproc #215

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

Conversation

akhal3d96
Copy link

@akhal3d96 akhal3d96 commented Mar 13, 2024

Added a way to inject custom env variables and also added a default value for GOMEMLIMIT and GOMAXPROC

@akhal3d96 akhal3d96 requested a review from a team as a code owner March 13, 2024 19:41
@xunleii
Copy link
Member

xunleii commented Mar 14, 2024

Hello, thank you for your contribution to this project. Unfortunately, we have a problem on our CI (old version github.com/helm/chart-testing-action which breaks our CI). We have merged the PR related to this problem (#188) but we need you to rebase your fork.

- name: GOMAXPROCS
valueFrom:
resourceFieldRef:
resource: limits.cpu
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
resource: limits.cpu
resource: limits.cpu

Comment on lines +68 to +69

{{ toYaml .Values.envVariables | nindent 6 }}
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
{{ toYaml .Values.envVariables | nindent 6 }}
{{- toYaml .Values.envVariables | nindent 12 }}

You can test the render of the chart using following command 🙂

helm template ./charts/gitlab-ci-runner-exporter --debug

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.

3 participants