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:
parent
7b17b8ad63
commit
7c7333690d
@ -35,27 +35,29 @@
|
|||||||
_template:
|
_template:
|
||||||
name: "{{ item.name }}"
|
name: "{{ item.name }}"
|
||||||
namespace: "{{ item.namespace }}"
|
namespace: "{{ item.namespace }}"
|
||||||
|
annotations: "{{ item.annotations | default('{}') | indent(width=4, first=True) }}"
|
||||||
labels: "{{ item.labels | default('{}') | indent(width=4, first=True) }}"
|
labels: "{{ item.labels | default('{}') | indent(width=4, first=True) }}"
|
||||||
data: "{{ item.data }}"
|
data: "{{ item.data }}"
|
||||||
loop:
|
loop:
|
||||||
- name: argocd-tls-certs-cm
|
- name: argocd-tls-certs-cm
|
||||||
namespace: argo-cd
|
namespace: argo-cd
|
||||||
kind: configmap
|
kind: configmap
|
||||||
labels: |
|
annotations: |
|
||||||
app.kubernetes.io/managed-by: Helm
|
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-name: argo-cd
|
||||||
meta.helm.sh/release-namespace: argo-cd
|
meta.helm.sh/release-namespace: argo-cd
|
||||||
|
labels: |
|
||||||
|
app.kubernetes.io/name: argocd-cm
|
||||||
|
app.kubernetes.io/part-of: argocd
|
||||||
data:
|
data:
|
||||||
- key: git.{{ vapp['metacluster.fqdn'] }}
|
- key: git.{{ vapp['metacluster.fqdn'] }}
|
||||||
value: "{{ stepca_cm_certs.resources[0].data['root_ca.crt'] }}"
|
value: "{{ stepca_cm_certs.resources[0].data['root_ca.crt'] }}"
|
||||||
- name: step-certificates-certs
|
- name: step-certificates-certs
|
||||||
namespace: kube-system
|
namespace: kube-system
|
||||||
kind: secret
|
kind: secret
|
||||||
data:
|
data:
|
||||||
- key: root_ca.crt
|
- key: root_ca.crt
|
||||||
value: "{{ stepca_cm_certs.resources[0].data['root_ca.crt'] | b64encode }}"
|
value: "{{ stepca_cm_certs.resources[0].data['root_ca.crt'] | b64encode }}"
|
||||||
loop_control:
|
loop_control:
|
||||||
label: "{{ item.kind + '/' + item.name + ' (' + item.namespace + ')' }}"
|
label: "{{ item.kind + '/' + item.name + ' (' + item.namespace + ')' }}"
|
||||||
|
|
||||||
|
@ -3,6 +3,8 @@ kind: ConfigMap
|
|||||||
metadata:
|
metadata:
|
||||||
name: {{ _template.name }}
|
name: {{ _template.name }}
|
||||||
namespace: {{ _template.namespace }}
|
namespace: {{ _template.namespace }}
|
||||||
|
annotations:
|
||||||
|
{{ _template.annotations }}
|
||||||
labels:
|
labels:
|
||||||
{{ _template.labels }}
|
{{ _template.labels }}
|
||||||
data:
|
data:
|
||||||
|
Loading…
Reference in New Issue
Block a user