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

Validate Configurator with Flux Controller for GitOps workflows #18

Open
gopaddle-io opened this issue Aug 10, 2021 · 1 comment
Open

Comments

@gopaddle-io
Copy link
Owner

gopaddle-io commented Aug 10, 2021

Is your feature request related to a problem? Please describe.
None

Describe the solution you'd like
Flux is a tool used in automating GitOps based CI/CD. Flux watches for changes in GitHub branch and pulls the changes in to the Kubernetes environment. We need to validate whether Configurator works seamlessly with Flux in a GitOps workflow.
Scenarios to validate:

  1. Install Flux controller in the cluster
  2. Create YAML specifications to create two ConfigMap and reference/mount the ConfigMaps in a deployment
  3. Checkin deployment and configmap YAMLs to git and automate the GitOps workflow
  4. Install Configurator in the cluster
  5. Configurator should initialise all the ConfigMaps and create CustomConfigMap (CCM) revisions for both the ConfigMaps, as soon as the Configurator controller is installed. Execute the command kubectl get ccm to list all the CCM revisions
  6. Modify the Contents of both the ConfigMap YAML files and checkin the YAML file to Git
  7. Flux pulls the new ConfigMap changes to the cluster
  8. Configurator must have created a new CCM revision for both the ConfigMaps, reflecting the ConfigMap updates. Execute the command kubectl get ccm to list the new CCM revisions.
  9. Remove the first ConfigMap mount in the deployment YAML and checkin in the YAML to Git
  10. Flux recognises the change in the mount and updates the cluster.
  11. Wait for 15 minutes and check the CCM revisions in the cluster using kubectl get ccm. Except for the latest version, the rest of the CCM versions for the first ConfigMap should be removed. There should be two revisions for the second configmap.
  12. Remove the deployment YAML file from the Git repo
  13. Flux recognises the removal of the deployment and update the cluster
  14. Wait for 15 minutes and check the CCM revisions in the cluster using kubectl get ccm. Except for the latest version, the rest of the CCM versions for both the ConfigMaps should be removed.

Describe alternatives you've considered
None

Additional context
None

@gopaddle-io gopaddle-io changed the title Integrate with Flux Need Configurator Flux Controller for GitOps workflows Aug 10, 2021
@gopaddle-io gopaddle-io changed the title Need Configurator Flux Controller for GitOps workflows Validate Configurator with Flux Controller for GitOps workflows Feb 25, 2022
@gopaddle-io
Copy link
Owner Author

Please send pull requests to SODACODE-2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant