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

Fix: add log path options for log paths to deployment #6848

Closed
wants to merge 0 commits into from

Conversation

rschalo
Copy link
Contributor

@rschalo rschalo commented Aug 22, 2024

Fixes kubernetes-sigs/karpenter#1572

Description
Bug fix for not referencing log output paths.

How was this change tested?
make test

Does this change impact docs?

  • Yes, PR includes docs updates
  • Yes, issue opened: #
  • No

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Copy link

netlify bot commented Aug 22, 2024

Deploy Preview for karpenter-docs-prod canceled.

Name Link
🔨 Latest commit 16e02ee
🔍 Latest deploy log https://app.netlify.com/sites/karpenter-docs-prod/deploys/66ccd0c076804e0008fecbe8

Copy link

@mariuskimmina mariuskimmina left a comment

Choose a reason for hiding this comment

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

We were about to open the same PR, we tested this exact change on one of our test clusters and it seems to work.
Linking to the issue: kubernetes-sigs/karpenter#1572

@rschalo rschalo marked this pull request as ready for review August 23, 2024 18:56
@rschalo rschalo requested a review from a team as a code owner August 23, 2024 18:56
@coveralls
Copy link

Pull Request Test Coverage Report for Build 10530899211

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.01%) to 79.324%

Totals Coverage Status
Change from base Build 10518403161: 0.01%
Covered Lines: 5939
Relevant Lines: 7487

💛 - Coveralls

{{- end }}
{{- with .Values.logOutputPaths }}
- name: LOG_OUTPUT_PATHS
value: "{{ . }}"
Copy link
Contributor

Choose a reason for hiding this comment

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

Does this work? Since it's an array, don't we need some helm magic to convert this into a comma-delimited list?

Choose a reason for hiding this comment

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

Yes, it works. I believe that happens here:

Flatten the stdout logging outputs from args provided

@mariuskimmina
Copy link

@rschalo could you provide some context on why this PR got closed?

@rschalo
Copy link
Contributor Author

rschalo commented Aug 27, 2024

Fix implemented in a different PR: #6875

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.

logOutputPaths and logErrorOutputPaths not working
5 participants