diff --git a/apps/templates/sogo-helm.yaml b/apps/templates/sogo-helm.yaml new file mode 100644 index 0000000..b0c6668 --- /dev/null +++ b/apps/templates/sogo-helm.yaml @@ -0,0 +1,61 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: sogo + namespace: argocd + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: + syncPolicy: + syncOptions: + - CreateNamespace=true + automated: + prune: true + selfHeal: true + project: default + sources: + - chart: sogo + repoURL: https://helm.snry.xyz/docker-sogo/ + targetRevision: v0.3.3 + helm: + values: | + sogo: + host: post.hensen.io + ingress: + enabled: true + className: nginx + annotations: + kubernetes.io/tls-acme: "true" + cert-manager.io/cluster-issuer: prod-cluster-issuer + nginx.ingress.kubernetes.io/server-snippet: |- + ## requirement to create new calendars in Thunderbird ## + proxy_http_version 1.1; + proxy_hide_header X-Powered-By; + + location = / { + rewrite ^(.*)$ /SOGo; + allow all; + } + + tls: + - secretName: sogo-tls + hosts: + - post.hensen.io + labels: {} + path: / + pathType: Prefix + memcached: + ## Only enable this if you don't have an external database + enabled: false + + existingSecrets: + - sogo-config + - repoURL: https://github.com/rubenhensen/k8scd.git + targetRevision: HEAD + path: sogo + directory: + include: "*.yaml" + exclude: "sogo-helm.yaml" + destination: + server: https://kubernetes.default.svc + namespace: sogo