diff --git a/golang/manifest/kubernetes/deployment.yaml b/golang/manifest/kubernetes/deployment.yaml index 4ce7d125dc..0b8a731cd9 100644 --- a/golang/manifest/kubernetes/deployment.yaml +++ b/golang/manifest/kubernetes/deployment.yaml @@ -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