From 3142ff3f665cde2a8bed4eaa1b9343ad8f9aaa95 Mon Sep 17 00:00:00 2001 From: Tom Neuber Date: Thu, 13 Mar 2025 18:47:51 +0100 Subject: [PATCH] chore(k8s): adjust files for yamllint rules --- k8s/deployment.yaml | 12 ++++++------ k8s/ingress.yaml | 6 +++--- k8s/persistentvolumeclaim.yaml | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/k8s/deployment.yaml b/k8s/deployment.yaml index 9c756b4..3af25ac 100644 --- a/k8s/deployment.yaml +++ b/k8s/deployment.yaml @@ -30,12 +30,12 @@ spec: value: "1000" name: forgejo ports: - - containerPort: 3000 - name: web - protocol: TCP - - containerPort: 22 - name: ssh - protocol: TCP + - containerPort: 3000 + name: web + protocol: TCP + - containerPort: 22 + name: ssh + protocol: TCP volumeMounts: - mountPath: "/data" name: forgejo-pv-storage diff --git a/k8s/ingress.yaml b/k8s/ingress.yaml index cdddc40..0e0dc53 100644 --- a/k8s/ingress.yaml +++ b/k8s/ingress.yaml @@ -22,6 +22,6 @@ spec: path: / pathType: Prefix tls: - - hosts: - - git.svc.neuber.io - secretName: forgejo-tls-key + - hosts: + - git.svc.neuber.io + secretName: forgejo-tls-key diff --git a/k8s/persistentvolumeclaim.yaml b/k8s/persistentvolumeclaim.yaml index 91a0549..15ee3a3 100644 --- a/k8s/persistentvolumeclaim.yaml +++ b/k8s/persistentvolumeclaim.yaml @@ -9,7 +9,7 @@ metadata: namespace: forgejo spec: accessModes: - - ReadWriteOnce + - ReadWriteOnce volumeMode: Filesystem volumeName: pvc-64e344d5-9dbe-4de4-9e6f-a1bad1da300e resources: