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: getUIDandGID is able to resolve non-existing users and groups #2106

Merged
merged 24 commits into from
Jul 12, 2022

Commits on May 23, 2022

  1. fix: getUIDandGID is able to resolve non-existing users and groups

    A common pattern in dockerfiles is to provide a plain uid and gid number, which doesn't neccesarily exist inside the os.
    
    Signed-off-by: Höhl, Lukas <lukas.hoehl@accso.de>
    Höhl, Lukas committed May 23, 2022
    Configuration menu
    Copy the full SHA
    9b656eb View commit details
    Browse the repository at this point in the history
  2. test: add chown dockerfile

    Signed-off-by: Höhl, Lukas <lukas.hoehl@accso.de>
    Höhl, Lukas committed May 23, 2022
    Configuration menu
    Copy the full SHA
    248f0f6 View commit details
    Browse the repository at this point in the history
  3. chore: format

    Signed-off-by: Höhl, Lukas <lukas.hoehl@accso.de>
    Höhl, Lukas committed May 23, 2022
    Configuration menu
    Copy the full SHA
    497ba3d View commit details
    Browse the repository at this point in the history
  4. chore: add comment

    Signed-off-by: Höhl, Lukas <lukas.hoehl@accso.de>
    Höhl, Lukas committed May 23, 2022
    Configuration menu
    Copy the full SHA
    bb82ecf View commit details
    Browse the repository at this point in the history
  5. tests: fix chown dockerfile

    Signed-off-by: Höhl, Lukas <lukas.hoehl@accso.de>
    Höhl, Lukas committed May 23, 2022
    Configuration menu
    Copy the full SHA
    88d52bc View commit details
    Browse the repository at this point in the history

Commits on May 25, 2022

  1. refactor: split up getIdsFromUsernameAndGroup func

    Signed-off-by: Höhl, Lukas <lukas.hoehl@accso.de>
    Höhl, Lukas committed May 25, 2022
    Configuration menu
    Copy the full SHA
    ebfffdd View commit details
    Browse the repository at this point in the history

Commits on May 27, 2022

  1. fix: implement raw uid logic for LookupUser

    Signed-off-by: Höhl, Lukas <lukas.hoehl@accso.de>
    Höhl, Lukas committed May 27, 2022
    Configuration menu
    Copy the full SHA
    c1b06ff View commit details
    Browse the repository at this point in the history
  2. test: add dockerfiles for integration test

    Lukas Hoehl committed May 27, 2022
    Configuration menu
    Copy the full SHA
    e247184 View commit details
    Browse the repository at this point in the history
  3. fix: lookup user error message

    Lukas Hoehl committed May 27, 2022
    Configuration menu
    Copy the full SHA
    ab0374e View commit details
    Browse the repository at this point in the history
  4. test: add dockerfiles for non-existing user testcase

    Lukas Hoehl committed May 27, 2022
    Configuration menu
    Copy the full SHA
    4df82fe View commit details
    Browse the repository at this point in the history
  5. fix: forgot error check

    Lukas Hoehl committed May 27, 2022
    Configuration menu
    Copy the full SHA
    61f9f49 View commit details
    Browse the repository at this point in the history
  6. tests: fix syscall credentials test

    Lukas Hoehl committed May 27, 2022
    Configuration menu
    Copy the full SHA
    74b294d View commit details
    Browse the repository at this point in the history
  7. chore: add debug output for copy command

    Lukas Hoehl committed May 27, 2022
    Configuration menu
    Copy the full SHA
    1de32bc View commit details
    Browse the repository at this point in the history

Commits on May 28, 2022

  1. tests: set specific gid for integration dockerfile

    Lukas Hoehl committed May 28, 2022
    Configuration menu
    Copy the full SHA
    6e639b6 View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2022

  1. tests: fix syscall credentials test

    github runner had the exact uid that i was testing on, so the groups were not empty
    
    Signed-off-by: Höhl, Lukas <lukas.hoehl@accso.de>
    Höhl, Lukas committed Jun 2, 2022
    Configuration menu
    Copy the full SHA
    d75808c View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2022

  1. tests: fix test script

    Signed-off-by: Höhl, Lukas <lukas.hoehl@accso.de>
    Höhl, Lukas committed Jun 7, 2022
    Configuration menu
    Copy the full SHA
    b7d354d View commit details
    Browse the repository at this point in the history
  2. chore: apply golangci lint checks

    Signed-off-by: Höhl, Lukas <lukas.hoehl@accso.de>
    Höhl, Lukas committed Jun 7, 2022
    Configuration menu
    Copy the full SHA
    830a653 View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2022

  1. Merge branch 'main' into fix-chown

    Höhl, Lukas committed Jun 23, 2022
    Configuration menu
    Copy the full SHA
    0fc10b0 View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2022

  1. fix: reset file ownership in createFile if not root owned

    Signed-off-by: Höhl, Lukas <lukas.hoehl@accso.de>
    Höhl, Lukas committed Jun 24, 2022
    Configuration menu
    Copy the full SHA
    f5e2111 View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2022

  1. Merge branch 'main' into fix-chown

    Höhl, Lukas committed Jun 27, 2022
    Configuration menu
    Copy the full SHA
    219b25e View commit details
    Browse the repository at this point in the history
  2. chore: logrus.Debugf missed format variable

    Signed-off-by: Höhl, Lukas <lukas.hoehl@accso.de>
    Höhl, Lukas committed Jun 27, 2022
    Configuration menu
    Copy the full SHA
    8a68ae8 View commit details
    Browse the repository at this point in the history
  3. chore(test-script): remove go html coverage

    Signed-off-by: Höhl, Lukas <lukas.hoehl@accso.de>
    Höhl, Lukas committed Jun 27, 2022
    Configuration menu
    Copy the full SHA
    59f973d View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2022

  1. Merge branch 'main' into fix-chown

    Höhl, Lukas committed Jul 12, 2022
    Configuration menu
    Copy the full SHA
    f0e7dcc View commit details
    Browse the repository at this point in the history
  2. test(k8s): increase wait timeout

    Signed-off-by: Höhl, Lukas <lukas.hoehl@accso.de>
    Höhl, Lukas committed Jul 12, 2022
    Configuration menu
    Copy the full SHA
    8813a66 View commit details
    Browse the repository at this point in the history