openscanhub: remove openscanhub
prefix from
... `/var/lib/osh` pvc used by `osh-hub`. Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
This commit is contained in:
parent
911b55cfbc
commit
cac47c1db7
3 changed files with 6 additions and 6 deletions
|
@ -39,8 +39,8 @@
|
||||||
when: env == "staging"
|
when: env == "staging"
|
||||||
- role: openshift/object
|
- role: openshift/object
|
||||||
app: openscanhub
|
app: openscanhub
|
||||||
template: openscanhub-pvc-var-lib-osh.yml
|
template: pvc-var-lib-osh.yml
|
||||||
objectname: openscanhub-pvc-var-lib-osh
|
objectname: pvc-var-lib-osh
|
||||||
- role: openshift/object
|
- role: openshift/object
|
||||||
app: openscanhub
|
app: openscanhub
|
||||||
template: settings-local-configmap.yml
|
template: settings-local-configmap.yml
|
||||||
|
|
|
@ -24,7 +24,7 @@ spec:
|
||||||
name: fedora-osh-hub
|
name: fedora-osh-hub
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /var/lib/osh/
|
- mountPath: /var/lib/osh/
|
||||||
name: openscanhub-pvc-var-lib-osh
|
name: pvc-var-lib-osh
|
||||||
- mountPath: /etc/keytabs
|
- mountPath: /etc/keytabs
|
||||||
name: openscanhub-keytab
|
name: openscanhub-keytab
|
||||||
- mountPath: /usr/lib/python3.9/site-packages/osh/hub/settings_local.py
|
- mountPath: /usr/lib/python3.9/site-packages/osh/hub/settings_local.py
|
||||||
|
@ -48,9 +48,9 @@ spec:
|
||||||
failureThreshold: 3
|
failureThreshold: 3
|
||||||
restartPolicy: Always
|
restartPolicy: Always
|
||||||
volumes:
|
volumes:
|
||||||
- name: openscanhub-pvc-var-lib-osh
|
- name: pvc-var-lib-osh
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: openscanhub-pvc-var-lib-osh
|
claimName: pvc-var-lib-osh
|
||||||
- name: openscanhub-keytab
|
- name: openscanhub-keytab
|
||||||
secret:
|
secret:
|
||||||
defaultMode: 420
|
defaultMode: 420
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: PersistentVolumeClaim
|
kind: PersistentVolumeClaim
|
||||||
metadata:
|
metadata:
|
||||||
name: openscanhub-pvc-var-lib-osh
|
name: pvc-var-lib-osh
|
||||||
spec:
|
spec:
|
||||||
# This volume is on NFS.
|
# This volume is on NFS.
|
||||||
volumeName: fedora-openscanhub-var-lib-osh-{{env_short}}
|
volumeName: fedora-openscanhub-var-lib-osh-{{env_short}}
|
Loading…
Add table
Add a link
Reference in a new issue