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

79 lines
1.9 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:
2023-10-22 22:52:59 +00:00
repository: git.seanomik.net/seanomik/guacamole-sso-openid
tag: 1.5.0
sidecars:
guacd:
image: guacamole/guacd:1.5.0
imagePullPolicy: Always
2023-04-11 04:44:45 +00:00
env:
2023-10-22 22:52:59 +00:00
GUACD_HOSTNAME: "localhost"
GUACD_PORT: "4822"
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
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
2023-10-22 22:52:59 +00:00
type: configMap
2023-04-11 04:44:45 +00:00
hostPath: /mnt/MainPool/Kubernetes/guacamole
mountPath: /config
2023-10-22 22:52:59 +00:00
# config:
# enabled: true
# type: configMap
# name: guacamole-properties
2023-04-11 04:44:45 +00:00
resources:
requests:
cpu: 2m
memory: 830Mi
limits:
memory: 1200Mi