Skip to content

Commit

Permalink
pr comments
Browse files Browse the repository at this point in the history
  • Loading branch information
AlonGluz committed Sep 29, 2024
1 parent 8fc8756 commit 7a88b35
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 11 deletions.
6 changes: 3 additions & 3 deletions common/unified-chart/templates/high-priority/hp-rollout.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ spec:
strategy:
{{- if .Values.argoRollouts.progressiveDelivery.enabled }}
canary:
{{- with .Values.argoRollouts.progressiveDelivery }}
{{- with .Values.argoRollouts.progressiveDelivery }}
stableMetadata:
{{- toYaml .stableMetadata | nindent 8 }}
canaryMetadata:
{{- toYaml .canaryMetadata| nindent 8 }}
{{- end }}
{{- toYaml .canaryMetadata | nindent 8 }}
{{- end }}
canaryService: {{ include "hp.name" . }}-canary
stableService: {{ include "hp.name" . }}-stable
trafficRouting:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ metadata:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
type: {{ $values.hp.service.type }}
type: {{ $values.hp.service.type | default "ClusterIP" }}
ports:
{{- range $values.hp.service.ports }}
- port: {{ required ".Values.hp.service.ports[*].port number is required" .port }}
Expand Down
8 changes: 1 addition & 7 deletions common/unified-chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ argoRollouts:
labels:
role: active
progressiveDelivery:
enabled: true
enabled: false
stableMetadata:
labels:
role: stable
Expand All @@ -32,12 +32,6 @@ argoRollouts:
- pause: {}
- setWeight: 100
- pause: { duration: 60s }
- analysis:
templates:
- templateName: black-box
args:
- name: service-name
value: progressive-delivery-test

image:
repository:
Expand Down

0 comments on commit 7a88b35

Please sign in to comment.