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:
|
spec:
|
||||||
ports:
|
ports:
|
||||||
- name: web
|
- name: web
|
||||||
port: 8081
|
port: 8080
|
||||||
targetPort: 8081
|
targetPort: 8080
|
||||||
selector:
|
selector:
|
||||||
app: fmn
|
app: fmn
|
||||||
deploymentconfig: api
|
deploymentconfig: api
|
||||||
|
|
|
@ -15,5 +15,5 @@ items:
|
||||||
{{ load_file('fmn.cfg') | indent(6) }}
|
{{ load_file('fmn.cfg') | indent(6) }}
|
||||||
consumer.toml: |-
|
consumer.toml: |-
|
||||||
{{ load_file('consumer.toml') | indent(6) }}
|
{{ load_file('consumer.toml') | indent(6) }}
|
||||||
sender.toml: |-
|
sender-email.toml: |-
|
||||||
{{ load_file('sender.toml') | indent(6) }}
|
{{ load_file('sender-email.toml') | indent(6) }}
|
||||||
|
|
|
@ -39,13 +39,13 @@ spec:
|
||||||
value: ".s2i/run-frontend.sh"
|
value: ".s2i/run-frontend.sh"
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
initialDelaySeconds: 10
|
initialDelaySeconds: 5
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /
|
path: /
|
||||||
port: 8080
|
port: 8080
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
initialDelaySeconds: 5
|
initialDelaySeconds: 20
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /
|
path: /
|
||||||
port: 8080
|
port: 8080
|
||||||
|
@ -94,7 +94,7 @@ spec:
|
||||||
- name: api
|
- name: api
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8081
|
- containerPort: 8080
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: etc-fmn
|
- name: etc-fmn
|
||||||
mountPath: "/etc/fmn"
|
mountPath: "/etc/fmn"
|
||||||
|
@ -125,6 +125,19 @@ spec:
|
||||||
- name: KRB5_CLIENT_KTNAME
|
- name: KRB5_CLIENT_KTNAME
|
||||||
value: /etc/keytabs/service.keytab
|
value: /etc/keytabs/service.keytab
|
||||||
|
|
||||||
|
readinessProbe:
|
||||||
|
timeoutSeconds: 1
|
||||||
|
initialDelaySeconds: 5
|
||||||
|
httpGet:
|
||||||
|
path: /
|
||||||
|
port: 8080
|
||||||
|
livenessProbe:
|
||||||
|
timeoutSeconds: 1
|
||||||
|
initialDelaySeconds: 20
|
||||||
|
httpGet:
|
||||||
|
path: /
|
||||||
|
port: 8080
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: etc-fmn
|
- name: etc-fmn
|
||||||
configMap:
|
configMap:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue