Fix the Noggin templates

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard 2024-11-28 18:23:25 +01:00
parent a0ae127754
commit 8c0fd03670
No known key found for this signature in database
GPG key ID: 31584CFEB9BF64AD
4 changed files with 10 additions and 10 deletions

View file

@ -4,7 +4,7 @@ kind: BuildConfig
metadata:
name: noggin
labels:
app: {{ app }}
app: {{ object_app }}
build: noggin
spec:
runPolicy: Serial

View file

@ -9,7 +9,7 @@ items:
metadata:
name: noggin-config
labels:
app: {{ app }}
app: {{ object_app }}
data:
noggin.cfg: |-
{{ load_file('noggin.cfg.py') | indent(6) }}
@ -20,7 +20,7 @@ items:
metadata:
name: noggin-templates
labels:
app: {{ app }}
app: {{ object_app }}
data:
after-navbar.html: |-
{{ load_file('after-navbar.html') | indent(6) }}
@ -31,7 +31,7 @@ items:
metadata:
name: wsgi-script
labels:
app: {{ app }}
app: {{ object_app }}
data:
wsgi.py: |-
{{ load_file('wsgi.py') | indent(6) }}
@ -41,7 +41,7 @@ items:
metadata:
name: fedora-messaging-config
labels:
app: {{ app }}
app: {{ object_app }}
data:
config.toml: |-
{{ load_file('fedora-messaging.toml') | indent(6) }}

View file

@ -4,11 +4,11 @@ kind: DeploymentConfig
metadata:
name: noggin
labels:
app: {{ app }}
app: {{ object_app }}
spec:
replicas: 1
selector:
app: {{ app }}
app: {{ object_app }}
deploymentconfig: noggin
strategy:
type: Rolling
@ -23,7 +23,7 @@ spec:
metadata:
creationTimestamp: null
labels:
app: {{ app }}
app: {{ object_app }}
deploymentconfig: noggin
spec:
containers:

View file

@ -4,12 +4,12 @@ kind: Service
metadata:
name: noggin-web
labels:
app: {{ app }}
app: {{ object_app }}
spec:
ports:
- name: web
port: 8080
targetPort: 8080
selector:
app: {{ app }}
app: {{ object_app }}
deploymentconfig: noggin