2020-11-17 17:27:47 +00:00
|
|
|
# -*- mode: yaml -*-
|
|
|
|
|
2021-02-19 12:27:50 +00:00
|
|
|
image:
|
2021-09-20 11:28:31 +00:00
|
|
|
repository: {{ .Values.services.global.registry.repository | default "docker.io/rbkmoney" }}/fistful-server
|
2021-09-09 17:44:45 +00:00
|
|
|
tag: ef3dc8880c54abdf6da94f3ce64cf613c563c457
|
2021-02-19 12:27:50 +00:00
|
|
|
pullPolicy: IfNotPresent
|
|
|
|
|
2021-09-17 06:31:49 +00:00
|
|
|
{{ if .Values.services.global.registry.imagePullSecret }}
|
|
|
|
imagePullSecrets:
|
|
|
|
- {{ .Values.services.global.registry.imagePullSecret }}
|
|
|
|
{{ end }}
|
|
|
|
|
2021-02-19 12:27:50 +00:00
|
|
|
configMap:
|
|
|
|
data:
|
|
|
|
sys.config: |
|
|
|
|
{{- readFile "sys.config" | nindent 6 }}
|
|
|
|
erl_inetrc: |
|
2021-07-08 01:10:39 +00:00
|
|
|
{{- tpl (readFile "../vm/erl_inetrc.gotmpl") . | nindent 6 }}
|
2021-02-19 12:27:50 +00:00
|
|
|
vm.args: |
|
|
|
|
{{- tpl (readFile "../vm/erl_vm_args.gotmpl") . | nindent 6 }}
|
|
|
|
|
|
|
|
apiInitContainers:
|
2021-05-14 11:50:40 +00:00
|
|
|
enabled: false
|
2021-02-19 12:27:50 +00:00
|
|
|
|
|
|
|
volumeMounts:
|
|
|
|
- name: config-volume
|
2021-05-11 14:53:14 +00:00
|
|
|
mountPath: /opt/fistful-server/releases/0.1/sys.config
|
2021-02-19 12:27:50 +00:00
|
|
|
subPath: sys.config
|
|
|
|
readOnly: true
|
|
|
|
- name: config-volume
|
2021-05-11 14:53:14 +00:00
|
|
|
mountPath: /opt/fistful-server/releases/0.1/vm.args
|
2021-02-19 12:27:50 +00:00
|
|
|
subPath: vm.args
|
|
|
|
readOnly: true
|
|
|
|
- name: config-volume
|
2021-05-11 14:53:14 +00:00
|
|
|
mountPath: /opt/fistful-server/erl_inetrc
|
2021-02-19 12:27:50 +00:00
|
|
|
subPath: erl_inetrc
|
|
|
|
readOnly: true
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
- name: config-volume
|
|
|
|
configMap:
|
|
|
|
name: {{ .Release.Name }}
|
|
|
|
defaultMode: 0755
|
|
|
|
|
|
|
|
service:
|
|
|
|
type: ClusterIP
|
|
|
|
ports:
|
|
|
|
- name: management
|
|
|
|
port: 8022
|
|
|
|
|
|
|
|
livenessProbe:
|
|
|
|
httpGet:
|
|
|
|
path: /health
|
|
|
|
port: management
|
|
|
|
readinessProbe:
|
|
|
|
httpGet:
|
|
|
|
path: /health
|
|
|
|
port: management
|
|
|
|
|
|
|
|
ciliumPolicies:
|
|
|
|
- filters:
|
|
|
|
- port: 8022
|
|
|
|
type: TCP
|
|
|
|
name: binbase
|
2021-02-26 17:14:11 +00:00
|
|
|
namespace: {{ .Release.Namespace }}
|
2021-02-19 12:27:50 +00:00
|
|
|
- filters:
|
|
|
|
- port: 8022
|
|
|
|
type: TCP
|
|
|
|
name: cds
|
2021-02-26 17:14:11 +00:00
|
|
|
namespace: {{ .Release.Namespace }}
|
2021-02-19 12:27:50 +00:00
|
|
|
- filters:
|
|
|
|
- port: 8022
|
|
|
|
type: TCP
|
|
|
|
name: shumway
|
2021-02-26 17:14:11 +00:00
|
|
|
namespace: {{ .Release.Namespace }}
|
2021-02-19 12:27:50 +00:00
|
|
|
- filters:
|
|
|
|
- port: 8022
|
|
|
|
type: TCP
|
|
|
|
name: machinegun
|
2021-02-26 17:14:11 +00:00
|
|
|
namespace: {{ .Release.Namespace }}
|
2021-02-19 12:27:50 +00:00
|
|
|
- filters:
|
|
|
|
- port: 8022
|
|
|
|
type: TCP
|
|
|
|
name: dominant
|
2021-02-26 17:14:11 +00:00
|
|
|
namespace: {{ .Release.Namespace }}
|
2021-02-19 12:27:50 +00:00
|
|
|
- filters:
|
|
|
|
- port: 8022
|
|
|
|
type: TCP
|
|
|
|
name: hellgate
|
2021-02-26 17:14:11 +00:00
|
|
|
namespace: {{ .Release.Namespace }}
|