Split up k8s.yaml
This commit is contained in:
		@@ -83,39 +83,3 @@ spec:
 | 
			
		||||
  ports:
 | 
			
		||||
    - port: 5000
 | 
			
		||||
      targetPort: 5000
 | 
			
		||||
 | 
			
		||||
---
 | 
			
		||||
 | 
			
		||||
apiVersion: networking.k8s.io/v1
 | 
			
		||||
kind: Ingress
 | 
			
		||||
metadata:
 | 
			
		||||
  name: astrojs
 | 
			
		||||
  namespace: ingress-https
 | 
			
		||||
spec:
 | 
			
		||||
  ingressClassName: nginx
 | 
			
		||||
  tls:
 | 
			
		||||
  - hosts:
 | 
			
		||||
    - astrojs.k8s.astropenguin.net
 | 
			
		||||
    secretName: any-k8s-astro-prod
 | 
			
		||||
  rules:
 | 
			
		||||
  - host: astrojs.k8s.astropenguin.net
 | 
			
		||||
    http:
 | 
			
		||||
      paths:
 | 
			
		||||
      - path: /
 | 
			
		||||
        pathType: Prefix
 | 
			
		||||
        backend:
 | 
			
		||||
          service:
 | 
			
		||||
            name: f-astrojs-default
 | 
			
		||||
            port:
 | 
			
		||||
              number: 5000
 | 
			
		||||
 | 
			
		||||
---
 | 
			
		||||
 | 
			
		||||
kind: Service
 | 
			
		||||
apiVersion: v1
 | 
			
		||||
metadata:
 | 
			
		||||
  name: f-astrojs-default
 | 
			
		||||
  namespace: ingress-https
 | 
			
		||||
spec:
 | 
			
		||||
  type: ExternalName
 | 
			
		||||
  externalName: astrojs.default.svc.cluster.local
 | 
			
		||||
							
								
								
									
										33
									
								
								k8s/ingress.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								k8s/ingress.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,33 @@
 | 
			
		||||
apiVersion: networking.k8s.io/v1
 | 
			
		||||
kind: Ingress
 | 
			
		||||
metadata:
 | 
			
		||||
  name: default-astrojs
 | 
			
		||||
  namespace: ingress-https
 | 
			
		||||
spec:
 | 
			
		||||
  ingressClassName: nginx
 | 
			
		||||
  tls:
 | 
			
		||||
  - hosts:
 | 
			
		||||
    - astrojs.k8s.astropenguin.net
 | 
			
		||||
    secretName: any-k8s-astro-prod
 | 
			
		||||
  rules:
 | 
			
		||||
  - host: astrojs.k8s.astropenguin.net
 | 
			
		||||
    http:
 | 
			
		||||
      paths:
 | 
			
		||||
      - path: /
 | 
			
		||||
        pathType: Prefix
 | 
			
		||||
        backend:
 | 
			
		||||
          service:
 | 
			
		||||
            name: default-astrojs
 | 
			
		||||
            port:
 | 
			
		||||
              number: 5000
 | 
			
		||||
 | 
			
		||||
---
 | 
			
		||||
 | 
			
		||||
kind: Service
 | 
			
		||||
apiVersion: v1
 | 
			
		||||
metadata:
 | 
			
		||||
  name: default-astrojs
 | 
			
		||||
  namespace: ingress-https
 | 
			
		||||
spec:
 | 
			
		||||
  type: ExternalName
 | 
			
		||||
  externalName: astrojs.default.svc.cluster.local
 | 
			
		||||
		Reference in New Issue
	
	Block a user