Allow not having web.budget value
This commit is contained in:
		
							parent
							
								
									bfa28084cd
								
							
						
					
					
						commit
						d7626d5ecd
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -1,3 +1,4 @@
 | 
			
		|||
{{- if .Values.web.budget -}}
 | 
			
		||||
{{- if .Values.web.budget.minAvailable -}}
 | 
			
		||||
apiVersion: policy/v1beta1
 | 
			
		||||
kind: PodDisruptionBudget
 | 
			
		||||
| 
						 | 
				
			
			@ -12,3 +13,4 @@ spec:
 | 
			
		|||
      {{- include "glitchtip.selectorLabels" . | nindent 6 }}
 | 
			
		||||
      role: web
 | 
			
		||||
{{- end -}}
 | 
			
		||||
{{- end -}}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue