theshire/kubernetes/apps/network/echo-server/app/helmrelease.yaml

63 lines
1.4 KiB
YAML
Raw Normal View History

2024-01-11 15:03:54 -06:00
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/helmrelease-helm-v2beta2.json
apiVersion: helm.toolkit.fluxcd.io/v2beta2
kind: HelmRelease
metadata:
name: echo-server
namespace: network
spec:
interval: 30m
chart:
spec:
chart: app-template
version: 2.5.0
2024-01-11 15:03:54 -06:00
interval: 30m
sourceRef:
kind: HelmRepository
name: bjw-s
namespace: flux-system
values:
controllers:
main:
containers:
main:
image:
repository: ghcr.io/mendhak/http-https-echo
tag: "31"
env:
HTTP_PORT: &port 8080
LOG_WITHOUT_NEWLINE: "true"
LOG_IGNORE_PATH: "/healthz"
service:
main:
ports:
http:
port: *port
ingress:
main:
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:
name: main
port: http
tls:
- hosts:
- *host
resources:
requests:
cpu: 15m
memory: 64M
limits:
memory: 128M