diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-09-06 15:40:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-06 15:40:55 +0200 |
commit | 4e06aa37714ecb5b38e189cf85f4aec9b1e6399a (patch) | |
tree | 8b7d0545f9946cddb01d98050063e0422fbfe8ac /pkg/api/server | |
parent | 34b0be6cffef86ff54846e5548d1accf3fefc272 (diff) | |
parent | a9a411f8a83ab5644582b8929a32abacc18a17fc (diff) | |
download | podman-4e06aa37714ecb5b38e189cf85f4aec9b1e6399a.tar.gz podman-4e06aa37714ecb5b38e189cf85f4aec9b1e6399a.tar.bz2 podman-4e06aa37714ecb5b38e189cf85f4aec9b1e6399a.zip |
Merge pull request #15584 from sstosh/generate-systemd-env
Add generate systemd -e/--env option
Diffstat (limited to 'pkg/api/server')
-rw-r--r-- | pkg/api/server/register_generate.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkg/api/server/register_generate.go b/pkg/api/server/register_generate.go index 82fbe3d09..ac2818db0 100644 --- a/pkg/api/server/register_generate.go +++ b/pkg/api/server/register_generate.go @@ -93,6 +93,13 @@ func (s *APIServer) registerGenerateHandlers(r *mux.Router) error { // type: string // default: [] // description: Systemd Requires list for the container or pods. + // - in: query + // name: additionalEnvVariables + // type: array + // items: + // type: string + // default: [] + // description: Set environment variables to the systemd unit files. // produces: // - application/json // responses: |