Browse Source

Bug 1496426 - add asb-client secret to openshift-ansible-service-broker namespace

Fabian von Feilitzsch 7 years ago
parent
commit
9bca21bd87
1 changed files with 4 additions and 1 deletions
  1. 4 1
      roles/ansible_service_broker/tasks/install.yml

+ 4 - 1
roles/ansible_service_broker/tasks/install.yml

@@ -113,6 +113,7 @@
 - name: create asb-client token secret
   oc_obj:
     name: asb-client
+    namespace: openshift-ansible-service-broker
     state: present
     kind: Secret
     content:
@@ -122,6 +123,7 @@
         kind: Secret
         metadata:
           name: asb-client
+          namespace: openshift-ansible-service-broker
           annotations:
             kubernetes.io/service-account.name: asb-client
         type: kubernetes.io/service-account-token
@@ -141,6 +143,7 @@
         kind: Service
         metadata:
           name: asb
+          namespace: openshift-ansible-service-broker
           labels:
             app: openshift-ansible-service-broker
             service: asb
@@ -340,7 +343,7 @@
         metadata:
           name: ansible-service-broker
         spec:
-          url: http://asb.openshift-ansible-service-broker.svc:1338/ansible-service-broker
+          url: https://asb.openshift-ansible-service-broker.svc:1338/ansible-service-broker
           authInfo:
             bearer:
               secretRef: