Skip to content

Prevent Flux from overriding Flagger managed objects#1049

Merged
stefanprodan merged 1 commit intomainfrom
prevent-flux-overrides
Nov 22, 2021
Merged

Prevent Flux from overriding Flagger managed objects#1049
stefanprodan merged 1 commit intomainfrom
prevent-flux-overrides

Conversation

@stefanprodan
Copy link
Member

@stefanprodan stefanprodan commented Nov 10, 2021

Annotate the routing objects managed by Flagger (Kubernetes services, virtual services, ingresses, etc) to prevent Flux from overriding them. This change requires Flux 0.22.0 or newer.

This allows Flux users to add Flagger Canaries to their repos without having to delete any existing Kubernetes Services. Users that deploy apps with HelmReleases they must remove the Kubernetes Services from their charts, because Flux, when used with Helm, is not capable of ignoring changes in-cluster.

@stefanprodan stefanprodan force-pushed the prevent-flux-overrides branch 3 times, most recently from 9a973f6 to 322285e Compare November 10, 2021 15:38
@codecov-commenter
Copy link

codecov-commenter commented Nov 10, 2021

Codecov Report

Merging #1049 (9a973f6) into main (9c7db58) will increase coverage by 0.00%.
The diff coverage is 100.00%.

❗ Current head 9a973f6 differs from pull request most recent head 45ecaa9. Consider uploading reports for the commit 45ecaa9 to get more accurate results
Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1049   +/-   ##
=======================================
  Coverage   57.15%   57.15%           
=======================================
  Files          76       76           
  Lines        6138     6139    +1     
=======================================
+ Hits         3508     3509    +1     
  Misses       2103     2103           
  Partials      527      527           
Impacted Files Coverage Δ
pkg/router/util.go 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9c7db58...45ecaa9. Read the comment docs.

@stefanprodan stefanprodan force-pushed the prevent-flux-overrides branch from 322285e to 45ecaa9 Compare November 10, 2021 16:19
@stefanprodan stefanprodan merged commit fcc07f0 into main Nov 22, 2021
@stefanprodan stefanprodan deleted the prevent-flux-overrides branch November 22, 2021 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants