GitOps Cluster

Used to connect to a Git repository instead of direct access to a cluster.

Property Description
Resource type k8s-cluster
Account type None

Inputs

Values

Name Type Description
branch string [Optional] The target branch in the Git repository. If not specified, the default branch will be used.
loadbalancer string [Optional] The IP address or hostname that ingress should be configured for in the cluster.
Note that the target Git repo obviously does not have this property, but other Resources in the Resource Graph might still query this value from the k8s-cluster type Resource.
path string [Optional] The Directory path in the repo.
url string Repository URL: mygithost.com:my-org/project.git (SSH) or https://mygithost.com/my-org/project.git.
username string [Optional] User to authenticate. Default is git.

Secrets

Name Type Description
password string [Optional] Password or Personal Account Token.
ssh_key string [Optional] SSH private key (for connections over SSH).

Examples

The example library features examples on the GitOps cluster setup:

Top