Skip to main content

HTTP

HTTP Connections are used to query data via any http/https compatible resource

Schema

FieldDescriptionSchemeRequired
urlURLstringtrue
usernameUsernameEnvVar
passwordPasswordEnvVar
oauthOAuthOAuth
bearerBearerEnvVar
tlsTLS ConfigTLS
connectionConnection Namestring
info

If connection is already created connection (Connection Name) can be used as a reference instead of redefining all fields. Read more on connection referencing

OAuth

FieldDescriptionSchemeRequired
tokenURLToken URLstringtrue
clientIDClient IDEnvVartrue
clientSecretClient SecretEnvVartrue
scopesScopes[]string
paramsParamsmap[string]string

TLS

FieldDescriptionSchemeRequired
keyPEM encoded client private keyEnvVartrue
caPEM encoded certificate of the CA to verify the server certificateEnvVartrue
certPEM encoded client certificateEnvVartrue
insecureSkipVerifycontrols whether a client verifies the server's certificate chain and host namebool
handshakeTimeoutHandshake timeout (Default: 10 seconds)time.Duration

Example

This example demonstrates how to configure an HTTP connection in Mission Control:

http-connection.yaml
apiVersion: v1
kind: Connection
metadata:
name: http-connection
spec:
http:
url: https://example.com
username:
value: user
password:
valueFrom:
secretKeyRef:
name: credentials
key: password