We would like to add a -canary suffix to our canary deployment name, using this helm template as an example...
apiVersion: apps/v1
kind: {{ default "Deployment" .Values.deployment.kind }}
metadata:
{{- if .Values.deployment.canary.enabled }}
name: {{ include "microservice.fullname" . }}-canary
{{- else }}
name: {{ include "microservice.fullname" . }}
{{- end }}
What we are wanting/trying to achieve is
canary deployment named my-app-canary
primary deployment (created by flagger) name my-app-primary
What flagger actually creates is a deployment my-app-canary-primary
Would you be open to adding an option to the canary CRD allowing us to define the primary's deployment name? in which case we would set it to {{ include "microservice.fullname" . }} resulting in flagger creating my-app-primary
Hello,
We would like to add a
-canary
suffix to our canary deployment name, using this helm template as an example...What we are wanting/trying to achieve is
my-app-canary
my-app-primary
What flagger actually creates is a deployment
my-app-canary-primary
Would you be open to adding an option to the canary CRD allowing us to define the primary's deployment name? in which case we would set it to
{{ include "microservice.fullname" . }}
resulting in flagger creatingmy-app-primary
Thanks