Description of problem: When creating an app using the 3scale-gateway template, deployment fails with 'Error: secrets "apicast-configuration-url-secret" not found' Version-Release number of selected component (if applicable): oc v3.10.0-0.66.0 and oc v3.9.14 How reproducible: Always Steps to Reproduce: 1. oc new-app --template=3scale-gateway 2. oc get pods 3. oc get events Actual results: [root@online-int-master-05114 ~]# oc get pods -n dakinitest20180618 NAME READY STATUS RESTARTS AGE apicast-1-b2n8z 0/1 CreateContainerConfigError 0 3m apicast-1-deploy 1/1 Running 0 3m 0 3m [root@online-int-master-05114 ~]# oc get events -n dakinitest20180618 LAST SEEN FIRST SEEN COUNT NAME KIND SUBOBJECT TYPE REASON SOURCE MESSAGE <snip> 2m 3m 6 apicast-1-b2n8z.1539524ec302daff Pod spec.containers{apicast} Warning Failed kubelet, ip-172-31-49-226.ec2.internal Error: secrets "apicast-configuration-url-secret" not found Expected results: Pod should enter Running state; secret should be created. Additional info:
This should not be a bug, since you need to create secret by yourself before create with template like below: oc secrets new-basicauth threescale-portal-endpoint-secret --password=https://<Access Token>@<Domain>-admin.3scale.net Here is steps to create access token: 1. Create a 3scale account(APIcast is not a standalone API gateway, it needs connection to 3scale's API Manager) https://www.3scale.net/signup/ 2. Activate your 3scale account 3. Log in to your 3scale Admin porta 4. Create an access token reference: https://github.com/3scale/apicast/blob/master/doc/openshift-guide.md#create-an-access-token [wzheng@openshift-qe test]$ oc get pods NAME READY STATUS RESTARTS AGE apicast-1-q7hkz 1/1 Running 0 1m [wzheng@openshift-qe test]$ oc status In project test123 on server https://api.free-stg.openshift.com:443