Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Fix patchFile-based manifest generation #2604

Merged
merged 1 commit into from
Nov 12, 2019

Conversation

2opremio
Copy link
Contributor

@2opremio 2opremio commented Nov 12, 2019

The problem was introduced at #2565

Also, re-enable the manifest generation e2e test, which was disabled
because of the bug fixed here.

Fixes #2602

The problem was introduced at fluxcd#2565

Also, re-enable the manifest generation e2e test, which was disabled
because of the bug fixed here.
@2opremio 2opremio requested a review from squaremo November 12, 2019 15:11
@@ -121,7 +121,7 @@ func (cf *ConfigFile) RelativeConfigPath() (string, error) {
// necessary) according to the config file.
func (cf *ConfigFile) GenerateManifests(ctx context.Context, manifests Manifests) ([]byte, error) {
if cf.PatchUpdated != nil {
finalBytes, _, _, err := cf.getGeneratedAndPatchedManifests(ctx, manifests)
_, finalBytes, _, err := cf.getGeneratedAndPatchedManifests(ctx, manifests)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ouch

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shit happens! I didn't catch it during the review either

@2opremio 2opremio merged commit c7ccb73 into fluxcd:master Nov 12, 2019
@2opremio 2opremio deleted the fix-patchfile-application branch November 12, 2019 17:43
@2opremio 2opremio added this to the 1.16.0 milestone Nov 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fluxctctl list-workloads shows empty POLICY column
3 participants