118 lines
2.5 KiB
YAML
118 lines
2.5 KiB
YAML
global:
|
|
registry: docker.io
|
|
repository: freeleaps
|
|
nodeSelector: {}
|
|
dashboard:
|
|
enabled: false
|
|
logIngest:
|
|
enabled: true
|
|
lokiEndpoint: http://loki-gateway.freeleaps-logging-system
|
|
logPathPattern: /app/log/payment/*.log
|
|
logPath: /app/log/payment
|
|
payment:
|
|
replicas: 1
|
|
image:
|
|
registry: docker.io
|
|
repository: null
|
|
name: payment
|
|
tag: snapshot-e12fb45
|
|
imagePullPolicy: IfNotPresent
|
|
ports:
|
|
- name: http
|
|
containerPort: 8006
|
|
protocol: TCP
|
|
resources:
|
|
requests:
|
|
cpu: 50m
|
|
memory: 128Mi
|
|
limits:
|
|
cpu: 100m
|
|
memory: 256Mi
|
|
probes:
|
|
readiness:
|
|
type: httpGet
|
|
config:
|
|
path: /api/_/readyz
|
|
port: 8006
|
|
initialDelaySeconds: 90
|
|
periodSeconds: 30
|
|
timeoutSeconds: 3
|
|
successThreshold: 1
|
|
failureThreshold: 8
|
|
liveness:
|
|
type: httpGet
|
|
config:
|
|
path: /api/_/livez
|
|
port: 8006
|
|
initialDelaySeconds: 90
|
|
periodSeconds: 15
|
|
timeoutSeconds: 3
|
|
successThreshold: 1
|
|
failureThreshold: 8
|
|
terminationGracePeriodSeconds: 30
|
|
services:
|
|
- name: payment-service
|
|
type: ClusterIP
|
|
port: 8006
|
|
targetPort: 8006
|
|
serviceMonitor:
|
|
enabled: false
|
|
ingresses:
|
|
- name: payment-ingress
|
|
host: payment.freeleaps-alpha.com
|
|
class: nginx
|
|
rules:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: payment-service
|
|
port:
|
|
number: 8006
|
|
tls:
|
|
exists: false
|
|
issuerRef:
|
|
name: freeleaps-alpha-dot-com
|
|
kind: ClusterIssuer
|
|
name: payment.freeleaps-alpha.com-cert
|
|
configs:
|
|
tz: UTC
|
|
appName: payment
|
|
appEnv: alpha
|
|
serviceApiAccessHost: 0.0.0.0
|
|
serviceApiAccessPort: 8006
|
|
mongodbName: freeleaps2
|
|
mongodbPort: 27017
|
|
siteUrlRoot: https://freeleaps-alpha.com
|
|
metricsEnabled: 'false'
|
|
probesEnabled: 'true'
|
|
secrets:
|
|
secretStoreRef:
|
|
kind: FreeleapsSecretStore
|
|
name: freeleaps-main-secret-store
|
|
target:
|
|
name: freeleaps-payment-secrets
|
|
creationPolicy: Owner
|
|
refreshInterval: 30s
|
|
data:
|
|
- key: mongodbUri
|
|
remoteRef:
|
|
key: freeleaps-alpha-mongodb-uri
|
|
type: Secret
|
|
- key: stripeApiKey
|
|
remoteRef:
|
|
key: freeleaps-alpha-stripe-api-key
|
|
type: Secret
|
|
vpa:
|
|
minAllowed:
|
|
enabled: false
|
|
cpu: 50m
|
|
memory: 64Mi
|
|
maxAllowed:
|
|
enabled: true
|
|
cpu: 100m
|
|
memory: 256Mi
|
|
controlledResources:
|
|
- cpu
|
|
- memory
|