A Concourse resource to interact with Kubernetes (k8s) resources.
Field | Required | Type | Description |
---|---|---|---|
url | Y | String | Kubernetes URL |
username | Y | String | Kubernetes Username |
password | Y | String | Kubernetes Password |
namespace | Y | String | Kubernetes Namespace |
skip_tls_verify | N | Boolean | Skip TLS certificates verification (defaults to false ) |
cert_data | N | String | TLS certificate PEM-encoded bytes |
key_data | N | String | TLS certificate key PEM-encoded bytes |
ca_data | N | String | TLS root certificate PEM-encoded bytes |
Given a kubernetes configuration file (both json
and yaml
formats are accepted), applies it to a kubernetes resource.
Field | Required | Type | Description |
---|---|---|---|
spec_path | Y | String | Path to the resource spec file to apply |
resource_types:
- name: k8s-resource
type: docker-image
source:
repository: frodenas/k8s-resource
resources:
- name: my-kubernetes
type: k8s-resource
source:
url: <KUBERNETES URL>
username: <KUBERNETES USERNAME>
password: <KUBERNETES PASSWORD>
namespace: <KUBERNETES NAMESPACE>
- put: my-kubernetes
params:
manifest_path: my-pod-spec.yml
Copyright (c) 2016 Ferran Rodenas. See LICENSE for details.