Skip to content

Commit e048bd6

Browse files
committed
fix in yaml
1 parent 20e44d1 commit e048bd6

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

pkg/chartRepo/ManualAppSyncYaml.go

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,13 @@ func manualAppSyncJobByteArr(dockerImage string, appSyncJobResourcesObj string,
7575
{
7676
"name": "chart-sync",
7777
"image": "{{.DockerImage}}",
78-
"ports":
79-
- "containerPort": 8080
80-
"name": "metrics"
81-
"protocol": "TCP"
78+
"ports": [
79+
{
80+
"containerPort": 8080,
81+
"name": "metrics",
82+
"protocol": "TCP"
83+
}
84+
],
8285
{{if .AppSyncJobResourcesObj}}
8386
"resources": {{.AppSyncJobResourcesObj}},
8487
{{end}}

wire_gen.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)