diff --git a/contrib/network-storage/heketi/roles/provision/templates/glusterfs-daemonset.json.j2 b/contrib/network-storage/heketi/roles/provision/templates/glusterfs-daemonset.json.j2 index 15efb3d6af8899bca56d11ab078bf0b9b9197432..8934fa9266aaf88001d40669428679f3343a9a59 100644 --- a/contrib/network-storage/heketi/roles/provision/templates/glusterfs-daemonset.json.j2 +++ b/contrib/network-storage/heketi/roles/provision/templates/glusterfs-daemonset.json.j2 @@ -12,6 +12,11 @@ } }, "spec": { + "selector": { + "matchLabels": { + "glusterfs-node": "daemonset" + } + }, "template": { "metadata": { "name": "glusterfs", diff --git a/contrib/network-storage/heketi/roles/provision/templates/heketi-bootstrap.json.j2 b/contrib/network-storage/heketi/roles/provision/templates/heketi-bootstrap.json.j2 index 6f82bb40947b0a3c0fa7406f42912147c43fa84d..7a932d0494b7e673a8ab20d34f7bf59da0e0b37c 100644 --- a/contrib/network-storage/heketi/roles/provision/templates/heketi-bootstrap.json.j2 +++ b/contrib/network-storage/heketi/roles/provision/templates/heketi-bootstrap.json.j2 @@ -42,6 +42,11 @@ } }, "spec": { + "selector": { + "matchLabels": { + "name": "deploy-heketi" + } + }, "replicas": 1, "template": { "metadata": { diff --git a/contrib/network-storage/heketi/roles/provision/templates/heketi-deployment.json.j2 b/contrib/network-storage/heketi/roles/provision/templates/heketi-deployment.json.j2 index 0cd24e167a92b054528079e87e422f7f652d911f..8e09ce855303f9719e24080da49468b55f0d118f 100644 --- a/contrib/network-storage/heketi/roles/provision/templates/heketi-deployment.json.j2 +++ b/contrib/network-storage/heketi/roles/provision/templates/heketi-deployment.json.j2 @@ -55,6 +55,11 @@ } }, "spec": { + "selector": { + "matchLabels": { + "name": "heketi" + } + }, "replicas": 1, "template": { "metadata": {