Skip to content

Commit 88f820e

Browse files
authored
Jiva controller service now selects controller pods (#179)
Signed-off-by: Adam Charnock <adam@adamcharnock.com>
1 parent 42d2996 commit 88f820e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/controllers/jivavolume_controller.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1195,6 +1195,7 @@ func createControllerService(r *JivaVolumeReconciler, cr *jivaAPI.JivaVolume) er
11951195
WithNamespace(cr.Namespace).
11961196
WithSelectorsNew(map[string]string{
11971197
"openebs.io/cas-type": "jiva",
1198+
"openebs.io/component": "jiva-controller",
11981199
"openebs.io/persistent-volume": cr.Spec.PV,
11991200
}).
12001201
WithPorts(defaultControllerSVCPorts()).

0 commit comments

Comments
 (0)