YAML examples for Kubernetes Cluster
Kubernetes cluster with password authentication
yaml
- target: myTarget
type: K8S_CLUSTER
cluster: https://my-cluster-url:6443
auth:
method: PASS
username: my_user
password: my_password
Password Auth
yaml
- target: myTarget
type: K8S_CLUSTER
cluster: https://my-cluster-url:6443
auth:
method: PASS
username: my_user
password: my_password
Cert Auth
yaml
- target: myTarget2
type: K8S_CLUSTER
cluster: https://my-cluster-url:6443
auth:
method: CERT
certificate_authority: $K8S_CA
client_certificate: $K8S_CLIENT_CERT
client_key: $K8S_CLIENT_KEY
Token Auth
yaml
- target: myTarget3
type: K8S_CLUSTER
cluster: https://my-cluster-url:6443
auth:
method: TOKEN
token: my_token