mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-30 21:41:53 +08:00
FASJSON: deploy a static session key
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
@@ -61,6 +61,13 @@
|
||||
service: HTTP
|
||||
host: "fasjson{{ env_suffix }}.fedoraproject.org"
|
||||
|
||||
# Session secret key
|
||||
- role: openshift/secret-file
|
||||
app: fasjson
|
||||
secret_name: session-key
|
||||
key: session.key
|
||||
privatefile: "fasjson/session.{{env}}.key"
|
||||
|
||||
- role: openshift/imagestream
|
||||
app: fasjson
|
||||
imagename: fasjson
|
||||
|
||||
@@ -46,6 +46,10 @@ spec:
|
||||
readOnly: true
|
||||
- name: httpdir
|
||||
mountPath: /httpdir
|
||||
- name: session-key
|
||||
mountPath: /etc/fasjson-secret/session.key
|
||||
subPath: session.key
|
||||
readOnly: true
|
||||
env:
|
||||
- name: FASJSON_CONFIG_PATH
|
||||
value: "/etc/fasjson/fasjson.conf"
|
||||
@@ -67,6 +71,9 @@ spec:
|
||||
- name: fasjson-config-volume
|
||||
configMap:
|
||||
name: fasjson-config
|
||||
- name: session-key
|
||||
secret:
|
||||
secretName: session-key
|
||||
- name: keytab-http-volume
|
||||
secret:
|
||||
secretName: fasjson-keytab-http
|
||||
|
||||
Reference in New Issue
Block a user