Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions lib/cuber/templates/deployment.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ spec:
containers:
- name: migration
image: <%= @options[:image] %>:<%= @options[:release] %>
imagePullPolicy: Always
imagePullPolicy: IfNotPresent
<%- if @options[:buildpacks] -%>
command: ["launcher"]
args: <%= @options[:migrate][:cmd].shellsplit %>
Expand Down Expand Up @@ -152,7 +152,7 @@ spec:
containers:
- name: <%= procname %>-proc
image: <%= @options[:image] %>:<%= @options[:release] %>
imagePullPolicy: Always
imagePullPolicy: IfNotPresent
<%- if @options[:buildpacks] -%>
command: ["launcher"]
args: <%= proc[:cmd].shellsplit %>
Expand Down Expand Up @@ -202,7 +202,7 @@ spec:
initContainers:
- name: migration-check
image: <%= @options[:image] %>:<%= @options[:release] %>
imagePullPolicy: Always
imagePullPolicy: IfNotPresent
<%- if @options[:buildpacks] -%>
command: ["launcher"]
args: <%= @options[:migrate][:check].shellsplit %>
Expand Down Expand Up @@ -257,7 +257,7 @@ spec:
containers:
- name: task
image: <%= @options[:image] %>:<%= @options[:release] %>
imagePullPolicy: Always
imagePullPolicy: IfNotPresent
<%- if @options[:buildpacks] -%>
command: ["launcher"]
args: <%= cron[:cmd].shellsplit %>
Expand Down
2 changes: 1 addition & 1 deletion lib/cuber/templates/pod.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ spec:
containers:
- name: pod-proc
image: <%= @options[:image] %>:<%= @options[:release] %>
imagePullPolicy: Always
imagePullPolicy: IfNotPresent
command: ["sleep", "infinity"]
envFrom:
- configMapRef:
Expand Down