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

Ensure that Sources section works with Flux 2.0-RCx #2940

Closed
4 tasks done
yiannistri opened this issue Jun 12, 2023 · 6 comments
Closed
4 tasks done

Ensure that Sources section works with Flux 2.0-RCx #2940

yiannistri opened this issue Jun 12, 2023 · 6 comments

Comments

@yiannistri
Copy link
Collaborator

yiannistri commented Jun 12, 2023

Part of #2710

Environment to use: https://fluxga.eng-sandbox.weave.works/
Installed Flux version: v2.0.0-rc.5
Git repository for cluster: https://github.com/weaveworks/clusters-config/tree/cluster-fluxga
How to get hold of the kubeconfig: https://github.com/weaveworks/clusters-config/blob/main/docs/cluster.md#get-kubeconfig-file
How to access the UI: https://github.com/weaveworks/clusters-config/blob/main/docs/cluster.md#accessing-ui

  • Add a new GitRepository v1 object via GitOps (via pushing to the repo) and ensure that it is shown in the UI.
  • Add a new GitRepository v1beta2 object via GitOps (via pushing to the repo) and ensure that it is shown in the UI.
  • Ensure that Sync/Sync Without Source/Suspend/Resume buttons are working as expected for the GitRepository objects that were added previously. The status column should reflect the action taken.
  • Ensure that the details shown for each GitRepository object are correct (i.e. that the all the expected Kustomizations objects that exist in the Git repo are shown here)
@opudrovs
Copy link
Contributor

opudrovs commented Jun 16, 2023

The GitRepository objects and Kustomization objects which reference GitRepository objects, created above, are created successfully.

Created GitRepository objects:

Screenshot 2023-06-16 at 16 06 31

Object podinfo-testfluxga-v1:

Screenshot 2023-06-16 at 16 06 58 Screenshot 2023-06-16 at 16 07 24

Object podinfo-testfluxga-v1beta2:

Screenshot 2023-06-16 at 16 07 08 Screenshot 2023-06-16 at 16 07 35

Created Kustomization objects:

Screenshot 2023-06-16 at 16 07 54 Screenshot 2023-06-16 at 16 08 04

@opudrovs
Copy link
Contributor

The Sync (and Sync with Source for Kustomizations) + Suspend buttons works as expected for all created objects.

@opudrovs
Copy link
Contributor

New object manifests were added to sources.yaml and apps.yaml at:
https://github.com/weaveworks/clusters-config/tree/cluster-fluxga/eksctl-clusters/clusters/fluxga/management

@opudrovs
Copy link
Contributor

opudrovs commented Jun 16, 2023

Known issues include:

the HPA controller was able to get the target's current scale

This error is also present in the original podinfo, as discussed with @yiannistri , because there are no resource requests specified for podinfo.

Thus, both issues are not related to the functionality tested.

@yiannistri
Copy link
Collaborator Author

Thank you @opudrovs 👍 As discussed those issues are unrelated to the functionality tested.

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

2 participants