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:
 | 
			
		||||
  creationTimestamp: null
 | 
			
		||||
  labels:
 | 
			
		||||
    app: nginix
 | 
			
		||||
  name: nginix
 | 
			
		||||
    app: nginx
 | 
			
		||||
  name: nginx
 | 
			
		||||
spec:
 | 
			
		||||
  replicas: 1
 | 
			
		||||
  selector:
 | 
			
		||||
    matchLabels:
 | 
			
		||||
      app: nginix
 | 
			
		||||
      app: nginx
 | 
			
		||||
  strategy: {}
 | 
			
		||||
  template:
 | 
			
		||||
    metadata:
 | 
			
		||||
      creationTimestamp: null
 | 
			
		||||
      labels:
 | 
			
		||||
        app: nginix
 | 
			
		||||
        app: nginx
 | 
			
		||||
    spec:
 | 
			
		||||
      containers:
 | 
			
		||||
        - image: docker.m.ixdev.cn/library/nginx:latest
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										10
									
								
								ingress.yaml
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								ingress.yaml
									
									
									
									
									
								
							@ -1,22 +1,22 @@
 | 
			
		||||
apiVersion: networking.k8s.io/v1
 | 
			
		||||
kind: Ingress
 | 
			
		||||
metadata:
 | 
			
		||||
  name: nginix-ingress
 | 
			
		||||
  name: nginx-ingress
 | 
			
		||||
  annotations:
 | 
			
		||||
    cert-manager.io/issuer: letsencrypt-issuer
 | 
			
		||||
spec:
 | 
			
		||||
  tls:
 | 
			
		||||
    - hosts:
 | 
			
		||||
        - nginix.kl.suyiiyii.top
 | 
			
		||||
      secretName: nginix-tls
 | 
			
		||||
        - nginx.kl.suyiiyii.top
 | 
			
		||||
      secretName: nginx-tls
 | 
			
		||||
  rules:
 | 
			
		||||
    - host: nginix.kl.suyiiyii.top
 | 
			
		||||
    - host: nginx.kl.suyiiyii.top
 | 
			
		||||
      http:
 | 
			
		||||
        paths:
 | 
			
		||||
          - path: /
 | 
			
		||||
            pathType: Prefix
 | 
			
		||||
            backend:
 | 
			
		||||
              service:
 | 
			
		||||
                name: nginix-service
 | 
			
		||||
                name: nginx-service
 | 
			
		||||
                port:
 | 
			
		||||
                  number: 80
 | 
			
		||||
 | 
			
		||||
@ -1,10 +1,10 @@
 | 
			
		||||
apiVersion: v1
 | 
			
		||||
kind: Service
 | 
			
		||||
metadata:
 | 
			
		||||
  name: nginix-service
 | 
			
		||||
  name: nginx-service
 | 
			
		||||
spec:
 | 
			
		||||
  selector:
 | 
			
		||||
    app: nginix
 | 
			
		||||
    app: nginx
 | 
			
		||||
  ports:
 | 
			
		||||
    - protocol: TCP
 | 
			
		||||
      port: 80
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user