private function getConfigMapWatchCallback()
    {
        return function ($event, $watch) {
            //$this->controller->logEvent($event);
            switch ($event['type']) {
                case 'ADDED':
                case 'MODIFIED':
                    if (!empty($event['object']['data'])) {
                        array_walk($event['object']['data'], function (&$item, $key) {
                            $item = json_decode($item, true);
                        });
                    }
                    $this->data = $event['object']['data'];
                    break;
                case 'DELETED':
                    $this->data = null;
                    break;
            }
        };
    }