init flux
This commit is contained in:
		
							
								
								
									
										0
									
								
								clusters/my-cluster/flux-system/gotk-sync.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								clusters/my-cluster/flux-system/gotk-sync.yaml
									
									
									
									
									
										Normal file
									
								
							
							
								
								
									
										25
									
								
								clusters/my-cluster/flux-system/kustomization.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								clusters/my-cluster/flux-system/kustomization.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,25 @@
 | 
			
		||||
---
 | 
			
		||||
apiVersion: kustomize.config.k8s.io/v1beta1
 | 
			
		||||
kind: Kustomization
 | 
			
		||||
resources:
 | 
			
		||||
  - gotk-components.yaml
 | 
			
		||||
  - gotk-sync.yaml
 | 
			
		||||
patches:
 | 
			
		||||
  - patch: |
 | 
			
		||||
      apiVersion: apps/v1
 | 
			
		||||
      kind: Deployment
 | 
			
		||||
      metadata:
 | 
			
		||||
        name: all
 | 
			
		||||
      spec:
 | 
			
		||||
        template:
 | 
			
		||||
          spec:
 | 
			
		||||
            containers:
 | 
			
		||||
              - name: manager
 | 
			
		||||
                env:
 | 
			
		||||
                  - name: "HTTPS_PROXY"
 | 
			
		||||
                    value: "http://proxy-lb.lab.kill0.net:3128"
 | 
			
		||||
                  - name: "NO_PROXY"
 | 
			
		||||
                    value: ".cluster.local.,.cluster.local,.svc,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16"
 | 
			
		||||
    target:
 | 
			
		||||
      kind: Deployment
 | 
			
		||||
      labelSelector: app.kubernetes.io/part-of=flux
 | 
			
		||||
		Reference in New Issue
	
	Block a user