Closed AndyYuen closed 7 years ago
'oc secret new-basicauth apicast-configuration-url-secret --password=https://
Only creates the secret you need to connect the self-managed apicast to the 3scale SaaS admin portal. The next step (oc new-app -f ... ) is the one that effectively creates the pods.
@AndyYuen what is not working? Can you add some stacktrace?
@AndyYuen Have you checked?
It is not setting secret that did not work, it is "oc new-app -f https://raw.githubusercontent.com/3scale/3scale-amp-openshift-templates/2.0.0.GA-redhat-2/apicast-gateway/apicast.yml| that did not work trying to do that for a long time. This problem only occurred while using minshift. Using the VM worked.
@AndyYuen Good is working in the VM, that will be the preferred way to go. To debug the problem with the minishift, do you have the logs or the screenshots of what was not working? I mean, weren't the pods created? Did they get stuck?
@AndyYuen BTW the link tom gave to you is the upstream (not supported) template. The official for enterprise product is the one under 3scale-amp-openshift-templates.
Again this is on my Windows 10 hybrid.
Instructions missing in creating new methods and mapping rules for 3scale.
There is mention of Access Token for setting the secret but there is not instruction on how to get it. For people who are not familiar with 3scale, it is not apparent how to get it.
'oc secret new-basicauth apicast-configuration-url-secret --password=https://ACCESS_TOKEN>@<DOMAIN-admin.3scale.net' did not work for me. It always fails. I have to use 'oc new-app -f https://raw.githubusercontent.com/3scale/apicast/master/openshift/apicast-template.yml' to make apicast deployed. The link was given to me by Tom Corcoran (3scale).