Make the noggin theme a parameter
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
37f464fed1
commit
096f281528
6 changed files with 11 additions and 10 deletions
|
@ -64,6 +64,7 @@
|
|||
app: noggin
|
||||
template: configmap.yml
|
||||
objectname: configmap.yml
|
||||
noggin_theme: fas
|
||||
|
||||
- role: openshift/ipa-client
|
||||
app: noggin
|
||||
|
|
|
@ -3,7 +3,7 @@ kind: BuildConfig
|
|||
metadata:
|
||||
name: noggin
|
||||
labels:
|
||||
app: noggin
|
||||
app: {{ app }}
|
||||
build: noggin
|
||||
spec:
|
||||
runPolicy: Serial
|
||||
|
|
|
@ -9,7 +9,7 @@ items:
|
|||
metadata:
|
||||
name: noggin-config
|
||||
labels:
|
||||
app: noggin
|
||||
app: {{ app }}
|
||||
data:
|
||||
noggin.cfg: |-
|
||||
{{ load_file('noggin.cfg.py') | indent(6) }}
|
||||
|
@ -20,7 +20,7 @@ items:
|
|||
metadata:
|
||||
name: wsgi-script
|
||||
labels:
|
||||
app: noggin
|
||||
app: {{ app }}
|
||||
data:
|
||||
wsgi.py: |-
|
||||
{{ load_file('wsgi.py') | indent(6) }}
|
||||
|
@ -30,7 +30,7 @@ items:
|
|||
metadata:
|
||||
name: fedora-messaging-config
|
||||
labels:
|
||||
app: noggin
|
||||
app: {{ app }}
|
||||
data:
|
||||
config.toml: |-
|
||||
{{ load_file('fedora-messaging.toml') | indent(6) }}
|
||||
|
|
|
@ -3,11 +3,11 @@ kind: DeploymentConfig
|
|||
metadata:
|
||||
name: noggin
|
||||
labels:
|
||||
app: noggin
|
||||
app: {{ app }}
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
app: noggin
|
||||
app: {{ app }}
|
||||
deploymentconfig: noggin
|
||||
strategy:
|
||||
type: Rolling
|
||||
|
@ -22,7 +22,7 @@ spec:
|
|||
metadata:
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
app: noggin
|
||||
app: {{ app }}
|
||||
deploymentconfig: noggin
|
||||
spec:
|
||||
containers:
|
||||
|
|
|
@ -31,7 +31,7 @@ MAIL_DEFAULT_SENDER = "Fedora Account System <fas@fedoraproject.org>"
|
|||
MAIL_SERVER = "bastion.fedoraproject.org"
|
||||
|
||||
# Theme
|
||||
THEME = "fas"
|
||||
THEME = "{{ noggin_theme }}"
|
||||
|
||||
# Those file should be mounted from OpenShift secrets
|
||||
FREEIPA_ADMIN_PASSWORD = from_file('/etc/noggin-secrets/ipa-admin')
|
||||
|
|
|
@ -3,12 +3,12 @@ kind: Service
|
|||
metadata:
|
||||
name: noggin-web
|
||||
labels:
|
||||
app: noggin
|
||||
app: {{ app }}
|
||||
spec:
|
||||
ports:
|
||||
- name: web
|
||||
port: 8080
|
||||
targetPort: 8080
|
||||
selector:
|
||||
app: noggin
|
||||
app: {{ app }}
|
||||
deploymentconfig: noggin
|
Loading…
Add table
Add a link
Reference in a new issue