FMN: fix ports and rename config file
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
2d40bf9eae
commit
86af4472ad
4 changed files with 20 additions and 7 deletions
|
@ -23,8 +23,8 @@ metadata:
|
|||
spec:
|
||||
ports:
|
||||
- name: web
|
||||
port: 8081
|
||||
targetPort: 8081
|
||||
port: 8080
|
||||
targetPort: 8080
|
||||
selector:
|
||||
app: fmn
|
||||
deploymentconfig: api
|
||||
|
|
|
@ -15,5 +15,5 @@ items:
|
|||
{{ load_file('fmn.cfg') | indent(6) }}
|
||||
consumer.toml: |-
|
||||
{{ load_file('consumer.toml') | indent(6) }}
|
||||
sender.toml: |-
|
||||
{{ load_file('sender.toml') | indent(6) }}
|
||||
sender-email.toml: |-
|
||||
{{ load_file('sender-email.toml') | indent(6) }}
|
||||
|
|
|
@ -39,13 +39,13 @@ spec:
|
|||
value: ".s2i/run-frontend.sh"
|
||||
readinessProbe:
|
||||
timeoutSeconds: 1
|
||||
initialDelaySeconds: 10
|
||||
initialDelaySeconds: 5
|
||||
httpGet:
|
||||
path: /
|
||||
port: 8080
|
||||
livenessProbe:
|
||||
timeoutSeconds: 1
|
||||
initialDelaySeconds: 5
|
||||
initialDelaySeconds: 20
|
||||
httpGet:
|
||||
path: /
|
||||
port: 8080
|
||||
|
@ -94,7 +94,7 @@ spec:
|
|||
- name: api
|
||||
imagePullPolicy: Always
|
||||
ports:
|
||||
- containerPort: 8081
|
||||
- containerPort: 8080
|
||||
volumeMounts:
|
||||
- name: etc-fmn
|
||||
mountPath: "/etc/fmn"
|
||||
|
@ -125,6 +125,19 @@ spec:
|
|||
- name: KRB5_CLIENT_KTNAME
|
||||
value: /etc/keytabs/service.keytab
|
||||
|
||||
readinessProbe:
|
||||
timeoutSeconds: 1
|
||||
initialDelaySeconds: 5
|
||||
httpGet:
|
||||
path: /
|
||||
port: 8080
|
||||
livenessProbe:
|
||||
timeoutSeconds: 1
|
||||
initialDelaySeconds: 20
|
||||
httpGet:
|
||||
path: /
|
||||
port: 8080
|
||||
|
||||
volumes:
|
||||
- name: etc-fmn
|
||||
configMap:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue