-
Notifications
You must be signed in to change notification settings - Fork 145
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
Conversation
Signed-off-by: Kim Christensen <kimworking@gmail.com>
Signed-off-by: Kim Christensen <kimworking@gmail.com>
08148ce
to
0ba733b
Compare
Signed-off-by: Kim Christensen <kimworking@gmail.com>
d644500
to
c9b40e7
Compare
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 != _|_ { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if parameter.git.branch != _|_ { | |
if parameter.git != _|_ { | |
ref: parameter.git | |
} |
Please resolve the conflicts. |
@kichristensen Has progress on this stalled? |
@FogDong can you check the MR I opened with the conflicts resolved? #756 |
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:
[Addon]
,[example]
or[Doc]
).version
inmetadata.yaml
to generate a new version.