fix: correct indentation and formatting in deployment, ingress, issuer, and service YAML files

This commit is contained in:
suyiiyii 2024-11-16 00:27:34 +08:00
parent ef6b453246
commit f8060fe203
Signed by: suyiiyii
GPG Key ID: 044704CB29B8AD85
4 changed files with 21 additions and 22 deletions

View File

@ -18,7 +18,7 @@ spec:
app: nginix
spec:
containers:
- image: docker.m.ixdev.cn/library/nginx:latest
name: nginx
resources: {}
- image: docker.m.ixdev.cn/library/nginx:latest
name: nginx
resources: {}
status: {}

View File

@ -3,20 +3,20 @@ kind: Ingress
metadata:
name: nginix-ingress
annotations:
cert-manager.io/issuer: "letsencrypt-issuer"
cert-manager.io/issuer: letsencrypt-issuer
spec:
tls:
- hosts:
- nginix.kl.suyiiyii.top
secretName: nginix-tls
- hosts:
- nginix.kl.suyiiyii.top
secretName: nginix-tls
rules:
- host: nginix.kl.suyiiyii.top
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: nginix-service
port:
number: 80
- host: nginix.kl.suyiiyii.top
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: nginix-service
port:
number: 80

View File

@ -1,4 +1,3 @@
apiVersion: cert-manager.io/v1
kind: Issuer
metadata:
@ -11,6 +10,6 @@ spec:
privateKeySecretRef:
name: letsencrypt-issuer-key
solvers:
- http01:
ingress:
class: nginx
- http01:
ingress:
class: nginx