summaryrefslogtreecommitdiff
path: root/pkg/domain/entities/play.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-05-05 10:10:16 -0400
committerGitHub <noreply@github.com>2021-05-05 10:10:16 -0400
commit120e1b78ef28e9220337423ea3e11486c813aa55 (patch)
tree991d631d237a4a6c38e6452150ee73e633fb09a0 /pkg/domain/entities/play.go
parenta278195af3423f882c1f5bb218792f7c2ce10a3c (diff)
parentfb7d16c7a841bbe2c02cb97b2820334b617e7f44 (diff)
downloadpodman-120e1b78ef28e9220337423ea3e11486c813aa55.tar.gz
podman-120e1b78ef28e9220337423ea3e11486c813aa55.tar.bz2
podman-120e1b78ef28e9220337423ea3e11486c813aa55.zip
Merge pull request #10208 from Luap99/play-kube-mac
add --mac-address to podman play kube
Diffstat (limited to 'pkg/domain/entities/play.go')
-rw-r--r--pkg/domain/entities/play.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/domain/entities/play.go b/pkg/domain/entities/play.go
index c69bb0867..89dfc08e9 100644
--- a/pkg/domain/entities/play.go
+++ b/pkg/domain/entities/play.go
@@ -30,6 +30,8 @@ type PlayKubeOptions struct {
SeccompProfileRoot string
// StaticIPs - Static IP address used by the pod(s).
StaticIPs []net.IP
+ // StaticMACs - Static MAC address used by the pod(s).
+ StaticMACs []net.HardwareAddr
// ConfigMaps - slice of pathnames to kubernetes configmap YAMLs.
ConfigMaps []string
// LogDriver for the container. For example: journald