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
|
app: noggin
|
||||||
template: configmap.yml
|
template: configmap.yml
|
||||||
objectname: configmap.yml
|
objectname: configmap.yml
|
||||||
|
noggin_theme: fas
|
||||||
|
|
||||||
- role: openshift/ipa-client
|
- role: openshift/ipa-client
|
||||||
app: noggin
|
app: noggin
|
||||||
|
|
|
@ -3,7 +3,7 @@ kind: BuildConfig
|
||||||
metadata:
|
metadata:
|
||||||
name: noggin
|
name: noggin
|
||||||
labels:
|
labels:
|
||||||
app: noggin
|
app: {{ app }}
|
||||||
build: noggin
|
build: noggin
|
||||||
spec:
|
spec:
|
||||||
runPolicy: Serial
|
runPolicy: Serial
|
||||||
|
|
|
@ -9,7 +9,7 @@ items:
|
||||||
metadata:
|
metadata:
|
||||||
name: noggin-config
|
name: noggin-config
|
||||||
labels:
|
labels:
|
||||||
app: noggin
|
app: {{ app }}
|
||||||
data:
|
data:
|
||||||
noggin.cfg: |-
|
noggin.cfg: |-
|
||||||
{{ load_file('noggin.cfg.py') | indent(6) }}
|
{{ load_file('noggin.cfg.py') | indent(6) }}
|
||||||
|
@ -20,7 +20,7 @@ items:
|
||||||
metadata:
|
metadata:
|
||||||
name: wsgi-script
|
name: wsgi-script
|
||||||
labels:
|
labels:
|
||||||
app: noggin
|
app: {{ app }}
|
||||||
data:
|
data:
|
||||||
wsgi.py: |-
|
wsgi.py: |-
|
||||||
{{ load_file('wsgi.py') | indent(6) }}
|
{{ load_file('wsgi.py') | indent(6) }}
|
||||||
|
@ -30,7 +30,7 @@ items:
|
||||||
metadata:
|
metadata:
|
||||||
name: fedora-messaging-config
|
name: fedora-messaging-config
|
||||||
labels:
|
labels:
|
||||||
app: noggin
|
app: {{ app }}
|
||||||
data:
|
data:
|
||||||
config.toml: |-
|
config.toml: |-
|
||||||
{{ load_file('fedora-messaging.toml') | indent(6) }}
|
{{ load_file('fedora-messaging.toml') | indent(6) }}
|
||||||
|
|
|
@ -3,11 +3,11 @@ kind: DeploymentConfig
|
||||||
metadata:
|
metadata:
|
||||||
name: noggin
|
name: noggin
|
||||||
labels:
|
labels:
|
||||||
app: noggin
|
app: {{ app }}
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
selector:
|
selector:
|
||||||
app: noggin
|
app: {{ app }}
|
||||||
deploymentconfig: noggin
|
deploymentconfig: noggin
|
||||||
strategy:
|
strategy:
|
||||||
type: Rolling
|
type: Rolling
|
||||||
|
@ -22,7 +22,7 @@ spec:
|
||||||
metadata:
|
metadata:
|
||||||
creationTimestamp: null
|
creationTimestamp: null
|
||||||
labels:
|
labels:
|
||||||
app: noggin
|
app: {{ app }}
|
||||||
deploymentconfig: noggin
|
deploymentconfig: noggin
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
|
|
|
@ -31,7 +31,7 @@ MAIL_DEFAULT_SENDER = "Fedora Account System <fas@fedoraproject.org>"
|
||||||
MAIL_SERVER = "bastion.fedoraproject.org"
|
MAIL_SERVER = "bastion.fedoraproject.org"
|
||||||
|
|
||||||
# Theme
|
# Theme
|
||||||
THEME = "fas"
|
THEME = "{{ noggin_theme }}"
|
||||||
|
|
||||||
# Those file should be mounted from OpenShift secrets
|
# Those file should be mounted from OpenShift secrets
|
||||||
FREEIPA_ADMIN_PASSWORD = from_file('/etc/noggin-secrets/ipa-admin')
|
FREEIPA_ADMIN_PASSWORD = from_file('/etc/noggin-secrets/ipa-admin')
|
||||||
|
|
|
@ -3,12 +3,12 @@ kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: noggin-web
|
name: noggin-web
|
||||||
labels:
|
labels:
|
||||||
app: noggin
|
app: {{ app }}
|
||||||
spec:
|
spec:
|
||||||
ports:
|
ports:
|
||||||
- name: web
|
- name: web
|
||||||
port: 8080
|
port: 8080
|
||||||
targetPort: 8080
|
targetPort: 8080
|
||||||
selector:
|
selector:
|
||||||
app: noggin
|
app: {{ app }}
|
||||||
deploymentconfig: noggin
|
deploymentconfig: noggin
|
Loading…
Add table
Add a link
Reference in a new issue