Pārlūkot izejas kodu

Merge pull request #7223 from jpeeler/remove-controller-service

Automatic merge from submit-queue.

Update controller port to match containerPort
OpenShift Merge Robot 7 gadi atpakaļ
vecāks
revīzija
c7bc7ab0d4

+ 0 - 14
roles/openshift_service_catalog/tasks/install.yml

@@ -182,20 +182,6 @@
     - "{{ mktemp.stdout }}/controller_manager.yml"
     delete_after: yes
 
-- name: Set Controller Manager service
-  oc_service:
-    name: controller-manager
-    namespace: kube-service-catalog
-    state: present
-    ports:
-    - port: 6443
-      protocol: TCP
-      targetPort: 6443
-    selector:
-      app: controller-manager
-    session_affinity: None
-    service_type: ClusterIP
-
 - include_tasks: start_api_server.yml
 
 - name: Delete temp directory

+ 2 - 0
roles/openshift_service_catalog/templates/controller_manager.j2

@@ -30,6 +30,8 @@ spec:
               fieldPath: metadata.namespace
         args:
         - controller-manager
+        - --port
+        - "8080"
         - -v
         - "5"
         - --leader-election-namespace