110 lines
2.1 KiB
YAML
110 lines
2.1 KiB
YAML
global:
|
|
registry: docker.io
|
|
repository: test
|
|
nodeSelector:
|
|
beta.kubernetes.io/os: linux
|
|
frontend:
|
|
replicas: 1
|
|
image:
|
|
registry: docker.io
|
|
repository: test
|
|
name: frontend
|
|
tag: latest
|
|
imagePullPolicy: IfNotPresent
|
|
resources:
|
|
requests:
|
|
cpu: "100m"
|
|
memory: "128Mi"
|
|
limits:
|
|
cpu: "100m"
|
|
memory: "128Mi"
|
|
probes:
|
|
liveness:
|
|
type: httpGet
|
|
config:
|
|
path: /healthz
|
|
port: 8080
|
|
readiness:
|
|
type: httpGet
|
|
config:
|
|
path: /readyz
|
|
port: 8080
|
|
services:
|
|
- name: frontend
|
|
type: ClusterIP
|
|
port: 8080
|
|
targetPort: 8080
|
|
ingresses:
|
|
- name: frontend
|
|
host: test.com
|
|
class: nginx
|
|
rules:
|
|
- path: /
|
|
pathType: ImplementationSpecific
|
|
backend:
|
|
service:
|
|
name: frontend
|
|
port:
|
|
number: 8080
|
|
tls:
|
|
exists: false
|
|
issuerRef:
|
|
name: test-issuer
|
|
kind: ClusterIssuer
|
|
name: test-cert
|
|
configs:
|
|
testEnvVar: "test"
|
|
mongoDb: "mongodb"
|
|
backend:
|
|
replicas: 1
|
|
image:
|
|
registry: docker.io
|
|
repository: test
|
|
name: backend
|
|
tag: latest
|
|
imagePullPolicy: IfNotPresent
|
|
resources:
|
|
requests:
|
|
cpu: "100m"
|
|
memory: "128Mi"
|
|
limits:
|
|
cpu: "100m"
|
|
memory: "128Mi"
|
|
probes:
|
|
liveness:
|
|
type: httpGet
|
|
config:
|
|
path: /healthz
|
|
port: 8081
|
|
readiness:
|
|
type: httpGet
|
|
config:
|
|
path: /readyz
|
|
port: 8081
|
|
services:
|
|
- name: backend
|
|
type: ClusterIP
|
|
port: 8081
|
|
targetPort: 8081
|
|
ingresses:
|
|
- name: backend
|
|
host: test.com
|
|
class: nginx
|
|
rules:
|
|
- path: /
|
|
pathType: ImplementationSpecific
|
|
backend:
|
|
service:
|
|
name: backend
|
|
port:
|
|
number: 8080
|
|
tls:
|
|
exists: false
|
|
issuerRef:
|
|
name: test-issuer
|
|
kind: ClusterIssuer
|
|
name: test-cert
|
|
configs:
|
|
testEnvVar1: "test"
|
|
mongoDb1: "mongodb"
|