diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-04-17 05:52:51 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-17 05:52:51 -0400 |
commit | 676c33f07950b29b657370df5e767452692be648 (patch) | |
tree | 4a3ba7067472b1c3a9f1756f54a18816f84dd603 /pkg/domain/entities/play.go | |
parent | 35b62ef19f307fb365eb7a8734e456160f7b22a8 (diff) | |
parent | d7292dbf2731701c122656400ce5007693efe3c8 (diff) | |
download | podman-676c33f07950b29b657370df5e767452692be648.tar.gz podman-676c33f07950b29b657370df5e767452692be648.tar.bz2 podman-676c33f07950b29b657370df5e767452692be648.zip |
Merge pull request #10043 from Luap99/play-kube-ip
add --ip to podman play kube
Diffstat (limited to 'pkg/domain/entities/play.go')
-rw-r--r-- | pkg/domain/entities/play.go | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/pkg/domain/entities/play.go b/pkg/domain/entities/play.go index cd8bb9506..c69bb0867 100644 --- a/pkg/domain/entities/play.go +++ b/pkg/domain/entities/play.go @@ -1,6 +1,10 @@ package entities -import "github.com/containers/image/v5/types" +import ( + "net" + + "github.com/containers/image/v5/types" +) // PlayKubeOptions controls playing kube YAML files. type PlayKubeOptions struct { @@ -24,6 +28,8 @@ type PlayKubeOptions struct { // SeccompProfileRoot - path to a directory containing seccomp // profiles. SeccompProfileRoot string + // StaticIPs - Static IP address used by the pod(s). + StaticIPs []net.IP // ConfigMaps - slice of pathnames to kubernetes configmap YAMLs. ConfigMaps []string // LogDriver for the container. For example: journald |