hunk.code_window:     }
     }
     configureSocketAndTerminal(socket, term) {
       socket.onopen = function () {
         const terminal_container = document.getElementById('terminal-container');
         term.open(terminal_container);
         term.setOption('cursorBlink', true);
         term.focus();
  
hunk.labels: keep keep keep add keep keep keep keep keep
hunk.after_edit:     var vm = this;
  
hunk.file_path: app/kubernetes/components/kubectl-shell/kubectl-shell.controller.js
hunk.type: add
file: angular.module('portainer.kubernetes').component('kubernetesStackLogsView', {
    templateUrl: './logs.html',
    controller: 'KubernetesStackLogsController',
    controllerAs: 'ctrl',
    bindings: {
      $transition$: '<',
    },
  });
  