File tree 3 files changed +440
-0
lines changed
3 files changed +440
-0
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,9 @@ configMapGenerator:
27
27
- name : labels-operate-first
28
28
files :
29
29
- labels_operate-first.yaml
30
+ - name : labels-aicoe
31
+ files :
32
+ - labels_aicoe.yaml
30
33
generatorOptions :
31
34
disableNameSuffixHash : true
32
35
generators :
Original file line number Diff line number Diff line change @@ -115,6 +115,44 @@ spec:
115
115
---
116
116
apiVersion : batch/v1beta1
117
117
kind : CronJob
118
+ metadata :
119
+ name : label-sync-aicoe
120
+ spec :
121
+ schedule : " 57 * * * *"
122
+ concurrencyPolicy : Forbid
123
+ jobTemplate :
124
+ metadata :
125
+ labels :
126
+ app : label-sync
127
+ spec :
128
+ template :
129
+ spec :
130
+ containers :
131
+ - name : label-sync
132
+ image : label_sync:latest
133
+ args :
134
+ - --config=/etc/config/labels_aicoe.yaml
135
+ - --confirm=true
136
+ - --orgs=aicoe
137
+ - --token=/etc/github/oauth
138
+ volumeMounts :
139
+ - name : oauth
140
+ mountPath : /etc/github
141
+ readOnly : true
142
+ - name : config
143
+ mountPath : /etc/config
144
+ readOnly : true
145
+ restartPolicy : Never
146
+ volumes :
147
+ - name : oauth
148
+ secret :
149
+ secretName : oauth-token
150
+ - name : config
151
+ configMap :
152
+ name : labels-aicoe
153
+ ---
154
+ apiVersion : batch/v1beta1
155
+ kind : CronJob
118
156
metadata :
119
157
name : label-sync-aicoe-aiops
120
158
spec :
You can’t perform that action at this time.
0 commit comments