From c4fba6348a38bb26046899cb680876a3f0492bf8 Mon Sep 17 00:00:00 2001 From: Philip Haupt <“der.mad.mob@gmail.com”> Date: Thu, 5 Mar 2026 10:48:24 +0100 Subject: [PATCH] synapse-admin update --- synapse-admin/main.yaml | 23 ++++-- synapse-admin/src/kustomization.yaml | 2 +- synapse-admin/src/values.yaml | 117 ++++++++++++++++++++++----- 3 files changed, 114 insertions(+), 28 deletions(-) diff --git a/synapse-admin/main.yaml b/synapse-admin/main.yaml index d6edd29..a51872a 100644 --- a/synapse-admin/main.yaml +++ b/synapse-admin/main.yaml @@ -7,7 +7,7 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: synapse-admin app.kubernetes.io/version: 0.11.1 - helm.sh/chart: synapse-admin-0.1.3 + helm.sh/chart: synapse-admin-1.0.0 name: synapse-admin --- apiVersion: v1 @@ -18,7 +18,7 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: synapse-admin app.kubernetes.io/version: 0.11.1 - helm.sh/chart: synapse-admin-0.1.3 + helm.sh/chart: synapse-admin-1.0.0 name: synapse-admin spec: ports: @@ -39,7 +39,7 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: synapse-admin app.kubernetes.io/version: 0.11.1 - helm.sh/chart: synapse-admin-0.1.3 + helm.sh/chart: synapse-admin-1.0.0 name: synapse-admin spec: replicas: 1 @@ -54,16 +54,27 @@ spec: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: synapse-admin app.kubernetes.io/version: 0.11.1 - helm.sh/chart: synapse-admin-0.1.3 + helm.sh/chart: synapse-admin-1.0.0 spec: containers: - - image: docker.io/awesometechnologies/synapse-admin:0.11.1 + - image: docker.io/awesometechnologies/synapse-admin:0.11.2 imagePullPolicy: IfNotPresent + livenessProbe: + failureThreshold: 3 + httpGet: + path: / + port: http + periodSeconds: 10 name: synapse-admin ports: - containerPort: 80 name: http protocol: TCP + readinessProbe: + initialDelaySeconds: 15 + periodSeconds: 10 + tcpSocket: + port: 80 resources: limits: memory: 128Mi @@ -84,7 +95,7 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: synapse-admin app.kubernetes.io/version: 0.11.1 - helm.sh/chart: synapse-admin-0.1.3 + helm.sh/chart: synapse-admin-1.0.0 name: synapse-admin-test-connection spec: containers: diff --git a/synapse-admin/src/kustomization.yaml b/synapse-admin/src/kustomization.yaml index 6cd0a41..c927d6e 100644 --- a/synapse-admin/src/kustomization.yaml +++ b/synapse-admin/src/kustomization.yaml @@ -5,7 +5,7 @@ kind: Kustomization helmCharts: - name: synapse-admin repo: https://charts.schoenwald.aero - version: 0.1.3 + version: 1.0.0 releaseName: synapse-admin includeCRDs: true namespace: synapse-admin diff --git a/synapse-admin/src/values.yaml b/synapse-admin/src/values.yaml index 4a5a5d9..ec23326 100644 --- a/synapse-admin/src/values.yaml +++ b/synapse-admin/src/values.yaml @@ -2,19 +2,26 @@ # This is a YAML-formatted file. # Declare variables to be passed into your templates. -replicaCount: 1 +## @section Image parameters + +## @param image.registry Image registry +## @param image.repository Image repository +## @param image.pullPolicy Image pull policy +## @param image.tag [string] Image tag (defaults to chart appVersion if not set) image: registry: docker.io repository: awesometechnologies/synapse-admin pullPolicy: IfNotPresent # Overrides the image tag whose default is the chart appVersion. - tag: "" + tag: "0.11.2" -imagePullSecrets: [] -nameOverride: "" -fullnameOverride: "" +## @section ServiceAccount parameters +## @param serviceAccount.create Whether to create a ServiceAccount +## @param serviceAccount.automount Automatically mount the ServiceAccount token +## @param serviceAccount.annotations [object] Annotations to add to the ServiceAccount +## @param serviceAccount.name [string] Name of the ServiceAccount to use (autogenerated if empty) serviceAccount: # Specifies whether a service account should be created create: true @@ -26,24 +33,49 @@ serviceAccount: # If not set and create is true, a name is generated using the fullname template name: "" + +## @section Pod annotations & labels + +## @param podAnnotations [object] Annotations for the pod(s) podAnnotations: {} + +## @param podLabels [object] Additional labels for the pod(s) podLabels: {} + +## @section Pod security context + +## @param podSecurityContext [object, nullable] Pod-level security context podSecurityContext: - # fsGroup: 1000 +# fsGroup: 1000 +## @section Container security context + +## @param securityContext [object, nullable] Container-level security context securityContext: - # capabilities: - # drop: - # - ALL - # readOnlyRootFilesystem: true - # runAsNonRoot: true - # runAsUser: 1000 +# capabilities: +# drop: +# - ALL +# readOnlyRootFilesystem: true +# runAsNonRoot: true +# runAsUser: 1000 +## @section Service parameters + +## @param service.type Kubernetes service type +## @param service.port Service port service: type: ClusterIP port: 80 + +## @section Ingress parameters + +## @param ingress.enabled Enable ingress record creation +## @param ingress.className [string] Ingress class name +## @param ingress.annotations [object] Additional annotations for the Ingress resource +## @param ingress.hosts [array] Ingress host definitions (host + paths) +## @param ingress.tls [array] TLS configuration for ingress (secrets and hosts) ingress: enabled: false className: "" @@ -60,6 +92,22 @@ ingress: # hosts: # - chart-example.local +## @section Config parameters +## @param config.enabled Enable mounting a config.json ConfigMap +## @param config.existingConfigMap [string] Existing ConfigMap name with a config.json key +## @param config.mountPath [string] Path to mount config.json in the container +## @param config.json [object] JSON content for config.json (used when existingConfigMap is empty) +config: + enabled: false + existingConfigMap: "" + mountPath: /usr/share/nginx/html/config.json + json: {} + #json: + # homeserver: "https://matrix.example.com" + +## @section Resources & Probes + +## @param resources [object] Resource requests/limits for the container resources: limits: memory: 128Mi @@ -67,21 +115,48 @@ resources: cpu: 100m memory: 128Mi +## @param livenessProbe.enabled Enable liveness probe +## @param livenessProbe.config [object] Liveness probe configuration livenessProbe: - httpGet: - path: / - port: http - failureThreshold: 3 - periodSeconds: 10 + enabled: true + config: + httpGet: + path: / + port: http + failureThreshold: 3 + periodSeconds: 10 +## @param readinessProbe.enabled Enable readiness probe +## @param readinessProbe.config [object] Readiness probe configuration readinessProbe: - tcpSocket: - port: 80 - initialDelaySeconds: 15 - periodSeconds: 10 + enabled: true + config: + tcpSocket: + port: 80 + initialDelaySeconds: 15 + periodSeconds: 10 +## @section Scheduling + +## @param nodeSelector [object] Node labels for pod assignment nodeSelector: {} +## @param tolerations [array] Tolerations for pod assignment tolerations: [] +## @param affinity [object] Affinity rules for pod assignment affinity: {} +## @section Common parameters + +## @param replicaCount Number of pod replicas to deploy +replicaCount: 1 + +## @param imagePullSecrets [array] Secrets for pulling images from private registries +imagePullSecrets: [] + +## @param nameOverride [string] String to partially override fullname template (releases with the same name) +nameOverride: "" + +## @param fullnameOverride [string] String to fully override fullname template +fullnameOverride: "" +