File tree Expand file tree Collapse file tree 5 files changed +12
-9
lines changed
manifests/deployment-service Expand file tree Collapse file tree 5 files changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -1589,7 +1589,7 @@ Resources:
1589
1589
DeploymentControllerRole :
1590
1590
Type : AWS::IAM::Role
1591
1591
Properties :
1592
- RoleName : " {{.Cluster.LocalID}}-deployment-service-controller "
1592
+ RoleName : " {{.Cluster.ConfigItems.deployment_service_controller_role_name}} "
1593
1593
AssumeRolePolicyDocument : !Sub
1594
1594
- |
1595
1595
{
@@ -1654,11 +1654,11 @@ Resources:
1654
1654
- ' sts:AssumeRole'
1655
1655
Effect : Allow
1656
1656
Resource :
1657
- - !Sub " arn:aws:iam::${AWS::AccountId}:role/{{.Cluster.LocalID}}-deployment-service-deployment "
1657
+ - !Sub " arn:aws:iam::${AWS::AccountId}:role/{{.Cluster.ConfigItems.deployment_service_deployment_role_name}} "
1658
1658
DeploymentControllerDeploymentRole :
1659
1659
Type : AWS::IAM::Role
1660
1660
Properties :
1661
- RoleName : " {{.Cluster.LocalID}}-deployment-service-deployment "
1661
+ RoleName : " {{.Cluster.ConfigItems.deployment_service_deployment_role_name}} "
1662
1662
AssumeRolePolicyDocument :
1663
1663
Version : " 2012-10-17"
1664
1664
Statement :
@@ -1692,7 +1692,7 @@ Resources:
1692
1692
DeploymentStatusServiceRole :
1693
1693
Type : AWS::IAM::Role
1694
1694
Properties :
1695
- RoleName : " {{.Cluster.LocalID}}-deployment-service-status-service "
1695
+ RoleName : " {{.Cluster.ConfigItems.deployment_service_status_service_role_name}} "
1696
1696
AssumeRolePolicyDocument : !Sub
1697
1697
- |
1698
1698
{
Original file line number Diff line number Diff line change @@ -1040,6 +1040,9 @@ deployment_service_tokeninfo_url: ""
1040
1040
deployment_service_lightstep_token : " "
1041
1041
deployment_service_ml_experiments_enabled : " true"
1042
1042
deployment_service_ml_experiments_role_name : " {{ .Cluster.LocalID }}-deployment-service-ml-experiment-deployment"
1043
+ deployment_service_controller_role_name : " {{ .Cluster.LocalID }}-deployment-service-controller"
1044
+ deployment_service_deployment_role_name : " {{ .Cluster.LocalID }}-deployment-service-deployment"
1045
+ deployment_service_status_service_role_name : " {{ .Cluster.LocalID }}-deployment-service-status-service"
1043
1046
deployment_service_cf_auto_expand_enabled : " false"
1044
1047
deployment_service_cf_update_source_branch_changes : " true"
1045
1048
deployment_service_executor_cdp_permissions : " false"
Original file line number Diff line number Diff line change 19
19
s3-bucket-name : " {{ .Cluster.ConfigItems.deployment_service_bucket_name }}"
20
20
status-service-url : " https://depl-status-{{.Cluster.Alias}}.{{.Values.hosted_zone}}"
21
21
status-service-url-local : " http://deployment-status-service.ingress.cluster.local."
22
- deployment-role-arn : " arn:aws:iam::{{accountID .Cluster.InfrastructureAccount}}:role/{{.Cluster.LocalID}}-deployment-service-deployment "
22
+ deployment-role-arn : " arn:aws:iam::{{accountID .Cluster.InfrastructureAccount}}:role/{{.Cluster.ConfigItems.deployment_service_deployment_role_name}} "
23
23
{{- if eq .Cluster.ConfigItems.deployment_service_ml_experiments_enabled "true"}}
24
24
ml-experiment-deployment-role-arn : " arn:aws:iam::{{accountID .Cluster.InfrastructureAccount}}:role/{{ .Cluster.ConfigItems.deployment_service_ml_experiments_role_name }}"
25
25
{{- end }}
Original file line number Diff line number Diff line change @@ -8,9 +8,9 @@ metadata:
8
8
component : " controller"
9
9
annotations :
10
10
{{- if eq .Cluster.Provider "zalando-eks" }}
11
- eks.amazonaws.com/role-arn : " arn:aws:iam::{{.Cluster.InfrastructureAccount | getAWSAccountID}}:role/{{.Cluster.LocalID}}-deployment-service-controller "
11
+ eks.amazonaws.com/role-arn : " arn:aws:iam::{{.Cluster.InfrastructureAccount | getAWSAccountID}}:role/{{.Cluster.ConfigItems.deployment_service_controller_role_name}} "
12
12
{{- else }}
13
- iam.amazonaws.com/role : " {{.Cluster.LocalID}}-deployment-service-controller "
13
+ iam.amazonaws.com/role : " {{.Cluster.ConfigItems.deployment_service_controller_role_name}} "
14
14
{{- end }}
15
15
---
16
16
kind : ClusterRole
Original file line number Diff line number Diff line change @@ -8,9 +8,9 @@ metadata:
8
8
component : " status-service"
9
9
annotations :
10
10
{{- if eq .Cluster.Provider "zalando-eks" }}
11
- eks.amazonaws.com/role-arn : " arn:aws:iam::{{.Cluster.InfrastructureAccount | getAWSAccountID}}:role/{{.Cluster.LocalID}}-deployment-service-status-service "
11
+ eks.amazonaws.com/role-arn : " arn:aws:iam::{{.Cluster.InfrastructureAccount | getAWSAccountID}}:role/{{.Cluster.ConfigItems.deployment_service_status_service_role_name}} "
12
12
{{- else }}
13
- iam.amazonaws.com/role : " {{.Cluster.LocalID}}-deployment-service-status-service "
13
+ iam.amazonaws.com/role : " {{.Cluster.ConfigItems.deployment_service_status_service_role_name}} "
14
14
{{- end }}
15
15
---
16
16
kind : ClusterRole
You can’t perform that action at this time.
0 commit comments