diff --git a/deployments/helm/templates/deployment.yaml b/deployments/helm/templates/deployment.yaml index 0329f0c17e..85bdf2d236 100644 --- a/deployments/helm/templates/deployment.yaml +++ b/deployments/helm/templates/deployment.yaml @@ -17,10 +17,10 @@ spec: maxSurge: 1 template: metadata: - {{- if .Values.deployment.annotations }} annotations: + {{- if .Values.deployment.annotations }} {{ toYaml .Values.deployment.annotations | nindent 8 }} - {{- end}} + {{- end }} {{- if .Values.service.ports.monitoring.enabled }} prometheus.io/scrape: "true" prometheus.io/path: "/monitoring/metrics" diff --git a/deployments/helm/templates/p2p-service.yaml b/deployments/helm/templates/p2p-service.yaml index 5788922693..9cfffab6b1 100644 --- a/deployments/helm/templates/p2p-service.yaml +++ b/deployments/helm/templates/p2p-service.yaml @@ -8,7 +8,7 @@ metadata: {{- include "papyrus.labels" . | nindent 4 }} annotations: {{- if .Values.p2p.service.annotations }} - {{ toYaml .Values.p2p.service.annotations | nindent 8 }} + {{ toYaml .Values.p2p.service.annotations | nindent 4 }} {{- end}} spec: selector: