61 lines
1.3 KiB
YAML
61 lines
1.3 KiB
YAML
---
|
|
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/helmrelease-helm-v2beta1.json
|
|
apiVersion: helm.toolkit.fluxcd.io/v2beta1
|
|
kind: HelmRelease
|
|
metadata:
|
|
name: echo-server
|
|
namespace: network
|
|
spec:
|
|
interval: 30m
|
|
chart:
|
|
spec:
|
|
chart: app-template
|
|
version: 2.0.3
|
|
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: "30"
|
|
env:
|
|
HTTP_PORT: &port 8080
|
|
LOG_WITHOUT_NEWLINE: "true"
|
|
LOG_IGNORE_PATH: "/healthz"
|
|
|
|
service:
|
|
main:
|
|
ports:
|
|
http:
|
|
port: *port
|
|
|
|
ingress:
|
|
main:
|
|
enabled: true
|
|
className: "nginx"
|
|
annotations:
|
|
external-dns.alpha.kubernetes.io/target: "ingress.valinor.social"
|
|
hosts:
|
|
- host: &host "echo-server.valinor.social"
|
|
paths:
|
|
- path: /
|
|
service:
|
|
name: main
|
|
port: http
|
|
tls:
|
|
- hosts:
|
|
- *host
|
|
|
|
resources:
|
|
requests:
|
|
cpu: 15m
|
|
memory: 64M
|
|
limits:
|
|
memory: 128M
|