Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
96 lines
2.1 KiB
YAML
96 lines
2.1 KiB
YAML
---
|
|
apiVersion: helm.toolkit.fluxcd.io/v2beta1
|
|
kind: HelmRelease
|
|
metadata:
|
|
name: &app echo-server
|
|
namespace: default
|
|
spec:
|
|
interval: 15m
|
|
chart:
|
|
spec:
|
|
chart: kah-common-chart
|
|
version: 1.2.2
|
|
sourceRef:
|
|
kind: HelmRepository
|
|
name: k8s-at-home
|
|
namespace: flux-system
|
|
interval: 15m
|
|
install:
|
|
createNamespace: true
|
|
remediation:
|
|
retries: 5
|
|
upgrade:
|
|
remediation:
|
|
retries: 5
|
|
values:
|
|
global:
|
|
nameOverride: *app
|
|
controller:
|
|
replicas: 1
|
|
strategy: RollingUpdate
|
|
image:
|
|
repository: docker.io/jmalloc/echo-server
|
|
tag: 0.3.3
|
|
service:
|
|
main:
|
|
ports:
|
|
http:
|
|
port: &port 8080
|
|
probes:
|
|
liveness:
|
|
enabled: true
|
|
custom: true
|
|
spec:
|
|
httpGet:
|
|
path: /health
|
|
port: *port
|
|
initialDelaySeconds: 0
|
|
periodSeconds: 10
|
|
timeoutSeconds: 1
|
|
failureThreshold: 3
|
|
readiness:
|
|
enabled: true
|
|
custom: true
|
|
spec:
|
|
httpGet:
|
|
path: /health
|
|
port: *port
|
|
initialDelaySeconds: 0
|
|
periodSeconds: 10
|
|
timeoutSeconds: 1
|
|
failureThreshold: 3
|
|
startup:
|
|
enabled: true
|
|
custom: true
|
|
spec:
|
|
httpGet:
|
|
path: /health
|
|
port: *port
|
|
failureThreshold: 30
|
|
periodSeconds: 10
|
|
ingress:
|
|
main:
|
|
enabled: true
|
|
ingressClassName: "nginx"
|
|
annotations:
|
|
cert-manager.io/cluster-issuer: "letsencrypt-staging"
|
|
external-dns.alpha.kubernetes.io/target: "ipv4.${SECRET_DOMAIN}"
|
|
external-dns/is-public: "true"
|
|
hajimari.io/enable: "true"
|
|
hajimari.io/icon: "video-input-antenna"
|
|
hosts:
|
|
- host: &host "{{ .Release.Name }}.${SECRET_DOMAIN}"
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
tls:
|
|
- hosts:
|
|
- *host
|
|
secretName: "echo-server-tls"
|
|
resources:
|
|
requests:
|
|
cpu: 50m
|
|
memory: 64Mi
|
|
limits:
|
|
memory: 96Mi
|