Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Addon] Update to Flux2 #722

Merged
merged 3 commits into from
Jun 17, 2024
Merged

[Addon] Update to Flux2 #722

merged 3 commits into from
Jun 17, 2024

Conversation

kichristensen
Copy link
Contributor

Description of your changes

Updates the FluxCD addon to Flux2.

Fixes #705

How has this code been tested?

The addon has been tested in my local Kubevela instance.

Checklist

I have:

  • Title of the PR starts with type (e.g. [Addon] , [example] or [Doc]).
  • Updated/Added any relevant documentation and examples.
  • New addon should be put in experimental.
  • Update addon should modify the version in metadata.yaml to generate a new version.

Signed-off-by: Kim Christensen <kimworking@gmail.com>
Signed-off-by: Kim Christensen <kimworking@gmail.com>
Signed-off-by: Kim Christensen <kimworking@gmail.com>
@shlevy
Copy link

shlevy commented Nov 12, 2023

Anything remaining to do to get this merged?

metadata: {
name: context.name
}
if parameter.repoType == "git" {
kind: "GitRepository"
apiVersion: "source.toolkit.fluxcd.io/v1"
kind: "GitRepository"
spec: {
url: parameter.url
if parameter.git.branch != _|_ {
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
if parameter.git.branch != _|_ {
if parameter.git != _|_ {
ref: parameter.git
}

@FogDong
Copy link
Member

FogDong commented Nov 21, 2023

Please resolve the conflicts.

@Gideon-Felt
Copy link

@kichristensen Has progress on this stalled?

@andrea-berling
Copy link
Contributor

@FogDong can you check the MR I opened with the conflicts resolved? #756
@Gideon-Felt please upvote the MR I opened, the more interest on it the higher the chance this gets merged and Flux gets upgraded (I hope)

@FogDong FogDong merged commit 5a66d19 into kubevela:master Jun 17, 2024
1 check passed
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.

Use of flux v2
5 participants