-
Notifications
You must be signed in to change notification settings - Fork 0
/
devspace.yaml
44 lines (41 loc) · 1.2 KB
/
devspace.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
38
39
40
41
42
43
44
version: v2beta1
name: attach
deployments:
my-deployment:
helm:
values:
containers:
- image: ubuntu:22.04
hooks:
- command: |
apt-get update && apt-get install -y
apt-get install -y curl jq gpg
curl https://packages.fluentbit.io/fluentbit.key | gpg --dearmor > /usr/share/keyrings/fluentbit-keyring.gpg
curl https://raw.githubusercontent.com/fluent/fluent-bit/master/install.sh | sh
curl https://github.com/Dashlane/dashlane-cli/releases/download/v6.2415.0/dcli-linux-x64 -L > /usr/local/bin/dcli
chmod a+x /usr/local/bin/dcli
container:
imageSelector: ubuntu:22.04
events: ["before:initialSync:my-dev"]
- command: |
cp ./src/fluentbit-default.conf /opt/fluent-bit.conf
chmod +x ./src/entrypoint.sh
container:
imageSelector: ubuntu:22.04
events: ["after:initialSync:my-dev"]
dev:
my-dev:
imageSelector: ubuntu:22.04
attach: {}
workingDir: /app
command: ["/bin/bash"]
env:
- name: DASHLANE_CLI_FLUENTBIT_CONF
value: "/opt/fluent-bit.conf"
- name: DASHLANE_CLI_RUN_DELAY
value: "60"
sync:
- path: ./
excludePaths:
- .gitignore
- .git