mirror of
https://github.com/rocky-linux/peridot.git
synced 2024-11-18 03:11:24 +00:00
Add service account to peridotserver
Signed-off-by: Mustafa Gezen <mustafa@ctrliq.com>
This commit is contained in:
parent
b89ddeb62f
commit
de742cf196
@ -29,6 +29,11 @@ bycdeploy.new({
|
|||||||
cpu: '2',
|
cpu: '2',
|
||||||
memory: '10G',
|
memory: '10G',
|
||||||
},
|
},
|
||||||
|
service_account_options: {
|
||||||
|
annotations: {
|
||||||
|
'eks.amazonaws.com/role-arn': 'arn:aws:iam::893168113496:role/peridot_k8s_role',
|
||||||
|
}
|
||||||
|
},
|
||||||
ports: [
|
ports: [
|
||||||
{
|
{
|
||||||
name: 'http',
|
name: 'http',
|
||||||
@ -50,6 +55,18 @@ bycdeploy.new({
|
|||||||
name: 'PERIDOT_PRODUCTION',
|
name: 'PERIDOT_PRODUCTION',
|
||||||
value: if kubernetes.dev() then 'false' else 'true',
|
value: if kubernetes.dev() then 'false' else 'true',
|
||||||
},
|
},
|
||||||
|
if utils.local_image then {
|
||||||
|
name: 'PERIDOT_S3_ENDPOINT',
|
||||||
|
value: 'minio.default.svc.cluster.local:9000'
|
||||||
|
},
|
||||||
|
if utils.local_image then {
|
||||||
|
name: 'PERIDOT_S3_DISABLE_SSL',
|
||||||
|
value: 'true'
|
||||||
|
},
|
||||||
|
if utils.local_image then {
|
||||||
|
name: 'PERIDOT_S3_FORCE_PATH_STYLE',
|
||||||
|
value: 'true'
|
||||||
|
},
|
||||||
$.dsn,
|
$.dsn,
|
||||||
] + temporal.kube_env('PERIDOT'),
|
] + temporal.kube_env('PERIDOT'),
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user