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

Use user 999 for initContainer as in sidecar #395

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

fty4
Copy link
Contributor

@fty4 fty4 commented Aug 30, 2022

Description

Currently only the avp (sidecar) container uses the user 999.
But the same image is used for the initContainer download-tools.
It might be good to use the same user here as well.

As the user has no permission in the current workdir a temp dir is used to download the binary.

Checklist

Please make sure that your PR fulfills the following requirements:

  • Reviewed the guidelines for contributing to this repository
  • The commit message follows the Conventional Commits Guidelines.
  • Tests for the changes have been updated
  • Are you adding dependencies? If so, please run go mod tidy -compat=1.17 to ensure only the minimum is pulled in.
  • Docs have been added / updated
  • Optional. My organization is added to USERS.md.

Type of Change

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • New tests
  • Build/CI related changes
  • Documentation content changes
  • Other (please describe)

docs/installation.md Outdated Show resolved Hide resolved
docs/installation.md Outdated Show resolved Hide resolved
fty4 and others added 4 commits September 29, 2023 15:40
Signed-off-by: Marco Lecheler <marco.lecheler@mercedes-benz.com>
Signed-off-by: Marco Lecheler <marco.lecheler@mercedes-benz.com>
As @YvesZelros suggested the temporary directory is not required.

Signed-off-by: Marco Lecheler <marco.lecheler@mercedes-benz.com>
…ycontext-initcontainer

Signed-off-by: Marco Lecheler <marco.lecheler@mercedes-benz.com>
@fty4 fty4 force-pushed the chore/install-securitycontext-initcontainer branch from a859aa8 to 5beef79 Compare September 29, 2023 13:43
@fty4
Copy link
Contributor Author

fty4 commented Sep 29, 2023

forced push to pass DCO

@jacksgt
Copy link

jacksgt commented Jan 11, 2024

Looks good to me, could someone please approve and merge the PR? @werne2j @YvesZelros

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.

None yet

4 participants