File tree Expand file tree Collapse file tree 4 files changed +15
-16
lines changed Expand file tree Collapse file tree 4 files changed +15
-16
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ import (
23
23
24
24
var (
25
25
releaseTemplatePaths = []string {
26
+ "helm/templates/cluster-role-binding.yaml.tpl" ,
26
27
"helm/Chart.yaml.tpl" ,
27
28
"helm/values.yaml.tpl" ,
28
29
"helm/templates/role-reader.yaml.tpl" ,
31
32
releaseIncludePaths = []string {}
32
33
releaseCopyPaths = []string {
33
34
"helm/templates/_helpers.tpl" ,
34
- "helm/templates/cluster-role-binding.yaml" ,
35
35
"helm/templates/deployment.yaml" ,
36
36
"helm/templates/metrics-service.yaml" ,
37
37
"helm/templates/service-account.yaml" ,
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ Environment variables:
79
79
Default: services/{SERVICE}
80
80
ACK_GENERATE_IMAGE_REPOSITORY: Specify a Docker image repository to use
81
81
for release artifacts
82
- Default: public.ecr.aws/u2r4f3v7 /{SERVICE}-controller
82
+ Default: public.ecr.aws/aws-controllers-k8s /{SERVICE}-controller
83
83
ACK_GENERATE_SERVICE_ACCOUNT_NAME: Name of the Kubernetes Service Account and
84
84
Cluster Role to use in Helm chart.
85
85
Default: $ACK_GENERATE_SERVICE_ACCOUNT_NAME
@@ -121,8 +121,7 @@ SERVICE=$(echo "$1" | tr '[:upper:]' '[:lower:]')
121
121
DEFAULT_SERVICE_CONTROLLER_SOURCE_PATH=" $ROOT_DIR /../$SERVICE -controller"
122
122
SERVICE_CONTROLLER_SOURCE_PATH=${SERVICE_CONTROLLER_SOURCE_PATH:- $DEFAULT_SERVICE_CONTROLLER_SOURCE_PATH }
123
123
124
- # TODO(vijat@): replace "u2r4f3v7" with aws-controllers-k8s
125
- DEFAULT_IMAGE_REPOSITORY=" public.ecr.aws/u2r4f3v7/$SERVICE -controller"
124
+ DEFAULT_IMAGE_REPOSITORY=" public.ecr.aws/aws-controllers-k8s/$SERVICE -controller"
126
125
ACK_GENERATE_IMAGE_REPOSITORY=${ACK_GENERATE_IMAGE_REPOSITORY:- " $DEFAULT_IMAGE_REPOSITORY " }
127
126
128
127
if [[ ! -d $SERVICE_CONTROLLER_SOURCE_PATH ]]; then
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ apiVersion: rbac.authorization.k8s.io/v1
2
+ kind: ClusterRoleBinding
3
+ metadata:
4
+ name: { { " {{ include \" app.fullname\" . }}" } }
5
+ roleRef:
6
+ apiGroup: rbac.authorization.k8s.io
7
+ kind: ClusterRole
8
+ name: ack-{ { .ServiceIDClean } }-controller
9
+ subjects:
10
+ - kind: ServiceAccount
11
+ name: { { " {{ include \" service-account.name\" . }}" } }
12
+ namespace: { { " {{ .Release.Namespace }}" } }
You can’t perform that action at this time.
0 commit comments