52 lines
1.4 KiB
YAML
52 lines
1.4 KiB
YAML
apiVersion: helm.toolkit.fluxcd.io/v2
|
|
kind: HelmRelease
|
|
metadata:
|
|
name: podinfo
|
|
namespace: futureporn
|
|
spec:
|
|
releaseName: podinfo
|
|
chart:
|
|
spec:
|
|
version: '6.6.3'
|
|
chart: podinfo
|
|
sourceRef:
|
|
kind: HelmRepository
|
|
name: podinfo
|
|
interval: 10m
|
|
install:
|
|
remediation:
|
|
retries: 3
|
|
# Default values
|
|
# https://github.com/stefanprodan/podinfo/blob/master/charts/podinfo/values.yaml
|
|
values:
|
|
redis:
|
|
enabled: true
|
|
repository: public.ecr.aws/docker/library/redis
|
|
tag: 7.0.6
|
|
ingress:
|
|
enabled: true
|
|
className: "traefik"
|
|
annotations:
|
|
kubernetes.io/ingress.class: "traefik"
|
|
traefik.ingress.kubernetes.io/router.priority: "4"
|
|
traefik.ingress.kubernetes.io/router.tls: "true"
|
|
traefik.ingress.kubernetes.io/router.tls.domains.0.main: podyinfo.sbtp.xyz
|
|
traefik.ingress.kubernetes.io/router.entrypoints: http
|
|
traefik.ingress.kubernetes.io/service.nativelb: podinfo
|
|
cert-manager.io/cluster-issuer: "letsencrypt"
|
|
# ingress.kubernetes.io/ssl-redirect: "true"
|
|
hosts:
|
|
- host: podinfo.sbtp.xyz
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: podinfo
|
|
port:
|
|
number: 9898
|
|
tls:
|
|
- secretName: podinfo-tls
|
|
hosts:
|
|
- podinfo.sbtp.xyz
|