k3s-cluster/cluster/apps/management/guacamole/helm-release.yaml

72 lines
1.7 KiB
YAML
Raw Permalink Normal View History

2023-04-11 04:44:45 +00:00
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: guacamole
namespace: management
2023-04-11 04:44:45 +00:00
spec:
interval: 5m
chart:
spec:
chart: app-template
version: 1.3.x
sourceRef:
kind: HelmRepository
name: bjws-charts
namespace: flux-system
values:
image:
repository: abesnier/guacamole
tag: 1.5.0-alpine
env:
2023-04-11 05:09:23 +00:00
EXTENSIONS: "auth-openid"
OPENID_AUTHORIZATION_ENDPOINT: "https://auth.${SECRET_NEW_DOMAIN}/application/o/authorize/"
OPENID_ISSUER: "https://auth.${SECRET_NEW_DOMAIN}/application/o/apache-guacamole/"
OPENID_JWKS_ENDPOINT: "https://auth.${SECRET_NEW_DOMAIN}/application/o/apache-guacamole/jwks/"
OPENID_REDIRECT_URI: "https://remote.${SECRET_NEW_DOMAIN}/"
2023-04-11 04:44:45 +00:00
envFrom:
- secretRef:
name: guacamole-secret
service:
main:
ports:
http:
port: 8080
probes:
liveness:
enabled: false
ingress:
main:
enabled: true
annotations:
cert-manager.io/cluster-issuer: letsencrypt-production
2023-04-11 04:44:45 +00:00
traefik.ingress.kubernetes.io/router.entrypoints: websecure
hosts:
2023-04-13 05:21:06 +00:00
- host: &host "remote.${SECRET_NEW_DOMAIN}"
2023-04-11 04:44:45 +00:00
paths:
- path: /
pathType: Prefix
2023-04-13 05:21:06 +00:00
tls:
- hosts:
- *host
secretName: wildcard-main-tls
2023-04-11 04:44:45 +00:00
persistence:
config:
enabled: true
type: hostPath
hostPath: /mnt/MainPool/Kubernetes/guacamole
mountPath: /config
resources:
requests:
cpu: 2m
memory: 830Mi
limits:
memory: 1200Mi