An endpoint is a Kubernetes secret that contains the information necessary to connect and authenticate to an API server. It is referenced by a Krateo APIHandler custom resource.
Key | Description | Required |
---|---|---|
server-url | fully qualified url for the apiserver | true |
proxy-url | URL to the proxy to be used for all requests made by this client | false |
token | for Bearer authentication | false |
username | username for basic authentication | false |
password | password for basic authentication | false |
certificate-authority-data | PEM-encoded certificate authority certificates | false |
client-key-data | PEM-encoded data from a client key file for TLS | false |
client-certificate-data | PEM-encoded data from a client cert file for TLS | false |
insecure | do not verify the TLS certificate | false |
debug | dump verbose http wire data | false |
apiVersion: v1
kind: Secret
type: Opaque
metadata:
name: typicode-endpoint
namespace: demo-system
stringData:
server-url: https://jsonplaceholder.typicode.com