Fix service names

This commit is contained in:
Dave Willett 2023-04-03 13:40:17 -07:00
parent 8a521ebee5
commit d80e2d646e
2 changed files with 4 additions and 4 deletions

View File

@ -16,8 +16,8 @@ spec:
release: {{ .Release.Name }}
strategy:
canary:
canaryService: canary-rollout
stableService: stable-rollout
canaryService: {{ template "helm-guestbook.fullname" . }}-preview
stableService: {{ template "helm-guestbook.fullname" . }}
trafficRouting:
traefik:
weightedTraefikServiceName: traefik-service

View File

@ -5,7 +5,7 @@ metadata:
spec:
weighted:
services:
- name: stable-rollout # k8s service name that you need to create for stable application version
- name: {{ template "helm-guestbook.fullname" . }}
port: 80
- name: canary-rollout # k8s service name that you need to create for new application version
- name: {{ template "helm-guestbook.fullname" . }}-preview
port: 80