distgit-bz: rename all distgit_bz_sync to distgit-bz-sync
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
b9207468b9
commit
44d9e0856b
4 changed files with 14 additions and 14 deletions
|
@ -1,7 +1,7 @@
|
||||||
apiVersion: batch/v1beta1
|
apiVersion: batch/v1beta1
|
||||||
kind: CronJob
|
kind: CronJob
|
||||||
metadata:
|
metadata:
|
||||||
name: distgit_bugzilla_sync
|
name: distgit-bugzilla-sync
|
||||||
spec:
|
spec:
|
||||||
successfulJobsHistoryLimit: 3
|
successfulJobsHistoryLimit: 3
|
||||||
failedJobsHistoryLimit: 1
|
failedJobsHistoryLimit: 1
|
||||||
|
@ -12,19 +12,19 @@ spec:
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
parent: "cronjobdistgit_bugzilla_sync"
|
parent: "cronjobdistgit-bugzilla-sync"
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: distgit_bugzilla_sync
|
- name: distgit-bugzilla-sync
|
||||||
image: docker-registry.default.svc:5000/distgit_bugzilla_sync/mdapi:latest
|
image: docker-registry.default.svc:5000/distgit-bugzilla-sync/mdapi:latest
|
||||||
command: ["distgit-bugzilla-sync --verbose --no-user-notifications"]
|
command: ["distgit-bugzilla-sync --verbose --no-user-notifications"]
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: config-volume
|
- name: config-volume
|
||||||
mountPath: /etc/distgit_bugzilla_sync
|
mountPath: /etc/distgit-bugzilla-sync
|
||||||
readOnly: true
|
readOnly: true
|
||||||
restartPolicy: Never
|
restartPolicy: Never
|
||||||
volumes:
|
volumes:
|
||||||
- name: config-volume
|
- name: config-volume
|
||||||
configMap:
|
configMap:
|
||||||
defaultMode: 420
|
defaultMode: 420
|
||||||
name: distgit_bugzilla_sync-configmap
|
name: distgit-bugzilla-sync-configmap
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: BuildConfig
|
kind: BuildConfig
|
||||||
metadata:
|
metadata:
|
||||||
name: distgit_bugzilla_sync-build
|
name: distgit-bugzilla-sync-build
|
||||||
labels:
|
labels:
|
||||||
environment: "distgit_bugzilla_sync"
|
environment: "distgit-bugzilla-sync"
|
||||||
spec:
|
spec:
|
||||||
source:
|
source:
|
||||||
git:
|
git:
|
||||||
|
@ -21,4 +21,4 @@ spec:
|
||||||
output:
|
output:
|
||||||
to:
|
to:
|
||||||
kind: ImageStreamTag
|
kind: ImageStreamTag
|
||||||
name: distgit_bugzilla_sync:latest
|
name: distgit-bugzilla-sync:latest
|
||||||
|
|
|
@ -3,9 +3,9 @@
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
metadata:
|
metadata:
|
||||||
name: distgit_bugzilla_sync-configmap
|
name: distgit-bugzilla-sync-configmap
|
||||||
labels:
|
labels:
|
||||||
app: distgit_bugzilla_sync
|
app: distgit-bugzilla-sync
|
||||||
data:
|
data:
|
||||||
distgit_bugzilla_sync.cfg: |-
|
distgit-bugzilla-sync.cfg: |-
|
||||||
{{ load_file('distgit_bugzilla_sync.cfg') | indent }}
|
{{ load_file('distgit-bugzilla-sync.cfg') | indent }}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: ImageStream
|
kind: ImageStream
|
||||||
metadata:
|
metadata:
|
||||||
name: "distgit_bugzilla_sync"
|
name: "distgit-bugzilla-sync"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue