feat: Add uptermd chart

This commit is contained in:
2026-07-21 14:00:23 +02:00
parent 7369ad3c8a
commit b5c24dc26f
8 changed files with 163 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: uptermd
namespace: uptermd
labels:
app.kubernetes.io/name: uptermd
annotations:
cert-manager.io/cluster-issuer: ca-issuer
haproxy.org/backend-protocol: h1
haproxy.org/timeout-tunnel: "3600s"
haproxy.org/timeout-client: "3600s"
haproxy.org/timeout-server: "3600s"
spec:
ingressClassName: haproxy
rules:
- host: upterm.hel1.obx
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: uptermd
port:
number: 80
tls:
- hosts:
- upterm.hel1.obx
secretName: uptermd-tls
+37
View File
@@ -0,0 +1,37 @@
{{- if .Values.clusterConfig.argo.enabled }}
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: uptermd
namespace: argocd
spec:
destination:
namespace: uptermd
server: 'https://kubernetes.default.svc'
sources:
- repoURL: {{ .Values.clusterConfig.manifests }}
targetRevision: HEAD
path: helmfile.d
plugin:
name: helmfile-cmp
env:
- name: CLUSTER_NAME
value: {{ .Values.clusterConfig.cluster }}
- name: HELMFILE_ENVIRONMENT
value: default
- name: HELMFILE_FILE_PATH
value: uptermd.yaml.gotmpl
project: sys
syncPolicy:
managedNamespaceMetadata:
labels:
component: sys
syncOptions:
- CreateNamespace=true
- ApplyOutOfSyncOnly=true
- ServerSideApply=true
{{- if .Values.uptermd.autosync }}
automated:
prune: true
{{- end }}
{{- end }}