FASJSON: deploy a static session key
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
24f8e2af1a
commit
1ad5441c8b
2 changed files with 14 additions and 0 deletions
|
@ -61,6 +61,13 @@
|
||||||
service: HTTP
|
service: HTTP
|
||||||
host: "fasjson{{ env_suffix }}.fedoraproject.org"
|
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
|
- role: openshift/imagestream
|
||||||
app: fasjson
|
app: fasjson
|
||||||
imagename: fasjson
|
imagename: fasjson
|
||||||
|
|
|
@ -46,6 +46,10 @@ spec:
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: httpdir
|
- name: httpdir
|
||||||
mountPath: /httpdir
|
mountPath: /httpdir
|
||||||
|
- name: session-key
|
||||||
|
mountPath: /etc/fasjson-secret/session.key
|
||||||
|
subPath: session.key
|
||||||
|
readOnly: true
|
||||||
env:
|
env:
|
||||||
- name: FASJSON_CONFIG_PATH
|
- name: FASJSON_CONFIG_PATH
|
||||||
value: "/etc/fasjson/fasjson.conf"
|
value: "/etc/fasjson/fasjson.conf"
|
||||||
|
@ -67,6 +71,9 @@ spec:
|
||||||
- name: fasjson-config-volume
|
- name: fasjson-config-volume
|
||||||
configMap:
|
configMap:
|
||||||
name: fasjson-config
|
name: fasjson-config
|
||||||
|
- name: session-key
|
||||||
|
secret:
|
||||||
|
secretName: session-key
|
||||||
- name: keytab-http-volume
|
- name: keytab-http-volume
|
||||||
secret:
|
secret:
|
||||||
secretName: fasjson-keytab-http
|
secretName: fasjson-keytab-http
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue