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:
Pierre-Yves Chibon 2019-12-05 17:13:24 +01:00
parent b9207468b9
commit 44d9e0856b
4 changed files with 14 additions and 14 deletions

View file

@ -1,7 +1,7 @@
apiVersion: batch/v1beta1
kind: CronJob
metadata:
name: distgit_bugzilla_sync
name: distgit-bugzilla-sync
spec:
successfulJobsHistoryLimit: 3
failedJobsHistoryLimit: 1
@ -12,19 +12,19 @@ spec:
template:
metadata:
labels:
parent: "cronjobdistgit_bugzilla_sync"
parent: "cronjobdistgit-bugzilla-sync"
spec:
containers:
- name: distgit_bugzilla_sync
image: docker-registry.default.svc:5000/distgit_bugzilla_sync/mdapi:latest
- name: distgit-bugzilla-sync
image: docker-registry.default.svc:5000/distgit-bugzilla-sync/mdapi:latest
command: ["distgit-bugzilla-sync --verbose --no-user-notifications"]
volumeMounts:
- name: config-volume
mountPath: /etc/distgit_bugzilla_sync
mountPath: /etc/distgit-bugzilla-sync
readOnly: true
restartPolicy: Never
volumes:
- name: config-volume
configMap:
defaultMode: 420
name: distgit_bugzilla_sync-configmap
name: distgit-bugzilla-sync-configmap

View file

@ -1,9 +1,9 @@
apiVersion: v1
kind: BuildConfig
metadata:
name: distgit_bugzilla_sync-build
name: distgit-bugzilla-sync-build
labels:
environment: "distgit_bugzilla_sync"
environment: "distgit-bugzilla-sync"
spec:
source:
git:
@ -21,4 +21,4 @@ spec:
output:
to:
kind: ImageStreamTag
name: distgit_bugzilla_sync:latest
name: distgit-bugzilla-sync:latest

View file

@ -3,9 +3,9 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: distgit_bugzilla_sync-configmap
name: distgit-bugzilla-sync-configmap
labels:
app: distgit_bugzilla_sync
app: distgit-bugzilla-sync
data:
distgit_bugzilla_sync.cfg: |-
{{ load_file('distgit_bugzilla_sync.cfg') | indent }}
distgit-bugzilla-sync.cfg: |-
{{ load_file('distgit-bugzilla-sync.cfg') | indent }}

View file

@ -1,4 +1,4 @@
apiVersion: v1
kind: ImageStream
metadata:
name: "distgit_bugzilla_sync"
name: "distgit-bugzilla-sync"