Skip to content

Commit

Permalink
feat(agent): #245, crane init at k8s deployment for shared secret (#307)
Browse files Browse the repository at this point in the history
  • Loading branch information
minhoryang authored and balanceee committed Nov 2, 2022
1 parent 3acbc45 commit 0dcb0b2
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions golang/manifest/kubernetes/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,26 @@ spec:
labels:
app: dyrectorio-k8s-agent
spec:
initContainers:
- name: crane-init
image: ghcr.io/dyrector-io/dyrectorio/agent/crane:latest
command:
- crane
- init
imagePullPolicy: Always
resources:
requests:
cpu: 64m
memory: 128Mi
limits:
cpu: 1000m
memory: 512Mi
envFrom:
- configMapRef:
name: crane-config
volumeMounts:
- name: agent-data
mountPath: /srv/dagent
containers:
- name: crane
image: ghcr.io/dyrector-io/dyrectorio/agent/crane:latest
Expand Down

0 comments on commit 0dcb0b2

Please sign in to comment.