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

Support GitOps with an option to output as YAML #2192

Closed
braunsonm opened this issue Feb 28, 2024 · 4 comments
Closed

Support GitOps with an option to output as YAML #2192

braunsonm opened this issue Feb 28, 2024 · 4 comments
Labels
lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.

Comments

@braunsonm
Copy link

Right now in order to deploy a function you need to run func deploy on a machine that is configured with access to your Kubernetes cluster.

In a GitOps approach, func deploy would have a parameter to output the generated Knative Service CR as YAML for example func deploy --build false -o yaml > knative-service.yml. This would allow GitOps tools like ArgoCD and Flux to read this committed YAML document in the source repository.

@lkingland
Copy link
Member

Yes, exporting a .yaml is on our roadmap. If you don't want CI to have cluster access, you can use func build to update a container, and then define your service directly with service.yaml checked into source control

Copy link
Contributor

github-actions bot commented Sep 4, 2024

This issue is stale because it has been open for 90 days with no
activity. It will automatically close after 30 more days of
inactivity. Reopen the issue with /reopen. Mark the issue as
fresh by adding the comment /remove-lifecycle stale.

@github-actions github-actions bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Sep 4, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 4, 2024
@snavarro-factorial
Copy link

snavarro-factorial commented Oct 8, 2024

Just wanted to do a bump on this exporting function, since we manage our cluster with ArgoCD and being able to create a yaml from CLI would help.

Copy link

knative-prow bot commented Oct 9, 2024

@arnauvp-factorial: You can't reopen an issue/PR unless you authored it or you are a collaborator.

In response to this:

/reopen

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.
Projects
None yet
Development

No branches or pull requests

3 participants