Skip to content

Commit

Permalink
Update init container setup
Browse files Browse the repository at this point in the history
  • Loading branch information
ravenac95 committed May 17, 2024
1 parent 6fdb3f2 commit 60af70a
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app.kubernetes.io/name: dagster
name: dagster-daemon
spec:
template:
spec:
Expand Down
3 changes: 2 additions & 1 deletion ops/k8s-apps/production/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ patches:
target:
type: HelmRelease
patchesStrategicMerge:
- ./init-container.yaml
- ./daemon-init-container.yaml
- ./webserver-init-container.yaml
patchesJson6902:
- target:
kind: Namespace
Expand Down
12 changes: 12 additions & 0 deletions ops/k8s-apps/production/webserver-init-container.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: production-dagster-dagster
spec:
template:
spec:
initContainers:
- name: check-db-ready
envFrom:
- configMapRef:
name: dagster-oso-extra-env

0 comments on commit 60af70a

Please sign in to comment.