Be Able To Define GitLab Agent And Flux Resource From gitlab-ci.yml.
Proposal
We should be able to define the GitLab Agent and Flux resource, gitlab-ci.yml, like we already can with kubernetes environments.
For example, I would like to turn this:
deploy:
stage: deploy
script: make deploy-app
environment:
name: production
kubernetes:
namespace: production
Into something like this:
deploy:
stage: deploy
script: make deploy-app
environment:
name: production
kubernetes:
namespace: production
gitlab_agent:
flux_resource:
This would mirror what can already be defined on the Environments page in the UI