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,14 +18,17 @@ spec:
namespace: flux-system namespace: flux-system
values: values:
image: controllers:
repository: ghcr.io/mendhak/http-https-echo main:
tag: "30@sha256:b6fccf52c73a5786b2e79e06e5c86d4689416d0ea41a6477af6ad89c1d81933f" containers:
main:
env: image:
HTTP_PORT: &port 8080 repository: ghcr.io/mendhak/http-https-echo
LOG_WITHOUT_NEWLINE: "true" tag: "30"
LOG_IGNORE_PATH: "/healthz" env:
HTTP_PORT: &port 8080
LOG_WITHOUT_NEWLINE: "true"
LOG_IGNORE_PATH: "/healthz"
service: service:
main: main:
@ -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