Update app-template for echo-server.

This commit is contained in:
Joseph Hanson 2023-10-04 22:56:00 +00:00
parent 89e67e5f1d
commit ce22bb7c8d

View file

@ -1,4 +1,5 @@
--- ---
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/helmrelease-helm-v2beta1.json
apiVersion: helm.toolkit.fluxcd.io/v2beta1 apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease kind: HelmRelease
metadata: metadata:
@ -9,7 +10,7 @@ spec:
chart: chart:
spec: spec:
chart: app-template chart: app-template
version: 1.5.1 version: 2.0.1
interval: 30m interval: 30m
sourceRef: sourceRef:
kind: HelmRepository kind: HelmRepository
@ -17,10 +18,13 @@ spec:
namespace: flux-system namespace: flux-system
values: values:
controllers:
main:
containers:
main:
image: image:
repository: ghcr.io/mendhak/http-https-echo repository: ghcr.io/mendhak/http-https-echo
tag: "30@sha256:b6fccf52c73a5786b2e79e06e5c86d4689416d0ea41a6477af6ad89c1d81933f" tag: "30"
env: env:
HTTP_PORT: &port 8080 HTTP_PORT: &port 8080
LOG_WITHOUT_NEWLINE: "true" LOG_WITHOUT_NEWLINE: "true"
@ -42,6 +46,9 @@ spec:
- host: &host "echo-server.valinor.social" - host: &host "echo-server.valinor.social"
paths: paths:
- path: / - path: /
service:
name: main
port: http
tls: tls:
- hosts: - hosts:
- *host - *host