Open richarddli opened 5 years ago
Use the following for HubSpot trial signup form (clone of other page):
@richarddli For escaping yaml, I added a css style for code blocks. You can add more blocks of yaml like:
<div className="code-block">
<pre>
<code>
{
`---
apiVersion: v1
kind: Service
metadata:
name: tour
annotations:
getambassador.io/config: |
---
apiVersion: ambassador/v1
kind: Mapping
name: tour_mapping
prefix: /tour/
service: tour
spec:
ports:
- name: http
port: 80
`}
</code>
</pre>
</div>
The yaml itself should be escaped as a string using backticks ``
Hey Richard, I just pushed up changes to the rate-limiting graph. I'm not really sure how to set the backend up, so I don't have an endpoint to test against, but as far as I can test it groups and counts the error codes accordingly. Let me know if there is anything else you want to add/remove.
RateLimitingAction.js
for an example)AmbassadorPro.js
/backend
URLMultiPlatform.js
to include the imageambassador-consul.png