-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.yaml
More file actions
63 lines (63 loc) · 1.93 KB
/
config.example.yaml
File metadata and controls
63 lines (63 loc) · 1.93 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
kubycat:
# The Kubernetes config file to use
config: /home/johndoe/.kube/config
# The Kubernetes context to use
context: minikube
# The Kubernetes namespace to use
# This can be specified or overridden for each individual sync
namespace: default
# Sync interval in milliseconds
interval: 1000
# Individual sync configs
sync:
# The name of the sync
- name: web-app
# Whether to enable this sync
enabled: true
# The base directory to sync from
base: /home/johndoe/test
# Overridden Kubernetes options
config: /home/johndoe/.kube/do-sfo3-k8s-johndoe
context: do-sfo3-k8s-johndoe
namespace: other
# The file paths to sync
# Note that all syncing is done recursively
from:
- src
- config
- index.php
# The remote directory to sync into
to: /remote/server
# File pattern exclusions
excluding:
- .+~$
including:
- .+\.php$
# The Kubernetes pod to sync into
pod: pod-name
# The Kubernetes pod label to use for finding the pod(s) to sync into
# This can be used instead of specifying a single pod
# pod-label: key=value
# Whether to cache the pods for this sync
cache-pods: true
# The shell command to run in the container for deleting files
shell: /bin/sh
# Allows Kubycat to send desktop notifications on errors
notify: true
# The action to take on sync errors
on-error: exit
# Whether to show the logs for the sync
show-logs: true
# Sync files on startup
sync-on-start: false
# Build file caches on startup to prevent unintentional syncing
build-cache-on-start: false
- name: composer
base: /home/johndoe/test
namespace: other
from:
- composer.json
to: /remote/server
pod-label: key=value
shell: /bin/sh
post-remote: /bin/sh -c "composer install"