mirror of
https://github.com/rocky-linux/peridot.git
synced 2024-12-18 08:58:30 +00:00
Fix resfdeploy deployment
This commit is contained in:
parent
6f9ad97063
commit
a15e184cf3
@ -140,7 +140,7 @@ local dev() = stage == '-dev';
|
||||
env: if !std.objectHas(deporig, 'env') then [] else deporig.env,
|
||||
ports: if !std.objectHas(deporig, 'ports') then [{ containerPort: 80, protocol: 'TCP' }] else deporig.ports,
|
||||
initContainers: if !std.objectHas(deporig, 'initContainers') then [] else deporig.initContainers,
|
||||
limits: if !std.objectHas(deporig, 'limits') || deporig.limits == null then { cpu: '0.1', memory: '256M' } else deporig.limits,
|
||||
limits: if !std.objectHas(deporig, 'limits') || deporig.limits == null then null else deporig.limits,
|
||||
requests: if !std.objectHas(deporig, 'requests') || deporig.requests == null then { cpu: '0.001', memory: '128M' } else deporig.requests,
|
||||
};
|
||||
|
||||
|
@ -79,7 +79,7 @@ local manifestYamlStream = function (value, indent_array_in_object=false, c_docu
|
||||
secret: if !utils.local_image then {
|
||||
name: '%s-database-password' % db.staged_name(dbname),
|
||||
key: 'password',
|
||||
optional: '{{ if .Values.databaseUrl }}true{{ else }}false{{ end }}',
|
||||
optional: if utils.helm_mode then '{{ if .Values.databaseUrl }}true{{ else }}false{{ end }}' else false,
|
||||
},
|
||||
};
|
||||
|
||||
@ -192,7 +192,7 @@ local manifestYamlStream = function (value, indent_array_in_object=false, c_docu
|
||||
initContainers: [
|
||||
{
|
||||
name: 'initdb',
|
||||
image: 'quay.io/peridot/initdb:v0.1.5',
|
||||
image: 'quay.io/peridot/initdb:v0.1.6',
|
||||
command: ['/bin/sh'],
|
||||
args: ['-c', '/bundle/initdb*'],
|
||||
env: [
|
||||
|
Loading…
Reference in New Issue
Block a user