Skip to content

Commit

Permalink
Use ephemeral storage for disk mutations (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vivek Lakshmanan authored Dec 1, 2020
1 parent d09300d commit ca420c3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,7 @@ RUN mkdir -p /home/pulumi-kubernetes-operator/.ssh \

USER pulumi-kubernetes-operator

ENV XDG_CONFIG_HOME=/tmp/.config
ENV XDG_CONFIG_CACHE=/tmp/.cache

ENTRYPOINT ["/usr/local/bin/entrypoint"]
8 changes: 7 additions & 1 deletion deploy/operator_template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,18 @@ spec:
serviceAccountName: pulumi-kubernetes-operator
imagePullSecrets:
- name: pulumi-kubernetes-operator
volumes:
- name: tmp-dir
emptyDir: {}
containers:
- name: pulumi-kubernetes-operator
image: <IMG_NAME>:<IMG_VERSION>
args:
- "--zap-level=debug"
- "--zap-level=debug"
imagePullPolicy: Always
volumeMounts:
- mountPath: /tmp
name: tmp-dir
env:
- name: WATCH_NAMESPACE
valueFrom:
Expand Down

0 comments on commit ca420c3

Please sign in to comment.