forked from github/multus-cni
Change pod annotation name to 'v1.multus-cni.io/default-network'
This commit is contained in:
committed by
Tomofumi Hayashi
parent
c3be74d7d6
commit
96217dd16e
@@ -124,7 +124,7 @@ func NewFakePod(name string, netAnnotation string, defaultNetAnnotation string)
|
||||
}
|
||||
|
||||
if defaultNetAnnotation != "" {
|
||||
annotations["multus-cni.io/default-network"] = defaultNetAnnotation
|
||||
annotations["v1.multus-cni.io/default-network"] = defaultNetAnnotation
|
||||
}
|
||||
|
||||
pod.ObjectMeta.Annotations = annotations
|
||||
|
Reference in New Issue
Block a user