49 lines
1.1 KiB
YAML
49 lines
1.1 KiB
YAML
|
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2beta2.schema.json
|
||
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
||
|
kind: HelmRelease
|
||
|
metadata:
|
||
|
name: whoami
|
||
|
namespace: default
|
||
|
spec:
|
||
|
interval: 5m
|
||
|
chart:
|
||
|
spec:
|
||
|
chart: app-template
|
||
|
version: 3.1.0
|
||
|
sourceRef:
|
||
|
kind: HelmRepository
|
||
|
name: bjws-charts
|
||
|
namespace: flux-system
|
||
|
|
||
|
values:
|
||
|
controllers:
|
||
|
main:
|
||
|
containers:
|
||
|
main:
|
||
|
image:
|
||
|
repository: containous/whoami
|
||
|
tag: latest
|
||
|
|
||
|
service:
|
||
|
app:
|
||
|
controller: main
|
||
|
|
||
|
ports:
|
||
|
http:
|
||
|
port: 80
|
||
|
|
||
|
ingress:
|
||
|
main:
|
||
|
annotations:
|
||
|
cert-manager.io/cluster-issuer: letsencrypt-production
|
||
|
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
||
|
#traefik.ingress.kubernetes.io/router.middlewares: traefik-authentik@kubernetescrd
|
||
|
|
||
|
hosts:
|
||
|
- host: "whoami.${SECRET_NEW_DOMAIN}"
|
||
|
paths:
|
||
|
- path: /
|
||
|
service:
|
||
|
identifier: app
|
||
|
port: http
|