Skip to content

Commit

Permalink
Update code example for Kubernetes unit
Browse files Browse the repository at this point in the history
  • Loading branch information
anastyakulyk committed Nov 16, 2023
1 parent b28d3e6 commit 3bb3147
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions docs/units-kubernetes.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,14 @@ units:
Example usage:

```yaml
units:
- name: argocd_apps
type: kubernetes
source: ./argocd-apps/app1.yaml
kubeconfig: ../kubeconfig
depends_on: this.argocd
name: cert-manager-issuer
type: kubernetes
depends_on: this.cert-manager
source: ./deployment.yaml
provider_conf:
host: k8s.example.com
username: "user"
password: "secretPassword"
```

* `host` - *optional*. The hostname (in form of URI) of the Kubernetes API. Can be sourced from `KUBE_HOST`.
Expand Down

0 comments on commit 3bb3147

Please sign in to comment.