diff --git a/artifacts/flagger/crd.yaml b/artifacts/flagger/crd.yaml index 1eebd4be..6d25ab39 100644 --- a/artifacts/flagger/crd.yaml +++ b/artifacts/flagger/crd.yaml @@ -542,6 +542,18 @@ spec: type: object additionalProperties: type: string + traefikService: + description: Metadata to add to the TraefikService + type: object + properties: + labels: + type: object + additionalProperties: + type: string + annotations: + type: object + additionalProperties: + type: string skipAnalysis: description: Skip analysis and promote canary type: boolean diff --git a/charts/flagger/crds/crd.yaml b/charts/flagger/crds/crd.yaml index 1eebd4be..6d25ab39 100644 --- a/charts/flagger/crds/crd.yaml +++ b/charts/flagger/crds/crd.yaml @@ -542,6 +542,18 @@ spec: type: object additionalProperties: type: string + traefikService: + description: Metadata to add to the TraefikService + type: object + properties: + labels: + type: object + additionalProperties: + type: string + annotations: + type: object + additionalProperties: + type: string skipAnalysis: description: Skip analysis and promote canary type: boolean diff --git a/charts/flagger/templates/rbac.yaml b/charts/flagger/templates/rbac.yaml index 506c1783..16a9151f 100644 --- a/charts/flagger/templates/rbac.yaml +++ b/charts/flagger/templates/rbac.yaml @@ -172,6 +172,18 @@ rules: - update - patch - delete + - apiGroups: + - traefik.containo.us + resources: + - traefikservices + verbs: + - get + - list + - watch + - create + - update + - patch + - delete - nonResourceURLs: - /version verbs: diff --git a/kustomize/base/flagger/crd.yaml b/kustomize/base/flagger/crd.yaml index 1eebd4be..6d25ab39 100644 --- a/kustomize/base/flagger/crd.yaml +++ b/kustomize/base/flagger/crd.yaml @@ -542,6 +542,18 @@ spec: type: object additionalProperties: type: string + traefikService: + description: Metadata to add to the TraefikService + type: object + properties: + labels: + type: object + additionalProperties: + type: string + annotations: + type: object + additionalProperties: + type: string skipAnalysis: description: Skip analysis and promote canary type: boolean