Skip to content

Commit

Permalink
add nodemon to services in k8s
Browse files Browse the repository at this point in the history
  • Loading branch information
Toby Bellwood committed Mar 26, 2021
1 parent 42bf550 commit f5b29fc
Show file tree
Hide file tree
Showing 10 changed files with 40 additions and 0 deletions.
4 changes: 4 additions & 0 deletions local-dev/kubectl-patches/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,12 @@ metadata:
spec:
template:
spec:
securityContext:
runAsUser: 1000
containers:
- name: api
command: ["yarn"]
args: ["run", "dev"]
volumeMounts:
- mountPath: "/app/services/api/src"
name: api-src
Expand Down
4 changes: 4 additions & 0 deletions local-dev/kubectl-patches/auth-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,12 @@ metadata:
spec:
template:
spec:
securityContext:
runAsUser: 1000
containers:
- name: auth-server
command: ["yarn"]
args: ["run", "dev"]
volumeMounts:
- mountPath: "/app/services/auth-server/src"
name: auth-server-src
Expand Down
4 changes: 4 additions & 0 deletions local-dev/kubectl-patches/controllerhandler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,12 @@ metadata:
spec:
template:
spec:
securityContext:
runAsUser: 1000
containers:
- name: controllerhandler
command: ["yarn"]
args: ["run", "dev"]
volumeMounts:
- mountPath: "/app/services/controllerhandler/src"
name: controllerhandler-src
Expand Down
4 changes: 4 additions & 0 deletions local-dev/kubectl-patches/logs2email.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,12 @@ metadata:
spec:
template:
spec:
securityContext:
runAsUser: 1000
containers:
- name: logs2email
command: ["yarn"]
args: ["run", "dev"]
volumeMounts:
- mountPath: "/app/services/logs2email/src"
name: logs2email-src
Expand Down
4 changes: 4 additions & 0 deletions local-dev/kubectl-patches/logs2microsoftteams.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,12 @@ metadata:
spec:
template:
spec:
securityContext:
runAsUser: 1000
containers:
- name: logs2microsoftteams
command: ["yarn"]
args: ["run", "dev"]
volumeMounts:
- mountPath: "/app/services/logs2microsoftteams/src"
name: logs2microsoftteams-src
Expand Down
4 changes: 4 additions & 0 deletions local-dev/kubectl-patches/logs2rocketchat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,12 @@ metadata:
spec:
template:
spec:
securityContext:
runAsUser: 1000
containers:
- name: logs2rocketchat
command: ["yarn"]
args: ["run", "dev"]
volumeMounts:
- mountPath: "/app/services/logs2rocketchat/src"
name: logs2rocketchat-src
Expand Down
4 changes: 4 additions & 0 deletions local-dev/kubectl-patches/logs2slack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,12 @@ metadata:
spec:
template:
spec:
securityContext:
runAsUser: 1000
containers:
- name: logs2slack
command: ["yarn"]
args: ["run", "dev"]
volumeMounts:
- mountPath: "/app/services/logs2slack/src"
name: logs2slack-src
Expand Down
4 changes: 4 additions & 0 deletions local-dev/kubectl-patches/ui.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,12 @@ metadata:
spec:
template:
spec:
securityContext:
runAsUser: 1000
containers:
- name: ui
command: ["yarn"]
args: ["run", "dev"]
volumeMounts:
- name: services-ui
mountPath: /app/services/ui
Expand Down
4 changes: 4 additions & 0 deletions local-dev/kubectl-patches/webhook-handler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,12 @@ metadata:
spec:
template:
spec:
securityContext:
runAsUser: 1000
containers:
- name: webhook-handler
command: ["yarn"]
args: ["run", "dev"]
volumeMounts:
- mountPath: "/app/services/webhook-handler/src"
name: webhook-handler-src
Expand Down
4 changes: 4 additions & 0 deletions local-dev/kubectl-patches/webhooks2tasks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,12 @@ metadata:
spec:
template:
spec:
securityContext:
runAsUser: 1000
containers:
- name: webhooks2tasks
command: ["yarn"]
args: ["run", "dev"]
volumeMounts:
- mountPath: "/app/services/webhooks2tasks/src"
name: webhooks2tasks-src
Expand Down

0 comments on commit f5b29fc

Please sign in to comment.