spoolman: misc fixes
This commit is contained in:
parent
841fa5e55a
commit
08f0c9c615
2 changed files with 24 additions and 1 deletions
|
@ -10,6 +10,9 @@ spec:
|
|||
metadata:
|
||||
labels:
|
||||
app: spoolman
|
||||
annotations:
|
||||
prometheus.io/scrape: "true"
|
||||
prometheus.io/port: "8080"
|
||||
spec:
|
||||
containers:
|
||||
- name: spoolman
|
||||
|
@ -21,6 +24,8 @@ spec:
|
|||
env:
|
||||
- name: SPOOLMAN_PORT
|
||||
value: "8080"
|
||||
- name: EXTERNAL_DB_SYNC_INTERVAL
|
||||
value: "604800" # sync weekly
|
||||
- name: SPOOLMAN_DB_TYPE
|
||||
value: postgres
|
||||
- name: SPOOLMAN_DB_HOST
|
||||
|
|
|
@ -29,4 +29,22 @@ spec:
|
|||
name: spoolman
|
||||
port:
|
||||
number: 8080
|
||||
|
||||
---
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: spoolman-internal
|
||||
labels:
|
||||
name: spoolman-internal
|
||||
spec:
|
||||
rules:
|
||||
- host: spoolman.spoolman.k8s
|
||||
http:
|
||||
paths:
|
||||
- pathType: Prefix
|
||||
path: "/"
|
||||
backend:
|
||||
service:
|
||||
name: spoolman
|
||||
port:
|
||||
number: 8080
|
||||
|
|
Loading…
Reference in a new issue