mirror of
				https://github.com/zoriya/Kyoo.git
				synced 2025-11-03 19:17:16 -05:00 
			
		
		
		
	chore: remove empty annotation field from being rendered (#716)
This commit is contained in:
		
						commit
						694dff0f97
					
				@ -17,12 +17,12 @@ spec:
 | 
				
			|||||||
      {{- include "kyoo.selectorLabels" (dict "context" . "name" .Values.autosync.name) | nindent 6 }}
 | 
					      {{- include "kyoo.selectorLabels" (dict "context" . "name" .Values.autosync.name) | nindent 6 }}
 | 
				
			||||||
  template:
 | 
					  template:
 | 
				
			||||||
    metadata:
 | 
					    metadata:
 | 
				
			||||||
 | 
					      {{- with (mergeOverwrite (deepCopy .Values.global.podAnnotations) .Values.autosync.podAnnotations) }}
 | 
				
			||||||
      annotations:
 | 
					      annotations:
 | 
				
			||||||
        {{- with (mergeOverwrite (deepCopy .Values.global.podAnnotations) .Values.autosync.podAnnotations) }}
 | 
					 | 
				
			||||||
        {{- range $key, $value := . }}
 | 
					        {{- range $key, $value := . }}
 | 
				
			||||||
        {{ $key }}: {{ $value | quote }}
 | 
					        {{ $key }}: {{ $value | quote }}
 | 
				
			||||||
        {{- end }}
 | 
					        {{- end }}
 | 
				
			||||||
        {{- end }}
 | 
					      {{- end }}
 | 
				
			||||||
      labels:
 | 
					      labels:
 | 
				
			||||||
        {{- include "kyoo.labels" (dict "context" . "component" .Values.autosync.name "name" .Values.autosync.name) | nindent 8 }}
 | 
					        {{- include "kyoo.labels" (dict "context" . "component" .Values.autosync.name "name" .Values.autosync.name) | nindent 8 }}
 | 
				
			||||||
        {{- with (mergeOverwrite (deepCopy .Values.global.podLabels) .Values.autosync.podLabels) }}
 | 
					        {{- with (mergeOverwrite (deepCopy .Values.global.podLabels) .Values.autosync.podLabels) }}
 | 
				
			||||||
 | 
				
			|||||||
@ -17,12 +17,12 @@ spec:
 | 
				
			|||||||
      {{- include "kyoo.selectorLabels" (dict "context" . "name" .Values.back.name) | nindent 6 }}
 | 
					      {{- include "kyoo.selectorLabels" (dict "context" . "name" .Values.back.name) | nindent 6 }}
 | 
				
			||||||
  template:
 | 
					  template:
 | 
				
			||||||
    metadata:
 | 
					    metadata:
 | 
				
			||||||
 | 
					      {{- with (mergeOverwrite (deepCopy .Values.global.podAnnotations) .Values.back.podAnnotations) }}
 | 
				
			||||||
      annotations:
 | 
					      annotations:
 | 
				
			||||||
        {{- with (mergeOverwrite (deepCopy .Values.global.podAnnotations) .Values.back.podAnnotations) }}
 | 
					 | 
				
			||||||
        {{- range $key, $value := . }}
 | 
					        {{- range $key, $value := . }}
 | 
				
			||||||
        {{ $key }}: {{ $value | quote }}
 | 
					        {{ $key }}: {{ $value | quote }}
 | 
				
			||||||
        {{- end }}
 | 
					        {{- end }}
 | 
				
			||||||
        {{- end }}
 | 
					      {{- end }}
 | 
				
			||||||
      labels:
 | 
					      labels:
 | 
				
			||||||
        {{- include "kyoo.labels" (dict "context" . "component" .Values.back.name "name" .Values.back.name) | nindent 8 }}
 | 
					        {{- include "kyoo.labels" (dict "context" . "component" .Values.back.name "name" .Values.back.name) | nindent 8 }}
 | 
				
			||||||
        {{- with (mergeOverwrite (deepCopy .Values.global.podLabels) .Values.back.podLabels) }}
 | 
					        {{- with (mergeOverwrite (deepCopy .Values.global.podLabels) .Values.back.podLabels) }}
 | 
				
			||||||
 | 
				
			|||||||
@ -17,12 +17,12 @@ spec:
 | 
				
			|||||||
      {{- include "kyoo.selectorLabels" (dict "context" . "name" .Values.front.name) | nindent 6 }}
 | 
					      {{- include "kyoo.selectorLabels" (dict "context" . "name" .Values.front.name) | nindent 6 }}
 | 
				
			||||||
  template:
 | 
					  template:
 | 
				
			||||||
    metadata:
 | 
					    metadata:
 | 
				
			||||||
 | 
					      {{- with (mergeOverwrite (deepCopy .Values.global.podAnnotations) .Values.front.podAnnotations) }}
 | 
				
			||||||
      annotations:
 | 
					      annotations:
 | 
				
			||||||
        {{- with (mergeOverwrite (deepCopy .Values.global.podAnnotations) .Values.front.podAnnotations) }}
 | 
					 | 
				
			||||||
        {{- range $key, $value := . }}
 | 
					        {{- range $key, $value := . }}
 | 
				
			||||||
        {{ $key }}: {{ $value | quote }}
 | 
					        {{ $key }}: {{ $value | quote }}
 | 
				
			||||||
        {{- end }}
 | 
					        {{- end }}
 | 
				
			||||||
        {{- end }}
 | 
					      {{- end }}
 | 
				
			||||||
      labels:
 | 
					      labels:
 | 
				
			||||||
        {{- include "kyoo.labels" (dict "context" . "component" .Values.front.name "name" .Values.front.name) | nindent 8 }}
 | 
					        {{- include "kyoo.labels" (dict "context" . "component" .Values.front.name "name" .Values.front.name) | nindent 8 }}
 | 
				
			||||||
        {{- with (mergeOverwrite (deepCopy .Values.global.podLabels) .Values.front.podLabels) }}
 | 
					        {{- with (mergeOverwrite (deepCopy .Values.global.podLabels) .Values.front.podLabels) }}
 | 
				
			||||||
 | 
				
			|||||||
@ -17,12 +17,12 @@ spec:
 | 
				
			|||||||
      {{- include "kyoo.selectorLabels" (dict "context" . "name" .Values.matcher.name) | nindent 6 }}
 | 
					      {{- include "kyoo.selectorLabels" (dict "context" . "name" .Values.matcher.name) | nindent 6 }}
 | 
				
			||||||
  template:
 | 
					  template:
 | 
				
			||||||
    metadata:
 | 
					    metadata:
 | 
				
			||||||
 | 
					      {{- with (mergeOverwrite (deepCopy .Values.global.podAnnotations) .Values.matcher.podAnnotations) }}
 | 
				
			||||||
      annotations:
 | 
					      annotations:
 | 
				
			||||||
        {{- with (mergeOverwrite (deepCopy .Values.global.podAnnotations) .Values.matcher.podAnnotations) }}
 | 
					 | 
				
			||||||
        {{- range $key, $value := . }}
 | 
					        {{- range $key, $value := . }}
 | 
				
			||||||
        {{ $key }}: {{ $value | quote }}
 | 
					        {{ $key }}: {{ $value | quote }}
 | 
				
			||||||
        {{- end }}
 | 
					        {{- end }}
 | 
				
			||||||
        {{- end }}
 | 
					      {{- end }}
 | 
				
			||||||
      labels:
 | 
					      labels:
 | 
				
			||||||
        {{- include "kyoo.labels" (dict "context" . "component" .Values.matcher.name "name" .Values.matcher.name) | nindent 8 }}
 | 
					        {{- include "kyoo.labels" (dict "context" . "component" .Values.matcher.name "name" .Values.matcher.name) | nindent 8 }}
 | 
				
			||||||
        {{- with (mergeOverwrite (deepCopy .Values.global.podLabels) .Values.matcher.podLabels) }}
 | 
					        {{- with (mergeOverwrite (deepCopy .Values.global.podLabels) .Values.matcher.podLabels) }}
 | 
				
			||||||
 | 
				
			|||||||
@ -17,12 +17,12 @@ spec:
 | 
				
			|||||||
      {{- include "kyoo.selectorLabels" (dict "context" . "name" .Values.scanner.name) | nindent 6 }}
 | 
					      {{- include "kyoo.selectorLabels" (dict "context" . "name" .Values.scanner.name) | nindent 6 }}
 | 
				
			||||||
  template:
 | 
					  template:
 | 
				
			||||||
    metadata:
 | 
					    metadata:
 | 
				
			||||||
 | 
					      {{- with (mergeOverwrite (deepCopy .Values.global.podAnnotations) .Values.scanner.podAnnotations) }}
 | 
				
			||||||
      annotations:
 | 
					      annotations:
 | 
				
			||||||
        {{- with (mergeOverwrite (deepCopy .Values.global.podAnnotations) .Values.scanner.podAnnotations) }}
 | 
					 | 
				
			||||||
        {{- range $key, $value := . }}
 | 
					        {{- range $key, $value := . }}
 | 
				
			||||||
        {{ $key }}: {{ $value | quote }}
 | 
					        {{ $key }}: {{ $value | quote }}
 | 
				
			||||||
        {{- end }}
 | 
					        {{- end }}
 | 
				
			||||||
        {{- end }}
 | 
					      {{- end }}
 | 
				
			||||||
      labels:
 | 
					      labels:
 | 
				
			||||||
        {{- include "kyoo.labels" (dict "context" . "component" .Values.scanner.name "name" .Values.scanner.name) | nindent 8 }}
 | 
					        {{- include "kyoo.labels" (dict "context" . "component" .Values.scanner.name "name" .Values.scanner.name) | nindent 8 }}
 | 
				
			||||||
        {{- with (mergeOverwrite (deepCopy .Values.global.podLabels) .Values.scanner.podLabels) }}
 | 
					        {{- with (mergeOverwrite (deepCopy .Values.global.podLabels) .Values.scanner.podLabels) }}
 | 
				
			||||||
 | 
				
			|||||||
@ -17,12 +17,12 @@ spec:
 | 
				
			|||||||
      {{- include "kyoo.selectorLabels" (dict "context" . "name" .Values.transcoder.name) | nindent 6 }}
 | 
					      {{- include "kyoo.selectorLabels" (dict "context" . "name" .Values.transcoder.name) | nindent 6 }}
 | 
				
			||||||
  template:
 | 
					  template:
 | 
				
			||||||
    metadata:
 | 
					    metadata:
 | 
				
			||||||
 | 
					      {{- with (mergeOverwrite (deepCopy .Values.global.podAnnotations) .Values.transcoder.podAnnotations) }}
 | 
				
			||||||
      annotations:
 | 
					      annotations:
 | 
				
			||||||
        {{- with (mergeOverwrite (deepCopy .Values.global.podAnnotations) .Values.transcoder.podAnnotations) }}
 | 
					 | 
				
			||||||
        {{- range $key, $value := . }}
 | 
					        {{- range $key, $value := . }}
 | 
				
			||||||
        {{ $key }}: {{ $value | quote }}
 | 
					        {{ $key }}: {{ $value | quote }}
 | 
				
			||||||
        {{- end }}
 | 
					        {{- end }}
 | 
				
			||||||
        {{- end }}
 | 
					      {{- end }}
 | 
				
			||||||
      labels:
 | 
					      labels:
 | 
				
			||||||
        {{- include "kyoo.labels" (dict "context" . "component" .Values.transcoder.name "name" .Values.transcoder.name) | nindent 8 }}
 | 
					        {{- include "kyoo.labels" (dict "context" . "component" .Values.transcoder.name "name" .Values.transcoder.name) | nindent 8 }}
 | 
				
			||||||
        {{- with (mergeOverwrite (deepCopy .Values.global.podLabels) .Values.transcoder.podLabels) }}
 | 
					        {{- with (mergeOverwrite (deepCopy .Values.global.podLabels) .Values.transcoder.podLabels) }}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user