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

template: use pointer values for gid and uid #14203

Merged
merged 4 commits into from
Aug 22, 2022
Merged

Commits on Aug 19, 2022

  1. template: use pointer values for gid and uid

    When a Nomad agent starts and loads jobs that already existed in the
    cluster, the default template uid and gid was being set to 0, since this
    is the zero value for int. This caused these jobs to fail in
    environments where it was not possible to use 0, such as in Windows
    clients.
    
    In order to differentiate between an explicit 0 and a template where
    these properties were not set we need to use a pointer.
    lgfa29 committed Aug 19, 2022
    Configuration menu
    Copy the full SHA
    c26ec1d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7fc1306 View commit details
    Browse the repository at this point in the history
  3. changelog: add entry for #14203

    lgfa29 committed Aug 19, 2022
    Configuration menu
    Copy the full SHA
    2934bc4 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2022

  1. apply code review

    lgfa29 committed Aug 22, 2022
    Configuration menu
    Copy the full SHA
    da34115 View commit details
    Browse the repository at this point in the history