Fix linting warning;Add annotations
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			This commit is contained in:
		| @@ -35,27 +35,29 @@ | ||||
|     _template: | ||||
|       name: "{{ item.name }}" | ||||
|       namespace: "{{ item.namespace }}" | ||||
|       annotations: "{{ item.annotations | default('{}') | indent(width=4, first=True) }}" | ||||
|       labels: "{{ item.labels | default('{}') | indent(width=4, first=True) }}" | ||||
|       data: "{{ item.data }}" | ||||
|   loop: | ||||
|     - name: argocd-tls-certs-cm | ||||
|       namespace: argo-cd | ||||
|       kind: configmap | ||||
|       labels: | | ||||
|       annotations: | | ||||
|         app.kubernetes.io/managed-by: Helm | ||||
|         app.kubernetes.io/name: argocd-cm | ||||
|         app.kubernetes.io/part-of: argocd | ||||
|         meta.helm.sh/release-name: argo-cd | ||||
|         meta.helm.sh/release-namespace: argo-cd | ||||
|       labels: | | ||||
|         app.kubernetes.io/name: argocd-cm | ||||
|         app.kubernetes.io/part-of: argocd | ||||
|       data: | ||||
|       - key: git.{{ vapp['metacluster.fqdn'] }} | ||||
|         value: "{{ stepca_cm_certs.resources[0].data['root_ca.crt'] }}" | ||||
|         - key: git.{{ vapp['metacluster.fqdn'] }} | ||||
|           value: "{{ stepca_cm_certs.resources[0].data['root_ca.crt'] }}" | ||||
|     - name: step-certificates-certs | ||||
|       namespace: kube-system | ||||
|       kind: secret | ||||
|       data: | ||||
|       - key: root_ca.crt | ||||
|         value: "{{ stepca_cm_certs.resources[0].data['root_ca.crt'] | b64encode }}" | ||||
|         - key: root_ca.crt | ||||
|           value: "{{ stepca_cm_certs.resources[0].data['root_ca.crt'] | b64encode }}" | ||||
|   loop_control: | ||||
|     label: "{{ item.kind + '/' + item.name + ' (' + item.namespace + ')' }}" | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user