File tree Expand file tree Collapse file tree 3 files changed +13
-9
lines changed
templates/config/controller Expand file tree Collapse file tree 3 files changed +13
-9
lines changed Original file line number Diff line number Diff line change 3737 "config/crd/kustomization.yaml.tpl" ,
3838 }
3939 controllerIncludePaths = []string {
40+ "config/controller/kustomization_def.yaml.tpl" ,
4041 "boilerplate.go.tpl" ,
4142 "pkg/resource/sdk_find_read_one.go.tpl" ,
4243 "pkg/resource/sdk_find_get_attributes.go.tpl" ,
Original file line number Diff line number Diff line change 1- resources:
2- - deployment.yaml
3- - service.yaml
4- apiVersion: kustomize.config.k8s.io/v1beta1
5- kind: Kustomization
6- images:
7- - name: controller
8- newName: ack-{ { .ServiceIDClean } }-controller
9- newTag: latest
1+ { { template " controller_kustomization" . } }
Original file line number Diff line number Diff line change 1+ { {- define " controller_kustomization" -} }
2+ resources:
3+ - deployment.yaml
4+ - service.yaml
5+ apiVersion: kustomize.config.k8s.io/v1beta1
6+ kind: Kustomization
7+ images:
8+ - name: controller
9+ newName: ack-{ { .ServiceIDClean } }-controller
10+ newTag: latest
11+ { {end} }
You can’t perform that action at this time.
0 commit comments