2024-01-11 15:03:54 -06:00
|
|
|
---
|
2024-03-19 17:38:08 -05:00
|
|
|
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2beta2.schema.json
|
2024-05-28 10:02:09 -05:00
|
|
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
2024-01-11 15:03:54 -06:00
|
|
|
kind: HelmRelease
|
|
|
|
metadata:
|
|
|
|
name: echo-server
|
|
|
|
namespace: network
|
|
|
|
spec:
|
|
|
|
interval: 30m
|
|
|
|
chart:
|
|
|
|
spec:
|
|
|
|
chart: app-template
|
2024-10-04 09:32:26 -05:00
|
|
|
version: 3.5.0
|
2024-01-11 15:03:54 -06:00
|
|
|
interval: 30m
|
|
|
|
sourceRef:
|
|
|
|
kind: HelmRepository
|
|
|
|
name: bjw-s
|
|
|
|
namespace: flux-system
|
2024-03-19 17:38:08 -05:00
|
|
|
install:
|
|
|
|
remediation:
|
|
|
|
retries: 3
|
|
|
|
upgrade:
|
|
|
|
cleanupOnFail: true
|
|
|
|
remediation:
|
2024-03-19 18:43:34 -05:00
|
|
|
strategy: rollback
|
2024-03-19 17:38:08 -05:00
|
|
|
retries: 3
|
2024-01-11 15:03:54 -06:00
|
|
|
values:
|
|
|
|
controllers:
|
2024-03-19 17:38:08 -05:00
|
|
|
echo-server:
|
2024-01-11 15:03:54 -06:00
|
|
|
containers:
|
2024-03-19 17:38:08 -05:00
|
|
|
app:
|
2024-01-11 15:03:54 -06:00
|
|
|
image:
|
|
|
|
repository: ghcr.io/mendhak/http-https-echo
|
2024-08-17 05:31:14 -05:00
|
|
|
tag: "34"
|
2024-01-11 15:03:54 -06:00
|
|
|
env:
|
|
|
|
HTTP_PORT: &port 8080
|
|
|
|
LOG_WITHOUT_NEWLINE: "true"
|
|
|
|
LOG_IGNORE_PATH: "/healthz"
|
|
|
|
|
|
|
|
service:
|
2024-03-19 17:38:08 -05:00
|
|
|
app:
|
|
|
|
controller: echo-server
|
2024-01-11 15:03:54 -06:00
|
|
|
ports:
|
|
|
|
http:
|
|
|
|
port: *port
|
|
|
|
|
|
|
|
ingress:
|
2024-03-19 17:38:08 -05:00
|
|
|
app:
|
2024-01-11 15:03:54 -06:00
|
|
|
enabled: true
|
2024-01-12 19:55:57 -06:00
|
|
|
className: external-nginx
|
2024-01-11 15:03:54 -06:00
|
|
|
annotations:
|
2024-01-12 15:01:54 -06:00
|
|
|
external-dns.alpha.kubernetes.io/cloudflare-proxied: "true"
|
2024-01-12 14:59:00 -06:00
|
|
|
external-dns.alpha.kubernetes.io/target: external.hsn.dev
|
2024-01-11 15:03:54 -06:00
|
|
|
hosts:
|
|
|
|
- host: &host "esv.hsn.dev"
|
|
|
|
paths:
|
|
|
|
- path: /
|
|
|
|
service:
|
2024-03-19 17:38:08 -05:00
|
|
|
identifier: app
|
2024-01-11 15:03:54 -06:00
|
|
|
port: http
|
|
|
|
tls:
|
|
|
|
- hosts:
|
|
|
|
- *host
|
|
|
|
|
|
|
|
resources:
|
|
|
|
requests:
|
|
|
|
cpu: 15m
|
|
|
|
memory: 64M
|
|
|
|
limits:
|
|
|
|
memory: 128M
|