commit
5f42a81c8a
@ -7,5 +7,3 @@ data:
|
|||||||
{{ tuple "bin/_db-sync.sh.tpl" . | include "template" | indent 4 }}
|
{{ tuple "bin/_db-sync.sh.tpl" . | include "template" | indent 4 }}
|
||||||
init.sh: |
|
init.sh: |
|
||||||
{{ tuple "bin/_init.sh.tpl" . | include "template" | indent 4 }}
|
{{ tuple "bin/_init.sh.tpl" . | include "template" | indent 4 }}
|
||||||
start.sh: |
|
|
||||||
{{ tuple "bin/_start.sh.tpl" . | include "template" | indent 4 }}
|
|
||||||
|
@ -1,12 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
set -ex
|
|
||||||
|
|
||||||
# link our keystone wsgi to apaches running config
|
|
||||||
ln -s /configmaps/wsgi-keystone.conf /etc/apache2/sites-enabled/wsgi-keystone.conf
|
|
||||||
|
|
||||||
# Loading Apache2 ENV variables
|
|
||||||
source /etc/apache2/envvars
|
|
||||||
rm -rf /var/run/apache2/*
|
|
||||||
APACHE_DIR="apache2"
|
|
||||||
|
|
||||||
apache2 -DFOREGROUND
|
|
@ -44,8 +44,8 @@ spec:
|
|||||||
- name: keystone-api
|
- name: keystone-api
|
||||||
image: {{ .Values.images.api }}
|
image: {{ .Values.images.api }}
|
||||||
command:
|
command:
|
||||||
- bash
|
- apache2
|
||||||
- /tmp/start.sh
|
- -DFOREGROUND
|
||||||
ports:
|
ports:
|
||||||
- containerPort: {{ .Values.network.port.public }}
|
- containerPort: {{ .Values.network.port.public }}
|
||||||
- containerPort: {{ .Values.network.port.admin }}
|
- containerPort: {{ .Values.network.port.admin }}
|
||||||
@ -57,14 +57,11 @@ spec:
|
|||||||
mountPath: /etc/keystone/keystone.conf
|
mountPath: /etc/keystone/keystone.conf
|
||||||
subPath: keystone.conf
|
subPath: keystone.conf
|
||||||
- name: wsgikeystone
|
- name: wsgikeystone
|
||||||
mountPath: /configmaps/wsgi-keystone.conf
|
mountPath: /etc/apache2/conf-enabled/wsgi-keystone.conf
|
||||||
subPath: wsgi_keystone.conf
|
subPath: wsgi_keystone.conf
|
||||||
- name: mpmeventconf
|
- name: mpmeventconf
|
||||||
mountPath: /etc/apache2/mods-available/mpm_event.conf
|
mountPath: /etc/apache2/mods-available/mpm_event.conf
|
||||||
subPath: mpm_event.conf
|
subPath: mpm_event.conf
|
||||||
- name: startsh
|
|
||||||
mountPath: /tmp/start.sh
|
|
||||||
subPath: start.sh
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: keystoneconf
|
- name: keystoneconf
|
||||||
configMap:
|
configMap:
|
||||||
@ -84,6 +81,3 @@ spec:
|
|||||||
items:
|
items:
|
||||||
- key: mpm-event.conf
|
- key: mpm-event.conf
|
||||||
path: mpm_event.conf
|
path: mpm_event.conf
|
||||||
- name: startsh
|
|
||||||
configMap:
|
|
||||||
name: keystone-bin
|
|
||||||
|
Loading…
Reference in New Issue
Block a user