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

Support for non-root containers - cat file.sh | sh #35

Closed
wants to merge 9 commits into from

Conversation

hibohra1398
Copy link
Contributor

@hibohra1398 hibohra1398 commented Jul 19, 2024

Description

Please include a summary of the change, motivation and context.

For non-root containers, we wont be able to execute the command, adding the support in the command section of job

Testing

Please describe the tests that you ran to verify your changes. Please summarize what did you test and what needs to be tested e.g. deployed and tested helm chart locally.

Checklist:

  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • Any dependent changes have been merged and published in downstream modules

Documentation

Make sure that you have documented corresponding changes in this repository or hypertrace docs repo if required.

@@ -23,6 +23,7 @@ spec:
- name: kstreams-app-version-checker
image: {{ .Values.image.repository }}:{{ default .Chart.AppVersion .Values.image.tagOverride }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
command: ["/bin/sh", "-ce", "cat /tmp/updated_workloads.sh | /bin/sh"]
Copy link
Contributor

Choose a reason for hiding this comment

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

instead make this change in Dockerfile itself.

@hibohra1398 hibohra1398 requested a review from ravisingal August 8, 2024 12:34
Copy link
Contributor

@kotharironak kotharironak left a comment

Choose a reason for hiding this comment

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

lgtm

@ravisingal ravisingal closed this Nov 25, 2024
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.

4 participants