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
 | 
			
		||||
    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: {}
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										28
									
								
								ingress.yaml
									
									
									
									
									
								
							
							
						
						
									
										28
									
								
								ingress.yaml
									
									
									
									
									
								
							@ -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
 | 
			
		||||
 | 
			
		||||
@ -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
 | 
			
		||||
 | 
			
		||||
@ -8,4 +8,4 @@ spec:
 | 
			
		||||
  ports:
 | 
			
		||||
    - protocol: TCP
 | 
			
		||||
      port: 80
 | 
			
		||||
      targetPort: 80
 | 
			
		||||
      targetPort: 80
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user