fix: correct indentation and formatting in deployment, ingress, issuer, and service YAML files
This commit is contained in:
parent
ef6b453246
commit
f8060fe203
@ -18,7 +18,7 @@ spec:
|
|||||||
app: nginix
|
app: nginix
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- image: docker.m.ixdev.cn/library/nginx:latest
|
- image: docker.m.ixdev.cn/library/nginx:latest
|
||||||
name: nginx
|
name: nginx
|
||||||
resources: {}
|
resources: {}
|
||||||
status: {}
|
status: {}
|
||||||
|
28
ingress.yaml
28
ingress.yaml
@ -3,20 +3,20 @@ kind: Ingress
|
|||||||
metadata:
|
metadata:
|
||||||
name: nginix-ingress
|
name: nginix-ingress
|
||||||
annotations:
|
annotations:
|
||||||
cert-manager.io/issuer: "letsencrypt-issuer"
|
cert-manager.io/issuer: letsencrypt-issuer
|
||||||
spec:
|
spec:
|
||||||
tls:
|
tls:
|
||||||
- hosts:
|
- hosts:
|
||||||
- nginix.kl.suyiiyii.top
|
- nginix.kl.suyiiyii.top
|
||||||
secretName: nginix-tls
|
secretName: nginix-tls
|
||||||
rules:
|
rules:
|
||||||
- host: nginix.kl.suyiiyii.top
|
- host: nginix.kl.suyiiyii.top
|
||||||
http:
|
http:
|
||||||
paths:
|
paths:
|
||||||
- path: /
|
- path: /
|
||||||
pathType: Prefix
|
pathType: Prefix
|
||||||
backend:
|
backend:
|
||||||
service:
|
service:
|
||||||
name: nginix-service
|
name: nginix-service
|
||||||
port:
|
port:
|
||||||
number: 80
|
number: 80
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
apiVersion: cert-manager.io/v1
|
apiVersion: cert-manager.io/v1
|
||||||
kind: Issuer
|
kind: Issuer
|
||||||
metadata:
|
metadata:
|
||||||
@ -11,6 +10,6 @@ spec:
|
|||||||
privateKeySecretRef:
|
privateKeySecretRef:
|
||||||
name: letsencrypt-issuer-key
|
name: letsencrypt-issuer-key
|
||||||
solvers:
|
solvers:
|
||||||
- http01:
|
- http01:
|
||||||
ingress:
|
ingress:
|
||||||
class: nginx
|
class: nginx
|
||||||
|
Loading…
x
Reference in New Issue
Block a user