Browse Source

Merge "Fix k8s features for pyhton3 support"

tags/3.0.0.0rc1
Zuul 2 months ago
committed by Gerrit Code Review
parent
commit
567198331c
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      tacker/vnfm/infra_drivers/kubernetes/k8s/translate_outputs.py

+ 2
- 3
tacker/vnfm/infra_drivers/kubernetes/k8s/translate_outputs.py View File

@@ -214,9 +214,8 @@ class Transformer(object):
if tosca_kube_obj.labels:
if 'selector' in update_label:
del update_label['selector']
labels = dict(tosca_kube_obj.labels.items() + update_label.items())
else:
labels = update_label
update_label.update(tosca_kube_obj.labels)
labels = update_label

# Create and configure a spec section
pod_template = client.V1PodTemplateSpec(


Loading…
Cancel
Save