Skip to content

Commit 64229e2

Browse files
authored
added labels on app-manual-sync job (#6269)
1 parent 0f5cf58 commit 64229e2

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

pkg/chartRepo/ManualAppSyncYaml.go

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,21 @@ func manualAppSyncJobByteArr(dockerImage string, appSyncJobResourcesObj string,
5050
temp, _ = temp.Parse(`{"apiVersion": "batch/v1",
5151
"kind": "Job",
5252
"metadata": {
53+
"labels": {
54+
"app": "app-manual-sync-job",
55+
"component": "devtron"
56+
},
5357
"name": "app-manual-sync-job",
5458
"namespace": "devtroncd"
5559
},
5660
"spec": {
5761
"template": {
62+
"metadata": {
63+
"labels": {
64+
"app": "app-manual-sync-job",
65+
"component": "devtron"
66+
}
67+
},
5868
"spec": {
5969
"serviceAccount": "{{.AppSyncServiceAccount}}",
6070
"containers": [

0 commit comments

Comments
 (0)