This repository has been archived on 2024-02-11. You can view files and clone it, but cannot push or open issues or pull requests.
valinor/kubernetes/apps/network/echo-server/app/helmrelease.yaml

62 lines
1.3 KiB
YAML
Raw Normal View History

2023-08-13 12:13:53 -05:00
---
2023-10-04 17:56:00 -05:00
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/helmrelease-helm-v2beta1.json
2023-08-13 12:13:53 -05:00
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: echo-server
namespace: network
spec:
interval: 30m
chart:
spec:
chart: app-template
2023-10-04 17:56:00 -05:00
version: 2.0.1
2023-08-13 12:13:53 -05:00
interval: 30m
sourceRef:
kind: HelmRepository
name: bjw-s
namespace: flux-system
values:
2023-10-04 17:56:00 -05:00
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"
2023-08-13 12:13:53 -05:00
service:
main:
ports:
http:
port: *port
ingress:
main:
enabled: true
2023-10-04 18:08:49 -05:00
className: "nginx"
2023-08-13 12:13:53 -05:00
annotations:
external-dns.alpha.kubernetes.io/target: "ingress.valinor.social"
hosts:
- host: &host "echo-server.valinor.social"
paths:
- path: /
2023-10-04 17:56:00 -05:00
service:
name: main
port: http
2023-08-13 12:13:53 -05:00
tls:
- hosts:
- *host
resources:
requests:
cpu: 15m
memory: 64M
limits:
memory: 128M