fix: correct spelling of 'nginix' to 'nginx' in deployment, ingress, and service YAML files
This commit is contained in:
		
							parent
							
								
									41b0dd5753
								
							
						
					
					
						commit
						d42481d1a8
					
				@ -3,19 +3,19 @@ kind: Deployment
 | 
				
			|||||||
metadata:
 | 
					metadata:
 | 
				
			||||||
  creationTimestamp: null
 | 
					  creationTimestamp: null
 | 
				
			||||||
  labels:
 | 
					  labels:
 | 
				
			||||||
    app: nginix
 | 
					    app: nginx
 | 
				
			||||||
  name: nginix
 | 
					  name: nginx
 | 
				
			||||||
spec:
 | 
					spec:
 | 
				
			||||||
  replicas: 1
 | 
					  replicas: 1
 | 
				
			||||||
  selector:
 | 
					  selector:
 | 
				
			||||||
    matchLabels:
 | 
					    matchLabels:
 | 
				
			||||||
      app: nginix
 | 
					      app: nginx
 | 
				
			||||||
  strategy: {}
 | 
					  strategy: {}
 | 
				
			||||||
  template:
 | 
					  template:
 | 
				
			||||||
    metadata:
 | 
					    metadata:
 | 
				
			||||||
      creationTimestamp: null
 | 
					      creationTimestamp: null
 | 
				
			||||||
      labels:
 | 
					      labels:
 | 
				
			||||||
        app: nginix
 | 
					        app: nginx
 | 
				
			||||||
    spec:
 | 
					    spec:
 | 
				
			||||||
      containers:
 | 
					      containers:
 | 
				
			||||||
        - image: docker.m.ixdev.cn/library/nginx:latest
 | 
					        - image: docker.m.ixdev.cn/library/nginx:latest
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										10
									
								
								ingress.yaml
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								ingress.yaml
									
									
									
									
									
								
							@ -1,22 +1,22 @@
 | 
				
			|||||||
apiVersion: networking.k8s.io/v1
 | 
					apiVersion: networking.k8s.io/v1
 | 
				
			||||||
kind: Ingress
 | 
					kind: Ingress
 | 
				
			||||||
metadata:
 | 
					metadata:
 | 
				
			||||||
  name: nginix-ingress
 | 
					  name: nginx-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
 | 
					        - nginx.kl.suyiiyii.top
 | 
				
			||||||
      secretName: nginix-tls
 | 
					      secretName: nginx-tls
 | 
				
			||||||
  rules:
 | 
					  rules:
 | 
				
			||||||
    - host: nginix.kl.suyiiyii.top
 | 
					    - host: nginx.kl.suyiiyii.top
 | 
				
			||||||
      http:
 | 
					      http:
 | 
				
			||||||
        paths:
 | 
					        paths:
 | 
				
			||||||
          - path: /
 | 
					          - path: /
 | 
				
			||||||
            pathType: Prefix
 | 
					            pathType: Prefix
 | 
				
			||||||
            backend:
 | 
					            backend:
 | 
				
			||||||
              service:
 | 
					              service:
 | 
				
			||||||
                name: nginix-service
 | 
					                name: nginx-service
 | 
				
			||||||
                port:
 | 
					                port:
 | 
				
			||||||
                  number: 80
 | 
					                  number: 80
 | 
				
			||||||
 | 
				
			|||||||
@ -1,10 +1,10 @@
 | 
				
			|||||||
apiVersion: v1
 | 
					apiVersion: v1
 | 
				
			||||||
kind: Service
 | 
					kind: Service
 | 
				
			||||||
metadata:
 | 
					metadata:
 | 
				
			||||||
  name: nginix-service
 | 
					  name: nginx-service
 | 
				
			||||||
spec:
 | 
					spec:
 | 
				
			||||||
  selector:
 | 
					  selector:
 | 
				
			||||||
    app: nginix
 | 
					    app: nginx
 | 
				
			||||||
  ports:
 | 
					  ports:
 | 
				
			||||||
    - protocol: TCP
 | 
					    - protocol: TCP
 | 
				
			||||||
      port: 80
 | 
					      port: 80
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user