--- apiVersion: helm.toolkit.fluxcd.io/v2beta1 kind: HelmRelease metadata: name: sharry namespace: data spec: interval: 5m chart: spec: # renovate: registryUrl=https://k8s-at-home.com/charts/ chart: sharry version: 5.1.0 sourceRef: kind: HelmRepository name: k8s-at-home-charts namespace: flux-system interval: 5m values: image: repository: eikek0/sharry tag: v1.9.0 pullPolicy: IfNotPresent args: - "/opt/sharry.conf" config: | sharry.restserver { base-url = "https://sharry.${SECRET_CLUSTER_DOMAIN}" bind { address = "0.0.0.0" port =9090 } backend { auth { fixed.enabled = false } jdbc { url = "${SECRET_SHARRY_JDBC_URL}" user = "sharry" password = "${SECRET_SHARRY_DB_PASSWORD}" } webapp { # This is shown in the top right corner of the web application app-name = "Sharry" # The icon next to the app-name. Needs to be an URL to a image. app-icon = "" # The login and register page displays a logo image, by default # the Sharry logo. This can be changed here. It needs to be an URL # to an image. app-logo = "" # This is markdown that is inserted as the footer on each page in # the ui. If left empty, a link to the project is rendered. app-footer = "" # Whether to display the footer on each page in the ui. Set it to # false to hide it. app-footer-visible = true # Chunk size used for one request. The server will re-chunk the # stream into smaller chunks. But the client can transfer more in # one requests, resulting in faster uploads. # # You might need to adjust this value depending on your setup. A # higher value usually means faster uploads. chunk-size = "100M" # Number of milliseconds the client should wait before doing a new # upload attempt after something failed. The length of the array # denotes the number of retries. retry-delays = [0, 3000, 6000, 12000, 24000, 48000] # The login page can display a welcome message that is readable by # everyone. The text is processed as markdown. welcome-message = "" } share { # When storing binary data use chunks of this size. chunk-size = "512K" # Maximum size of a share. max-size = "1.5G" # Maximum validity for uploads max-validity =31 days } signup { mode = "closed" invite-time = "3 days" invite-password = "generate-invite" } } } persistence: sharry-config: enabled: "false" service: main: annotations: prometheus.io/probe: "true" prometheus.io/protocol: http ingress: main: enabled: true ingressClassName: "nginx" annotations: nginx.ingress.kubernetes.io/proxy-body-size: "0" # traefik.ingress.kubernetes.io/router.entrypoints: "websecure" # traefik.ingress.kubernetes.io/router.middlewares: networking-buffering-large@kubernetescrd hosts: - host: "sharry.${SECRET_CLUSTER_DOMAIN}" paths: - path: / pathType: Prefix tls: - hosts: - "sharry.${SECRET_CLUSTER_DOMAIN}" secretName: "${SECRET_CLUSTER_CERTIFICATE_DEFAULT}"