cluster

Infrastructure files for Nordgedanken and Midnightthoughts.
git clone git://archive.git.mtrnord.blog/MTRNord/cluster.git
Log | Files | Refs | README

commit 36b68500e5dd147c4895ffb5b6eb6611a203c536
parent f4c8a146cd0b370a59c5054e22db8f92a6a54915
Author: MTRNord <mtrnord1@gmail.com>
Date:   Mon, 19 Feb 2024 11:24:27 +0100

Fix ports

Diffstat:
Mapps/base/xandikos/release.yaml | 11++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/apps/base/xandikos/release.yaml b/apps/base/xandikos/release.yaml @@ -43,12 +43,13 @@ spec: livenessProbe: httpGet: path: /health - port: 8080 + port: 8081 initialDelaySeconds: 30 periodSeconds: 3 timeoutSeconds: 90 ports: - containerPort: 8080 + - containerPort: 8081 volumeMounts: - name: xandikos-volume mountPath: /data @@ -81,6 +82,9 @@ spec: ports: - port: 8080 name: web + ports: + - port: 8081 + name: metrics selector: app: xandikos type: ClusterIP @@ -97,7 +101,7 @@ spec: matchLabels: app: xandikos endpoints: - - port: web + - port: metrics --- apiVersion: networking.k8s.io/v1 kind: Ingress @@ -105,9 +109,6 @@ metadata: name: xandikos namespace: xandikos annotations: - nginx.ingress.kubernetes.io/auth-type: basic - nginx.ingress.kubernetes.io/auth-secret: my-htpasswd - nginx.ingress.kubernetes.io/auth-realm: 'Authentication Required - mysite' cert-manager.io/cluster-issuer: letsencrypt-http spec: rules: