Add fedora messaging to planet
Signed-off-by: Pedro Moura <pmoura@redhat.com>
This commit is contained in:
parent
d71139217e
commit
fa083d9321
2 changed files with 45 additions and 0 deletions
|
@ -81,3 +81,21 @@
|
|||
app: planet
|
||||
template: cronjob.yml
|
||||
objectname: cronjob.yml
|
||||
|
||||
- role: openshift/secret-file
|
||||
app: planet
|
||||
secret_name: planet-fedora-messaging-ca
|
||||
key: cacert.pem
|
||||
privatefile: "rabbitmq/{{env}}/pki/ca.crt"
|
||||
|
||||
- role: openshift/secret-file
|
||||
app: planet
|
||||
secret_name: planet-fedora-messaging-crt
|
||||
key: planet-cert.pem
|
||||
privatefile: "rabbitmq/{{env}}/pki/issued/planet{{env_suffix}}.crt"
|
||||
|
||||
- role: openshift/secret-file
|
||||
app: planet
|
||||
secret_name: planet-fedora-messaging-key
|
||||
key: planet-key.pem
|
||||
privatefile: "rabbitmq/{{env}}/pki/private/planet{{env_suffix}}.key"
|
||||
|
|
|
@ -44,6 +44,21 @@ spec:
|
|||
- name: planet-build-storage
|
||||
mountPath: /var/www/html
|
||||
readOnly: false
|
||||
- name: fedora-messaging-config-volume
|
||||
mountPath: /etc/fedora-messaging
|
||||
readOnly: true
|
||||
- name: fedora-messaging-ca-volume
|
||||
mountPath: /etc/pki/fedora-messaging/cacert.pem
|
||||
subPath: cacert.pem
|
||||
readOnly: true
|
||||
- name: fedora-messaging-crt-volume
|
||||
mountPath: /etc/pki/fedora-messaging/planet-cert.pem
|
||||
subPath: planet-cert.pem
|
||||
readOnly: true
|
||||
- name: fedora-messaging-key-volume
|
||||
mountPath: /etc/pki/fedora-messaging/planet-key.pem
|
||||
subPath: planet-key.pem
|
||||
readOnly: true
|
||||
volumes:
|
||||
- name: keytab-volume
|
||||
secret:
|
||||
|
@ -54,6 +69,18 @@ spec:
|
|||
- name: ipa-config-volume
|
||||
configMap:
|
||||
name: ipa-client-config
|
||||
- name: fedora-messaging-config-volume
|
||||
configMap:
|
||||
name: fedora-messaging-configmap
|
||||
- name: fedora-messaging-ca-volume
|
||||
secret:
|
||||
secretName: planet-fedora-messaging-ca
|
||||
- name: fedora-messaging-crt-volume
|
||||
secret:
|
||||
secretName: planet-fedora-messaging-crt
|
||||
- name: fedora-messaging-key-volume
|
||||
secret:
|
||||
secretName: planet-fedora-messaging-key
|
||||
- name: planet-build-storage
|
||||
persistentVolumeClaim:
|
||||
claimName: planet-http-storage
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue