      :on-success (fn [{:keys [response]}]
                    (doseq [port response]
                      (if (not-suggested? port)
-                       (state/add-item port form-value-cursor))))
+                       (state/add-item (merge port
+                                              {:mode "ingress"}) form-value-cursor))))
      :on-error   (fn [_])}))
 
 (def headers [{:name  "Container port"
                :width "100px"}
               {:name  "Protocol"
                :width "100px"}
+              {:name  "Mode"
+               :width "150px"}
               {:name  "Host port"
                :width "100px"}])
 

       :value       "udp"
       :primaryText "UDP"})))

(defn- form-host [value index]
  (list/textfield
    {:name     (str "form-host-text-" index)

  [item index _]
  (let [{:keys [containerPort
                protocol
                mode
                hostPort]} item]
    [(form-container containerPort index)
     (form-protocol protocol index)
     (form-mode mode index)
     (form-host hostPort index)]))

(defn- form-table
