Skip to content

Commit

Permalink
chore: add labels
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanmcshane committed Jul 17, 2024
1 parent 8db974c commit 0be1ca4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions applications/web/templates/deployment-analysis-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ kind: AnalysisTemplate
apiVersion: argoproj.io/v1alpha1
metadata:
name: {{ include "docker-template.fullname" . }}-bluegreen
labels:
{{- include "docker-template.labels" . | nindent 4 }}
{{- if .Values.labels }}
{{- toYaml .Values.labels | nindent 4 }}
{{- end }}
spec:
metrics:
- name: {{ include "docker-template.fullname" . }}-bluegreen
Expand Down
6 changes: 6 additions & 0 deletions applications/web/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ spec:
labels:
role: preview
prePromotionAnalysis:
analysisRunMetadata:
labels:
{{- include "docker-template.labels" . | nindent 12 }}
{{- if .Values.labels }}
{{- toYaml .Values.labels | nindent 12 }}
{{- end }}
templates:
- templateName: {{ include "docker-template.fullname" . }}-bluegreen
{{- end }}
Expand Down

0 comments on commit 0be1ca4

Please sign in to comment.