Updates k8s example rc to use correct label

Previously, replication-controller.yaml used the name: nginx
label instead of app: nginx. This caused the example service.yaml
to not bind to replication-controller.yaml pods.

Closes-Bug: 1614206

Change-Id: I7260ef6b2987abc2677d40bc4aa9a9d87e1378ee
changes/54/356654/1
Daneyon Hansen 6 years ago
parent 570173d999
commit f9e8c70398
  1. 2
      magnum/drivers/k8s_fedora_atomic_v1/templates/fragments/kube-examples.yaml

@ -22,7 +22,7 @@ write_files:
labels:
# Important: these labels need to match the selector above
# The api server enforces this constraint.
name: nginx
app: nginx
spec:
containers:
- name: nginx

Loading…
Cancel
Save