-
Notifications
You must be signed in to change notification settings - Fork 12
/
untrak.yaml
37 lines (32 loc) · 1.03 KB
/
untrak.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
---
# Untrak configuration
# All commands must produce YAML output on stdout either as:
# - Kind: List - List Kubernetes resource type(from kubectl get stdout)
# - Concatenated YAML with "---" separator
###
# Kubernetes resources from your versionned controlled configuration
in:
- cmd: "cat"
args: ["example/manifests/resources_in.yaml"]
out:
- cmd: "cat"
args: ["example/manifests/resources_out.yaml"]
# Kubernetes resources on your cluster
# check only configmaps, deployments, services and ingresses in api namespace
# out:
# - cmd: "kubectl"
# args: ["get", "cm,deploy,svc,ing", "-o", "yaml", "-n", "api"]
# You can use environment variables on command args
# out:
# - cmd: "cat"
# args: ["example/$SOME_FILE_NAME"]
# You can exclude some resource type from the comparison
exclude:
- namespace
- secret
- configmap
# Declare non-namespaced resource types to be considered in resource comparison.
# There are some defined resource types by default by default like namespace,
# node, clusterrole, etc.
# nonNamespaced:
# - some_crd_type